| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I've created a Custom Macro Patch that is similar to the 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 "temp", 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 "http://www.apple.com/main/rss/hotnews/hotnews.rss", the URL string input for the RSS Feed patch really is "http://www.apple.com/main/rss/hotnews/hotnews.rss?temp=1", then "http://www.apple.com/main/rss/hotnews/hotnews.rss?temp=2", then "http://www.apple.com/main/rss/hotnews/hotnews.rss?temp=3", etc. Not very pretty, but it works. I'm open to improvements. -- Eric J. Klooster (ejk):: Software Engineer ericklooster <at> gmail.com :: http://ejk.pointclark.net
Attachment:
RSS Feed Updater Macro.qtz
Description: Binary data
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.