It came up that it would be cool if it was possible to get news from other sites' rss feeds. So i started a php script that would do just that.
I call it "Feed Eater". Mmmm
What it does is you let it know what feeds you want to stream news from (has to be done manually within the script atm) and some information about those feeds like the name of the site its from and the index url of that site.
After that it goes through all the xml of those feeds and parses for "item" xml tags. When it finds one it gets the "title", "link"/"guid", and "pubDate" from that "item" and stores it into an array and then sorts that array descending by date.
You give it a number of how many previous days of news you want it to display, and it groups all the news for each day and displays them. You can see it implemented over to the left in our side bar and on Game Builder's website, for whom i started writing the script for.
It's a WIP but its pretty straight forward. Hope to have a download up soon on the downloads page.
Heres the Project Page in the mean time
|