WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Timed push to RSS/social networks? (8 posts)

  1. mpet29
    Member
    Posted 2 years ago #

    I'm using Events Manager for a baseball site, so there's a new post (event) every day. I have it set so that on the home page, the next 6 events are displaying - no problem there.

    However, the issue I'm running into is more of a workflow one. Normally, I'd write a post, and it'd get automatically published to RSS, Twitter, and Facebook. However, if I'm going to have the next 6 events displayed as a teaser, that means I need to have them all created in advance - and that means that I won't get that social promotion at the appropriate time (usually about an hour before the event).

    I suppose I could manually post to Facebook and Twitter (annoying, but feasible). But how would I make the timed push to RSS work?

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    not sure if RSS aggregators do this, but you could do it so that it publishes according to the event date or similar info in the rss feed.

    Another thing you could do is modify the RSS template so it only includes events up to a certain date (e.g. past events and events happening in e..g 1 day).

  3. mpet29
    Member
    Posted 2 years ago #

    I guess I could also have all of the events created in advance (and close the comments on them) so that they display, and then when the appropriate time comes, unpublish that event and republish a new version to fill its place. Sort of annoying, but could work.

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    I think the RSS solution would be much easier, and much less prone to blow up :)

  5. debsch
    Member
    Posted 2 years ago #

    I had a similar problem... RSS not going out because events PUBDATE was old even though the event was in the future, and I still wanted people to know about it.

    Solved it by fiddling with the RSS PUBDATE

    <?php
    		$timestamp = time();
    		$rsstime = strtotime("-2 hours", $timestamp);
    		?>
    	<pubDate><?php echo date('r',$rsstime); ?></pubDate>

    Has been working for me so far.

    PS - please mark your post as RESOLVED if it is. This helps other out there in the same boat as you.

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    this wouldn't fix the problem. there's an action that already updates this on an event save.

  7. mpet29
    Member
    Posted 2 years ago #

    Marcus, how would I modify RSS to do that?

    What I'm doing is creating a bunch of events far in advance. When the proper event is active each day, I make it 'sticky' to appear on the home page and then click the checkbox on WP->Twitter to tweet it out.

    Ideally, I'd like to have something similar with RSS, where I could choose to send out when I make the event 'active' (i.e., sticky). That'd help me both get the post out at the proper time AND not accidentally send out future events which aren't ready (if I were to make all of the Events appear in the main RSS feed, which I haven't.)

    Is that possible at all, or something like it?

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    Not sure you can do this without hacking on a per-event basis. I got confused by the pubdate snippet above as that's for the whole feed, not one item.

    Your best bet would be to use ical rather than RSS if any feed readers support that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic