Re: RSS feed with a node like this itms:artist
>I'll give that a try and play with it. At least it's just an >implementation thing, I can get by that with some elbow grease. Are you using RSS from the Now Playing iTunes plugin? (I'm guess since that's the only place I've see this format). If so, email me off list and I'll send you the sidebar module that I have for BlogFusion that reads and displays the NP RSS. [EMAIL PROTECTED] Jake ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188101 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: RSS feed with a node like this itms:artist
I'll give that a try and play with it. At least it's just an implementation thing, I can get by that with some elbow grease. :) Thanks! On Fri, 17 Dec 2004 07:46:12 -, Nick de Voil <[EMAIL PROTECTED]> wrote: > John > > > For the most part it validates. The lines that don't pass muster are > > date elements. > > > > Here's the link in case anyone wants to take a look. Thanks a lot. > > > > > http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wpa/MRSS/topsongs/sf=143441/limit=15/rss.xml?partnerId=30&LS_PARAM=http%3A%2F%2Fclick.linksynergy.com%2Ffs-bin%2Fstat%3Fid%3DnmYGzu6hxgs%26offerid%3D78941%26type%3D3%26subid%3D0%26tmpid%3D1826%26RD_PARM1%3D > > There's not much wrong with that. I did an xmlParse() and CFDUMP of it > without any problems. I guess you just need to tweak the way your CF code > accesses the struct elements representing the XML nodes which have a colon > in their name. By using square brackets rather than dots, maybe? > > Nick > > ~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187994 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: RSS feed with a node like this itms:artist
John > For the most part it validates. The lines that don't pass muster are > date elements. > > Here's the link in case anyone wants to take a look. Thanks a lot. > > http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wpa/MRSS/topsongs/sf=143441/limit=15/rss.xml?partnerId=30&LS_PARAM=http%3A%2F%2Fclick.linksynergy.com%2Ffs-bin%2Fstat%3Fid%3DnmYGzu6hxgs%26offerid%3D78941%26type%3D3%26subid%3D0%26tmpid%3D1826%26RD_PARM1%3D There's not much wrong with that. I did an xmlParse() and CFDUMP of it without any problems. I guess you just need to tweak the way your CF code accesses the struct elements representing the XML nodes which have a colon in their name. By using square brackets rather than dots, maybe? Nick ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187973 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: RSS feed with a node like this itms:artist
For the most part it validates. The lines that don't pass muster are date elements. Here's the link in case anyone wants to take a look. Thanks a lot. http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wpa/MRSS/topsongs/sf=143441/limit=15/rss.xml?partnerId=30&LS_PARAM=http%3A%2F%2Fclick.linksynergy.com%2Ffs-bin%2Fstat%3Fid%3DnmYGzu6hxgs%26offerid%3D78941%26type%3D3%26subid%3D0%26tmpid%3D1826%26RD_PARM1%3D On Thu, 16 Dec 2004 16:04:21 -0500, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > see if the RSS validates at > > http://feedvalidator.org/ > > Doug > > > On Thu, 16 Dec 2004 09:49:55 -0800, John Wilker <[EMAIL PROTECTED]> wrote: > > I'll have to look into that. My knowledge of RSS is pretty low level > > at this point. I've never dealt with RSS that looks like this before. > > > > Back to google for info on RSS/namespace > > > > Thanks > > > > > > On Thu, 16 Dec 2004 17:20:02 -, Nick de Voil <[EMAIL PROTECTED]> wrote: > > > > I'm trying to parse an RSS feed and I'm at a loss as to what to do > > > > with data in this format. > > > > > > > > CF pukes when it hits the colon > > > > > > > > The name would be like rss.channel.item.itms:artist.xmltext > > > > > > Is the namespace for itms defined in the document's root element? > > > > > > Like for example > > > > > > > > xmlns:itms="http" > > > > > > > > > > It may be that the RSS is broken & you need to modify it (insert the > > > namespace in the right place) before parsing it. > > > > > > Nick > > > > > > > > > > > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187966 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: RSS feed with a node like this itms:artist
see if the RSS validates at http://feedvalidator.org/ Doug On Thu, 16 Dec 2004 09:49:55 -0800, John Wilker <[EMAIL PROTECTED]> wrote: > I'll have to look into that. My knowledge of RSS is pretty low level > at this point. I've never dealt with RSS that looks like this before. > > Back to google for info on RSS/namespace > > Thanks > > > On Thu, 16 Dec 2004 17:20:02 -, Nick de Voil <[EMAIL PROTECTED]> wrote: > > > I'm trying to parse an RSS feed and I'm at a loss as to what to do > > > with data in this format. > > > > > > CF pukes when it hits the colon > > > > > > The name would be like rss.channel.item.itms:artist.xmltext > > > > Is the namespace for itms defined in the document's root element? > > > > Like for example > > > > > xmlns:itms="http" > > > > > > > It may be that the RSS is broken & you need to modify it (insert the > > namespace in the right place) before parsing it. > > > > Nick > > > > > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187945 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: RSS feed with a node like this itms:artist
I'll have to look into that. My knowledge of RSS is pretty low level at this point. I've never dealt with RSS that looks like this before. Back to google for info on RSS/namespace Thanks On Thu, 16 Dec 2004 17:20:02 -, Nick de Voil <[EMAIL PROTECTED]> wrote: > > I'm trying to parse an RSS feed and I'm at a loss as to what to do > > with data in this format. > > > > CF pukes when it hits the colon > > > > The name would be like rss.channel.item.itms:artist.xmltext > > Is the namespace for itms defined in the document's root element? > > Like for example > > xmlns:itms="http" > > > > It may be that the RSS is broken & you need to modify it (insert the > namespace in the right place) before parsing it. > > Nick > > ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187921 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: RSS feed with a node like this itms:artist
> I'm trying to parse an RSS feed and I'm at a loss as to what to do > with data in this format. > > CF pukes when it hits the colon > > The name would be like rss.channel.item.itms:artist.xmltext Is the namespace for itms defined in the document's root element? Like for example It may be that the RSS is broken & you need to modify it (insert the namespace in the right place) before parsing it. Nick ~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187913 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54