« [Plugin] No Print for Guests
Plugin Request - RSS Feed Poster

madfitz

  • Elite Class Non Coder
  • Posts: 97
Plugin Request - RSS Feed Poster
« on October 20th, 2014, 02:35 PM »
Any of the clever coding breed able to put together a feed poster? It doesn't have to do anything too fancy; just take a feed URL and post the latest item as a new topic in a forum of the admin's choice.

Anyone able to do that? :)

CerealGuy

  • Posts: 336
Re: Plugin Request - RSS Feed Poster
« Reply #1, on October 21st, 2014, 02:12 PM »Last edited on October 21st, 2014, 04:42 PM
Should be possible, only thing is how to do the grabbing.
Best way would be via cronjob, but thats not always possible.
Another way would be via scheduled tasks. Didnt look at it yet but i could imagine that if the page isnt visited for some time, those scheduled tasks wouldnt get run and we would miss some news.
Perhaps implement both?!

madfitz

  • Elite Class Non Coder
  • Posts: 97
Re: Plugin Request - RSS Feed Poster
« Reply #2, on October 21st, 2014, 06:01 PM »
I'm not skilled enough for this type of thing but other software I have used tend to have scheduled tasks to pull the last 'x' items (admin configured). I have seen some that are not always reliable, failing to pull anything at all, pulling more than the configured number or pulling the same articles again and again (and creating repeat topics each time).

cron job or task... I have no idea which would be more reliable.