chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] patch to rss egg to "handle" xml:base attribute


From: Felix
Subject: Re: [Chicken-users] patch to rss egg to "handle" xml:base attribute
Date: Mon, 29 Jul 2013 11:09:08 +0200 (CEST)

From: Hugo Arregui <address@hidden>
Subject: [Chicken-users] patch to rss egg to "handle" xml:base attribute
Date: Sat, 20 Jul 2013 01:19:47 -0300

> Hi,
> 
> I found a little problem trying to read a feed using rss egg:
> 
> (use rss http-client)
> (call-with-input-request "http://lambda-the-ultimate.org/rss.xml"; #f
> (lambda (port)
> 
> (rss:read port)))
> 
> $ csi -s test.scm
> Error: (match) no matching pattern
> 
> Playing with the code a little I found the problem: the rss tag
> contains a xml:base attribute, and the egg only support the version
> attribute. The "xml:base" apparently is a gray area on the
> specification, so I'm not sure if you want to support it. I choose an
> intermediate solution, I added an slot in the rss:feed register named
> "base-uri" and I set it only if the xml:base attribute appears.
> I'm sending the patch attached in case it could be useful for someone.

Thanks, Hugo!

I have applied the patch and tagged version 1.6. Could you document
the new exports in the rss documentation at

  http://wiki.call-cc.org/eggref/4/rss

? That would be great.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]