I need to grab an RSS feeds of events by given venue. I figured that venue is a meta value, stored in the _EventVenueID key. I tried:
?feed=rss&meta_value=_EventVenueID&meta_key=20
Unfortunately, doesn’t work. Shows all events. I don’t want to write a feed generator from scratch, is there any way to get the RSS for venue?
Hi Paul, I think the way I would approach this is to filter the RSS query appropriately, if you’re down to take that approach. You might find a few examples of this on the forum however it would be a customization you’d really have to work through on your own.
Thanks Barry. If you mean apply_filters, I’m willing to try that, but the issue is that the feed url needs to be generated using a form where users select categories, authors and venues. The filter form needs to generate completely different feeds for different clients, so nothing can be hard-coded and it’s best if all filters are in the url.
I’ll search the forum for apply_filters. Thank you!
OK, so there are quite a few factors in there 🙂
But so long as the various options are available to your hook (in the form of URL query parameters) it should all be possible, it’s just a little out of scope for us to work through here.