Re: Parsing an XML Feed

2006-08-31 Thread Rob Wilkerson
Sure. Can you be more specific about your questions? Do you want to know *why* I'm doing something or *what* I'm doing? Do you want a larger snippet, etc.? On 8/31/06, Nick Cappadona <[EMAIL PROTECTED]> wrote: > Hi Rob, > > Do you care to elaborate on that snippet for those of us (possibly only

Re: Parsing an XML Feed

2006-08-31 Thread Nick Cappadona
Hi Rob, Do you care to elaborate on that snippet for those of us (possibly only me?) who might be new to the game? I'm just not sure I'm reading between the lines correctly. Thanks, - Nick ~| Introducing the Fusion Authority

Re: Parsing an XML Feed

2006-08-24 Thread Rob Wilkerson
ge will not load, I am not getting any error, the page is > redirecting back to the login screen? > > Could it be to do with the cfcache not liking the session variables?? > > -Original Message- > From: Rob Wilkerson [mailto:[EMAIL PROTECTED] > Sent: 23 August 2006 17:2

Re: Parsing an XML Feed

2006-08-24 Thread Rob Wilkerson
l not load, I am not getting any error, the page is > redirecting back to the login screen? > > Could it be to do with the cfcache not liking the session variables?? > > -Original Message----- > From: Rob Wilkerson [mailto:[EMAIL PROTECTED] > Sent: 23 August 2006 17:23 > To

RE: Parsing an XML Feed

2006-08-24 Thread Ian Vaughan
the login screen? Could it be to do with the cfcache not liking the session variables?? -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 17:23 To: CF-Talk Subject: Re: Parsing an XML Feed Yep. Both work just fine for me. One other thing to look for

Re: Parsing an XML Feed

2006-08-23 Thread Rob Wilkerson
> > > > -Original Message- > From: Rob Wilkerson [mailto:[EMAIL PROTECTED] > Sent: 22 August 2006 17:03 > To: CF-Talk > Subject: Re: Parsing an XML Feed > > Well, I couldn't see anything wrong so I decided to check it out myself > and it works just fine for

RE: Parsing an XML Feed

2006-08-23 Thread Ian Vaughan
- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: 22 August 2006 17:03 To: CF-Talk Subject: Re: Parsing an XML Feed Well, I couldn't see anything wrong so I decided to check it out myself and it works just fine for me. I had to remove your proxy info, of course, but the following

Re: Parsing an XML Feed

2006-08-22 Thread Rob Wilkerson
Well, I couldn't see anything wrong so I decided to check it out myself and it works just fine for me. I had to remove your proxy info, of course, but the following works just fine: http://www.easycfm.com/syndication/mostviewed.cfm"; method="GET" timeout="15" resolveurl="yes">

RE: Parsing an XML Feed

2006-08-22 Thread Ian Vaughan
Changed what you suggested below, but still getting the same error? An error occured while Parsing an XML document. White spaces are required between publicId and systemId. URLToPull = "http://www.easycfm.com/syndication/mostviewed.cfm";; http://www.easycfm.com/syndication/mostviewed.cfm"

Re: Parsing an XML Feed

2006-08-22 Thread Rob Wilkerson
> > #XMLContent.rss.channel.title.xmlText# > #XMLContent.rss.channel.description.xmlText# > > > index="idx"> > > > href="#XMLContent.rss.channel.item[idx].link.xmlText#">#XMLContent.rss.c > hannel.item[idx].title.xmlText# > > #Para

RE: Parsing an XML Feed

2006-08-22 Thread Everett, Al \(NIH/NIGMS\) [C]
-Original Message- How would I write the file to my filesystem, could you explain please. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers,

RE: Parsing an XML Feed

2006-08-22 Thread Ian Vaughan
Dave How would I write the file to my filesystem, could you explain please. Also are there any tests to find out if I can perform name resolution? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 22 August 2006 14:52 To: CF-Talk Subject: RE: Parsing an XML Feed >

RE: Parsing an XML Feed

2006-08-22 Thread Dave Watts
> I have tried your suggestion but am still getting the error > which is shown below. Could it be a setting on the CF 7.0 > server that is causing this? Probably not - that is, there's no CF-specific settings required for this. You could, of course, have some completely unrelated problem, such

RE: Parsing an XML Feed

2006-08-22 Thread Ian Vaughan
Hi I have tried your suggestion but am still getting the error which is shown below. Could it be a setting on the CF 7.0 server that is causing this? -- An error occured while Parsing an XML document. White spaces are required between publicId and systemId. The error occurre

RE: Parsing an XML Feed

2006-08-22 Thread Ian Vaughan
lText# -----Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: 22 August 2006 13:05 To: CF-Talk Subject: Re: Parsing an XML Feed Ian, I've seen feeds that contain non-printing characters that can throw off the XML parsing. For the sake of investigation, try add

Re: Parsing an XML Feed

2006-08-22 Thread Rob Wilkerson
Ian, I've seen feeds that contain non-printing characters that can throw off the XML parsing. For the sake of investigation, try adding this line before you try to parse the XML: This will remove all non-ascii characters from your feed. Not a good thing for general purposes, but it might help

Re: Parsing an XML Feed

2006-08-22 Thread James Holmes
No, something else is going on at your end. CF has no problem parsing valid XML and consuming rss feeds. To prove it: http://www.bifrost.com.au/rssfeed.cfm uses the exact code you first posted, on a CF7 server. On 8/22/06, Ian Vaughan <[EMAIL PROTECTED]> wrote: > I have tried adding resolveurl

RE: Parsing an XML Feed

2006-08-22 Thread Ian Vaughan
I have tried adding resolveurl = "yes" but the error message stays the same ? I have also tried different rss feeds from other websites and am getting the same error. Perhaps Coldfusion MX 7 cannot consume rss feeds so they can display on your website, could it be a limitation of Coldfusion? If t

Re: Parsing an XML Feed

2006-08-21 Thread James Holmes
Perhaps it's the stylesheet? Try using resolveurl = "yes" in your CFHTTP tag. On 8/21/06, Ian Vaughan <[EMAIL PROTECTED]> wrote: > I am now getting another xml error after getting rid of the last message > when trying to consume an rss feed. > > The new error is > > An error occured while Parsi

RE: Parsing an XML Feed

2006-08-21 Thread Ian Vaughan
I am now getting another xml error after getting rid of the last message when trying to consume an rss feed. The new error is An error occured while Parsing an XML document. White spaces are required between publicId and systemId. The error occurred in F:\xmlrss.cfm: line 16 14 : 15 :

Re: Parsing an XML Feed

2006-08-21 Thread James Holmes
> > > > I am getting a 'Connection Failure' ? ?? > > > > -Original Message- > From: James Holmes [mailto:[EMAIL PROTECTED] > Sent: 21 August 2006 11:12 > To: CF-Talk > Subject: Re: Parsing an XML Feed > > Yes, I suspect something is inse

RE: Parsing an XML Feed

2006-08-21 Thread Ian Vaughan
When trying a I am getting a 'Connection Failure' ? ?? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 21 August 2006 11:12 To: CF-Talk Subject: Re: Parsing an XML Feed Yes, I suspect something is inserting characters somewhere. Dump the CFHTTP r

Re: Parsing an XML Feed

2006-08-21 Thread James Holmes
lto:[EMAIL PROTECTED] > Sent: 21 August 2006 10:41 > To: CF-Talk > Subject: RE: Parsing an XML Feed > > Where is the comment in the feed, what do I need to parse out? > > -Original Message- > From: James Holmes [mailto:[EMAIL PROTECTED] > Sent: 21 August 2006 10:1

Re: Parsing an XML Feed

2006-08-21 Thread James Holmes
Yes, I suspect something is inserting characters somewhere. Dump the CFHTTP result to a file and examine it. On 8/21/06, Ian Vaughan <[EMAIL PROTECTED]> wrote: > I am still getting the error, and have changed the feed to a feed from > the bbc website. > > An error occured while Parsing an XML docu

RE: Parsing an XML Feed

2006-08-21 Thread Ian Vaughan
PROTECTED] Sent: 21 August 2006 10:57 To: CF-Talk Subject: RE: Parsing an XML Feed Both those questions were already answered in the previous post. >Where is the comment in the feed The feed has a comment before the XML declaration >what do I need to parse out You can parse out the comme

RE: Parsing an XML Feed

2006-08-21 Thread Snake
han [mailto:[EMAIL PROTECTED] Sent: 21 August 2006 10:41 To: CF-Talk Subject: RE: Parsing an XML Feed Where is the comment in the feed, what do I need to parse out? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 21 August 2006 10:19 To: CF-Talk Subject: Re: Parsing

RE: Parsing an XML Feed

2006-08-21 Thread Ian Vaughan
Where is the comment in the feed, what do I need to parse out? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 21 August 2006 10:19 To: CF-Talk Subject: Re: Parsing an XML Feed The feed has a comment before the XML declaration, so it's not valid XML. You can

Re: Parsing an XML Feed

2006-08-21 Thread James Holmes
The feed has a comment before the XML declaration, so it's not valid XML. You can parse out the comment lines and use what's left as XML. On 8/21/06, Ian Vaughan <[EMAIL PROTECTED]> wrote: > When trying to display an RSS feed I am getting the following error > > An error occured while Parsing an X

Parsing an XML Feed

2006-08-21 Thread Ian Vaughan
When trying to display an RSS feed I am getting the following error An error occured while Parsing an XML document. Content is not allowed in prolog. I am using CFMX 7 enterprise, any ideas on what is causing this error? code- URLToPull = "http://www.easycfm.com/s