• Resolved jpm

    (@jpm)


    Hi,
    I’m using feedread on a non WP page to grab RSS from a WP site on the same server. The script works great, except when posts are tagged with multiple categories. When a post is tagged with multiple categories, I can’t seem to retrive it. So, for instance if a post is tagged with only “News” and the $filterCat variable is set to “News” then the function works fine. If the Post is tagged “News” and “Events” and the variable is set to “News” again then I get nothing. Any help would be appreciated!
    Thanks,
    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • A suggestion: the filtering thing was really meant for alternate RSS feeds and systems that only feed one thing out. With newer WP, you can have a category-feed per category (and other filters). If you check around here, someone has certainly noted the appropriate URL construction.

    Otherwise, if that doesn’t solve your issue (older WP or something), drop me a line at some point at cgcode at chait dot net as a reminder (and with the feed link) and I can try to look into it in the next week.

    But seriously, using a feed URL that goes directly to a category filtered feed is the best approach…

    -d

    Thread Starter jpm

    (@jpm)

    Thanks so much. I retrived particlar feed using a URL like this:
    http://mydomain/wordpress/wp-rss2.php?cat=7

    Great — I figured that was the best solution. 😉

    -d

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CG-Feedread posts with multiple tags’ is closed to new replies.