[mythtv] MythNews can't follow HTTP redirects

Matt Zimmerman mdz at debian.org
Mon Dec 22 00:06:53 EST 2003


I just put together a Debian package for MythNews, and in the process of
testing it, I discovered that it cannot handle HTTP redirects.  I selected
Linux Weekly News, and it failed to parse the result, because it looked like
this:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://lwn.net/headlines/rss">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.27 Server at linuxweek.net Port 80</ADDRESS>
</BODY></HTML>

The quick fix of course would be to update the URL to the RSS documented,
but in general it should be able to handle this.

-- 
 - mdz


More information about the mythtv-dev mailing list