dc:description in RSS 1.0 channels

Eric van der Vlist vdv at dyomedea.com
Wed Oct 25 23:34:24 EST 2006


Le mercredi 25 octobre 2006 =E0 09:23 -0400, Sam Ruby a =E9crit :
> Eric van der Vlist wrote:
> > Hi,
> > =

> > Venus doesn't seem to support RSS 1.0 items which description uses
> > dc:description instead of rss10:description.
> > =

> > Why would one want to use dc:description instead of rss10:description?
> > =

> > That was a loooong time ago, but as far as I remember, there had been
> > some discussions about that when we were working on RSS 1.0. The idea
> > was that Dublin Core could be considered as more generic than RSS and
> > that dc:description could be considered as more broadly understood than
> > rss10:description. OTH, we had also been sensible to the fact that
> > authors might want to keep the number of namespaces as low as possible
> > in their channels and we've deliberately allowed both.
> > =

> > A lot of RSS tools support both (they probably just ignore namespaces
> > altogether!) and I am surprised to see that dc:description seem to be
> > silently ignored by Venus.
> > =

> > Is that a feature?
> =

> Have a test case?  =


Sure. I have added this channel to planete.websemantique.org:
http://xmlfr.org/actualites/breves/breves.rss10 and the descriptions are
missing from the resulting feed
(http://planete.websemantique.org/atom.xml).

Source items look like:

  <item rdf:about=3D"http://xmlfr.org/actualites/breves/2006-10-24#T18:20:2=
0:811">
    <link>http://xmlfr.org/actualites/breves/2006-10-24#T18:20:20:811</link>
    <dc:description>Le W3C annonce la publication de la premi=E8re version =
de
travail de GRDDL. GRDDL (http://www.w3.org/TR/grddl/) d=E9finit comment
attacher =E0 des documents XML ou (X)HTML des transformations XSLT
permettant d'extraire d'en extraire des assertions RDF. Entre autres
utilisations, cette sp=E9cification peut donc faire le pont entre
microformats et Web S=E9mantique. Personnellement, je trouve regrettable
qu'une approche bas=E9e sur des processing instructions similaires =E0
&lt;?xml-stylesheet?&gt; ait =E9t=E9 abandonn=E9e en faveur de l'utilisation
d'=E9l=E9ments ou d'attributs qui n=E9cessitent g=E9n=E9ralement de modifie=
r les
sch=E9mas des documents XML dans lesquels ils sont utilis=E9s. </dc:descrip=
tion>
    <title>Premi=E8re version de travail de GRDDL </title>
    <dc:date>2006-10-24</dc:date>
    <dc:publisher>XMLfr (http://xmlfr.org)</dc:publisher>
    <dc:creator>Eric van der Vlist (vdv at dyomedea.com)</dc:creator>
    <content:items>
      <rdf:Bag>
        <rdf:li>
          <content:item rdf:about=3D"http://www.w3.org/2006/10/grddl-pressr=
elease.html.fr">
            <dc:language>fr</dc:language>
          </content:item>
        </rdf:li>
      </rdf:Bag>
    </content:items>
    <taxo:topics>
      <rdf:Bag>
        <rdf:li rdf:resource=3D"http://xmlfr.org/actualites/tech/"/>
      </rdf:Bag>
    </taxo:topics>
  </item>

Resulting entries are:

  <entry xml:lang=3D"fr">
    <id>http://xmlfr.org/actualites/breves/2006-10-24#T18:20:20:811</id>
    <link href=3D"http://xmlfr.org/actualites/breves/2006-10-24#T18:20:20:8=
11" rel=3D"alternate" type=3D"text/html"/>
    <title>Premi=E8re version de travail de GRDDL</title>
    <updated>2006-10-24T00:00:00Z</updated>
    <author>
      <name>Eric van der Vlist</name>
      <email>vdv at dyomedea.com</email>
    </author>
    <source>
      <id>http://xmlfr.org/actualites/breves/</id>
      <author>
        <name>Eric van der Vlist (mailto:</name>
        <email>vdv at dyomedea.com</email>
      </author>
      <link href=3D"http://xmlfr.org/actualites/breves/" rel=3D"alternate" =
type=3D"text/html"/>
      <link href=3D"http://xmlfr.org/actualites/breves/breves.rss10" rel=3D=
"self" type=3D"application/atom+xml"/>
      <rights>Tous droits r=E9serv=E9s.</rights>
      <subtitle>Breves nouvelles relatives a XML.</subtitle>
      <title>XMLfr</title>
      <updated>2006-10-24T18:05:35Z</updated>
    </source>
  </entry>

BTW, looking at this entry, I wonder if it is very kosher to say that a
RSS 1.0 channel has type=3D"application/atom+xml"!

> The FeedParser documentation suggests that =

> dc:description is supported:
> =

> http://feedparser.org/docs/reference-feed-subtitle.html
> http://feedparser.org/docs/reference-entry-summary.html

Yes, this couldn't be clearer!

Thanks,

Eric

> - Sam Ruby
> =

> =

-- =

GPG-PGP: 2A528005
Weblog:
                 http://eric.van-der-vlist.com/blog?t=3Dcategory&a=3DEnglish
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Ceci est une partie de message
	=3D?ISO-8859-1?Q?num=3DE9riquement?=3D =3D?ISO-8859-1?Q?_sign=3DE9e?=3D
Url : /archives/devel/attachments/20061025/49ba4b2f/attachment.pgp


More information about the devel mailing list