RSS of events by venue

Home Forums Calendar Products Events Calendar PRO RSS of events by venue

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #32274
    Paul
    Participant

    Hello,

    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?

    #32300
    Barry
    Member

    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.

    #32402
    Paul
    Participant

    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!

    #32415
    Barry
    Member

    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.

    #32711
    Paul
    Participant

    Thank you, Barry! This seems to work, mostly:
    $feedurl = site_url().”?feed=rss&tribeEventsVenue=”.$venue.”&author=”.$author.”&s=”.$s.”&post_type=tribe_events”;

    #32727
    Barry
    Member

    Good to hear you’re on track 🙂

    #978619
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘RSS of events by venue’ is closed to new replies.