RE: XML parsing and map:handle-errors

2006-01-14 Thread Ard Schrijvers
Yes, these are hard problems. Even harder the problem is, when the result is not invalid, but simply the connection to the rss fails Anyway, the way I solved it, was reading the RSS feeds from filesystem. This always works. Do a cron job, which fetches your RSS for every 5 minutes for

Re: XML parsing and map:handle-errors

2006-01-14 Thread Geert Josten
Perhaps use the HTMLGenerator on the RSS feeds? You could also call your RSS reading pipes through the http stack and read that result, but I guess that makes the application quite slower. Cheers, Geert Alexander Nofftz wrote: Hi! I use the portal engine to aggregate some RSS feeds. If

RE: XML parsing and map:handle-errors

2006-01-14 Thread Ard Schrijvers
Perhaps use the HTMLGenerator on the RSS feeds? Remains the problem that when remote rss the connection is not available, your page will either take minutes or don't show up at all. Just write the rss to filesystem when valid xml You could also call your RSS reading pipes through the

XML parsing and map:handle-errors

2006-01-13 Thread Alexander Nofftz
Hi! I use the portal engine to aggregate some RSS feeds. If some newsfeed returns invalid XML, the whole portal isn't running anymore. Some newsfeed returned incorrectly some HTML 404 page containing a PUBLIC DOCTYPE without DTD reference. This breaks up everything. I tried to catch this via