Package: planet
Version: 2.0-6
Severity: normal

The RSS specification (ie. 
http://cyber.law.harvard.edu/rss/rss.html#ltguidgtSubelementOfLtitemgt ) states 
that a guid defaults to being a perma-link unless isPermaLink="false" is 
specified.

When supplied with an rss feed that contains <guid isPermaLink="false".., 
planet will output RSS which contains this (optional) guid tag, but the 
isPermaLink will have vanished.
This causes feed-readers to attempt to use the guid as a permalink, (ie. a 
valid http URI), which it is not.

Sample feed:

<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"; 
xmlns:media="http://search.yahoo.com/mrss/";>
   <channel>
      <title>Example</title>
      <link>http://example.com/</link>
      <description>foo</description>
      <item>
         <title>bar</title>
         <link>http://example.com/</link>
         <guid isPermaLink="false">Oi, planet, this isn't a URL!</guid>
         <description>blah</description>
         <pubDate>Sat, 10 May 2008 03:11:07 +0100</pubDate>
      </item>
   </channel>
</rss>


Sample output from planet (ie. rss20.xml):

[...]
    <title>baz: bar</title>
    <guid>Oi, planet, this isn't a URL!</guid>
    <link>http://example.com/</link>
[...]

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (700, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages planet depends on:
ii  debconf                    1.5.11etch1   Debian configuration management sy
ii  lighttpd [httpd]           1.4.13-4etch8 A fast webserver with minimal memo
ii  python                     2.4.4-2       An interactive high-level object-o
ii  python-support             0.7.7         automated rebuilding support for P

planet recommends no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to