As I said, your solution seems to work perfectly for all the feeds that
were causing problems. Some have comments at the top, some at the bottom.
In one case I couldn't see any comments at all but it seems to work anyway.

I will post a bug report about this as suggested, it seems to me like
CFFeed could just strip out any comments before parsing the feed.

Thanks again for your help with this.


On 6 August 2013 13:05, Raymond Camden <[email protected]> wrote:

>
> What's fascinating is that as far as I can see, the second URL doesn't have
> a comment. Just saving it locally works. I bet the same works for the first
> URL too. To be clear, I was able to parse the XML just fine with cfhttp, so
> it is valid XML. If you want to work with that and not the cffeed result,
> you can skip the file save.
>
>
> On Tue, Aug 6, 2013 at 7:02 AM, Raymond Camden <[email protected]
> >wrote:
>
> > You may want to file a bug report for this too. Although the first feed
> > URL fails to validate here http://validator.w3.org/feed/.
> >
> >
> > On Tue, Aug 6, 2013 at 6:59 AM, Raymond Camden <[email protected]
> >wrote:
> >
> >> Another option is to remove the comment from the source XML.
> >> Unfortunately, cffeed doesn't let you source via a string, so you have
> to
> >> save it still.
> >>
> >> <cfset u = "
> >> http://www.computerweekly.com/rss/All-Computer-Weekly-content.xml";>
> >>
> >>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to