WordPress.org

Ready to get started?Download WordPress

Forums

RSS feeds in sidebar - how to update content? (6 posts)

  1. CalumCarlyle
    Member
    Posted 6 years ago #

    I've done a decent amount of googling and seacrhing on this site, and haven't found the answer so please be patient.

    You know those RSS sections that you can have in your sidebar? The ones that pull in content from external RSS feeds? How do you make them update? The content has stayed the same since i added them. Here's the site in question: http://www.heated-debates.com/

    Now i have installed a plugin/widget called GS cron and it looks like a nice interface for wp-cron so i should have no problems setting up a wp-cron job if i can just find out what to make it run. eg: is there an existing php file i can make it run which will update the external content? in my opinion there should be one, or the RSS feed sections are pretty worthless, and yet i can't find any actual information about this, most stuff about RSS in wordpress is about how to make an rs feed of your own content.

    Thanks in advance, i appreciate any answers that may be forthcoming.

  2. Adam Brown
    Member
    Posted 6 years ago #

    I've written an RSS plugin similar to the that comes with wordpress. One difference is that it gives you an option to force cache flushing. Maybe it will solve this for you:

    http://wordpress.org/extend/plugins/kb-advanced-rss-widget/

  3. CalumCarlyle
    Member
    Posted 6 years ago #

    this looks like it might fit the bill perfectly. thank you very much. it seems very silly that the normal rss applets don't have one or two more options as it is.

    hopefully that'll sort it out, thanks.

  4. CalumCarlyle
    Member
    Posted 6 years ago #

    hi again adam,

    it doesn't apparently update the feeds itself. i've changed "false" to "true" as your instructions say, i am sure i am missing something simple. any idea what it is?

  5. Adam Brown
    Member
    Posted 6 years ago #

    Even with the force cache option set, it will wait 1 hour before flushing, if I remember right. I wrote that code quite a while ago. If you want it more frequent, search for 3600 in the code (the number of seconds in an hour) and decrease it.

  6. CalumCarlyle
    Member
    Posted 6 years ago #

    thanks again, i'll revisit it tomorrow and see which should give it plenty of time.

Topic Closed

This topic has been closed to new replies.

About this Topic