RSS Update Macro for Quartz Composer
The RSS feed functionality of apple’s Quartz Composer development tool has a lot of potential for creating dynamically generated information, but it leaves a little to be desired if you have data that is updating quickly. Quartz Composer’s RSS patch uses Safari’s RSS feed functions, which only get refreshed at a minimum of every 30 minutes. I’ve created a Custom Macro Patch that is similar to the standard Quartz Composer RSS Feed, but adds a “Duration” input that causes the RSS Feed to refresh after the specified time.
I threw it together for an information display that needed to be updated quickly at an event. The safari update times were too long, but I noticed that If I specified a new URL for the RSS Feed module it would initiate a new download of the information. So all I needed a way to change the URL string without really changing where the RSS Feed was pointing.
So what I hacked together was a function that adds a nonsense GET variable onto the URL string called “qcfoo”, and set it as the value of a counter. Every web server that I’ve tried it on so far will just ignore the GET variable when it receives the request, but when the counter changes, the RSS Feed is refreshed in Quartz Composer.
For example, when you feed in
the URL string input for the RSS Feed patch really is “http://www.apple.com/main/rss/hotnews/hotnews.rss?qcfoo=1″, then
Not very pretty, but it works. I’m open to improvements.
Note: You may need to “Right-Click, Save As” to download.