Support » Plugins and Hacks » Freshness


Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ian Dunn


    It only updates when someone is actually viewing the page. We may add a cron job in the future to constantly update, but I can’t say when that will happen.

    In the mean time, you could setup a cron job to make a wp_remote_get() request to the page, or just leave a browser tab open on it.

    You’re the man. Thanks!

    You know what would be sweet, I don’t know if it’s possible, but if the plugin would display a loading message and fetch the newest tweets as soon as a user opens the page–that seems a little better than cron to me, but you’re a lot better at this than I am and I’m really just impressed the thing works as great as it does.

    Plugin Author Ian Dunn


    Huh, you’re right. I should have put that in there from the beginning. I’ll add it to the short list. Thanks for the suggestion 🙂

    Hello agian. I’ve been trying to implement a solution for keeping things auto-updating using wp_cron via a cron manager plugin, no luck, and also in the way explained in this tutorial: http://imtheirwebguy.com/creating-an-autonomous-service-for-your-wordpress-plugin-using-wp-cron/ – no luck there either. Essentially I can’t get wp_remote_get() to trigger the page refreshing even if I can get it successfully loaded in wp_cron. Also I’ve tried regular cron using curl and wget, no such luck there either.

    So I was curious if there were any updates or if anyone has been able get it working via wp_remote_get or curl? I could really use a verbose code example if one is available.

    $20 donation if I can get this thing figured out. 🙂 -I’ll probably donate either way eventually as it’s an awesome plugin, but I thought I’d try my luck with a bribe. Thanks!

    Plugin Author Ian Dunn


    Doh, it just occurred to me that a request from a cron job won’t trigger the JavaScript events to refresh the items.

    So, what you’d want to do is have a WP_Cron job call Tagregator::get_instance()->modules['TGGRShortcodeTagregator']->render_latest_media_items();

    BTW: It also will update immediately when a user visits the page now, rather than waiting 30 seconds.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Freshness’ is closed to new replies.