2011-12-13
2011-12-13
Zero Percent Game Dev - I like my job.
But I was on a roll.
So I taught myself enough of PHP's DOM to load an rss xml, add a new item with children elements and attributes, add back in only the old elements that are less than a week old, and write this output to a file. This is very exciting! I am going to use this technology to update the RSS feed tonight, and tomorrow I'll build myself a little form that will call the updater function and also deposit that data into the table as well. Oh, and I'll need to run something to extract all the old newsposts and stick 'em into the database. And then rewrite the Walrus code to populate the site with sql data instead of from folder reads or whatever it's doing now, but this should be easy with my new understanding of the DOM.