Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quartz Composition retrieve XML file



It turns out that this doesn't work very well because it assumes the semantics of RSS. That is, it only imports each RSS item once and ignores all changes, or if I change the item ID so that changed data looks like new RSS items, it creates an ever expanding list of RSS items as it appends the new items to the list. It also ignores XML data in the "description" of the item, and ignores the data if it's added into the item as a separate element; I can work around that limitation by formatting the data as plain text (very 70's) and parsing it, but I can't find a way to work around the problem with it keeping old items around.

So if I could put in a request, it'd be nice to have a setting on the RSS module to control polling time and to allow for each update to be "whole" rather than "incremental" so that after I read an RSS document with "items" 1/2/3, then an update that contains 4/5/6, I'd want to see the output of the RSS module to be 4/5/6, not what I get currently, which is 1/2/3/4/5/6. This is a minor tweak to the RSS logic, but hard to do outside of the module.

Alternatively, I'd love to be able to do some sort of call to retrieve external data. I don't care too much whether it's an HTTP GET of an XML document, or an XML-RPC call, or a SOAP call. Heck, even an HTTP GET that returns raw text is OK. I'm not proud. :-)

- LP

On May 6, 2005, at 4:53 PM, Pierre-Olivier Latour wrote:

You could try to format your initial data like an RSS feed as much as possible instead of just wrapping it into an RSS article

Thanks, this works, though I have to "parse" the XML inside QC using string pattern matching. But now I have my data!

- LP

On May 6, 2005, at 3:16 PM, David Remahl wrote:



________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphic & Imaging Team


 _______________________________________________
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

References: 
 >Quartz Composition retrieve XML file (From: Laird Popkin <email@hidden>)
 >Re: Quartz Composition retrieve XML file (From: David Remahl <email@hidden>)
 >Re: Quartz Composition retrieve XML file (From: Laird Popkin <email@hidden>)
 >Re: Quartz Composition retrieve XML file (From: Pierre-Olivier Latour <email@hidden>)



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.