Looking for a Script Like an AutoBlogging Script

by 4 replies
5
I'm looking for a script that can read an RSS feed from another website, and then put that data into a database.

I know there are WordPress "auto-blogging" plugins that'll do this, but WordPress is overkill for this type of site and I do not want to have to worry about continually updating WordPress to do what amounts to a very simple site.

I may be able to write such a script myself, but figured I'd see if there was a pre-existing solution that would do it.

Also, it doesn't necessarily have to be an RSS file that it can read. I own both sites in question, so, on the site being read, I could put the data in a CSV, tab-delimited or other format if need be. I just thought there may already be something available for reading RSS files.
#programming #autoblogging #script
  • I would suggest you use Yahoo Pipes. You can pull pictures from flickr and add them to your content or pull contents from other sites as well. Yahoo Pipes is really cool.
  • If you know enough PHP to get a little bit dirty, I recommend any one of the pre-made PHP classes for parsing RSS feeds. It will read the file, and turn the data into a PHP array.

    Then you can loop through that to do you database queries and save the new stuff.

    Google search to get you started: php rss parse - Google Search

    The only hitch you might encounter is that most of these would require Curl to be installed on your server. (required to grab remote files) So if you get an error about that, you'll have to ask your web host nicely.

    -Ryan
    • [1] reply
    • Thanks all!

      I remembered one... SimplePie

      Started to use that on a site a while back, and forgot about it... As I recall, I think it did all that I needed it to do. Need to dig through my archives...
      • [1] reply

Next Topics on Trending Feed

  • 5

    I'm looking for a script that can read an RSS feed from another website, and then put that data into a database. I know there are WordPress "auto-blogging" plugins that'll do this, but WordPress is overkill for this type of site and I do not want to have to worry about continually updating WordPress to do what amounts to a very simple site.