On Sat, Jan 07, 2006 at 09:04:16AM +0100, Marnix Klooster wrote:
> Hi all,
> 
> No idea if this is a known issue, but I just tried out for the first 
> time the RSS feed generated by darcs.cgi on http://darcs.net, and the 
> output seems broken.  Specifically, requesting for example

Not known to me...

> ---8<------8<------8<------8<------8<------8<------8<------8<------8<---
> HTTP/1.0 200 OK
> Date: Sat, 07 Jan 2006 07:54:26 GMT
> Server: Apache/1.3.33 (Debian GNU/Linux) mod_perl/1.29 DAV/1.0.3
> Cache-Control: max-age=0, must-revalidate
> Last-Modified: Tue, 02 Nov 2004 12:16:58 GMT
> Content-Type: text/html; charset=iso-8859-1
> X-Cache: MISS from filter01.solcon.nl
> X-Cache: MISS from filter01.solcon.nl
> Connection: close
> 
> <?xml version="1.0"?>
> 
> 
> 
> <rss version="2.0"><channel><title>changes to 
> darcs</title><link>http://darcs.net/cgi-bin/darcs.cgi/darcs/.latex2html-init</link><description>
>          Recent patches applied to the darcs repository named
>          "darcs".
>        </description>
> </channel></rss>
> Posthook ran successfully.
> ---8<------8<------8<------8<------8<------8<------8<------8<------8<---
> 
> Two things seem wrong here: first the type is not application/rss+xml; 
> but more importantly the last line ("Posthook ran successfully") make it 
> invalid XML.
> 
> No idea whether this is a bug or a configuration issue.

They both sound like bugs, but I'm not sure about the former (which would
be in darcs.cgi itself).  The latter issue I'd say is definitely a bug.  We
shouldn't be printing "Posthook ran successfully" to stdout when printing
stuff to stdout.  Perhaps it should always go to stderr?
-- 
David Roundy

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to