stoyan/perfplanet — pull request #24 by bcantoni (2012-07-21 00:48:00+00:00)
Title: Add RSS feed for Perfplanet.com site

These changes restructure the build & update scripts to also create a local rss.xml file which includes everything in the data.js result set.

In summary:
* `builder.js` and `build.sh` now write the YQL request URL to a local file `yql.txt`
* `up.sh` does the YQL call, saving results in `data.json`
* `up.sh` then creates `data.js` (same format as before)
* `up.sh` finally creates RSS feed file using new script `createRss.php`
* HTML is also updated to include references to the RSS file

Seems like a lot of changes but it was the simplest way I could think of while still just making the one YQL call.

This assumes that whatever user is running `up.sh` on cron has permission to write in that directory. I suppose it's already set up that way.

This pull request also includes a commit to fix a typo in the planetarium.json file (missing comma).