dc:language (was Re: http://planete.websemantique.org/ and user defined content filtering)

Eric van der Vlist vdv at dyomedea.com
Fri Oct 13 01:45:52 EST 2006


Le jeudi 12 octobre 2006 =E0 07:27 -0400, Sam Ruby a =E9crit :

> Hopefully, this will be enough to get you started.  =


Yes, this is very helpful, thanks!

> But mostly, have  fun!, and if you have any questions, ask them here.

Sure... here is my first one :)

RSS 1.0 <dc:language/> elements don't seem to find their way into the
resulting Atom entries...

This RSS 1.0 channel includes <dc:language/> elements:
http://apassant.net/blog/rss.php and items such as:

<item rdf:about=3D"http://apassant.net/blog/2006/10/09/122-fun-with-google-=
code-search">
  <title>Fun with Google Code Search</title>
  <link>http://apassant.net/blog/2006/10/09/122-fun-with-google-code-search=
</link>
  <dc:date>2006-10-09T22:23:05+02:00</dc:date>
  <dc:language>en</dc:language>
  <dc:creator>Alex</dc:creator>
  <dc:subject>Geek</dc:subject>
  <description>I'm sure most of you already commented source code like that=
 - so did I - , but this one  must be my favourite :)...</description>
  <content:encoded><![CDATA[ <p>I'm sure most of you already commented sour=
ce code <a href=3D"http://google.com/codesearch?hl=3Den&amp;lr=3D&amp;q=3Ds=
ucks&amp;btnG=3DSearch" hreflang=3D"en">like that</a> - so did I - , but <a=
 href=3D"http://google.com/codesearch?q=3D+sucks+doc:GvkoedtCwiw&amp;sa=3DN=
&amp;cd=3D1&amp;ct=3Dri&amp;cs_p=3Dhttp://www.metasploit.com/tools/framewor=
k-2.6.tar.gz&amp;cs_f=3Dframework-2.6/lib/Pex/Text.pm" hreflang=3D"en">this=
 one</a>  must be my favourite :)</p>]]></content:encoded>
</item>

appear to be converted into entries without xml:lang attribute:

<entry xmlns=3D"http://www.w3.org/2005/Atom" xmlns:planet=3D"http://planet.=
intertwingly.net/">
  <id>http://apassant.net/blog/2006/10/09/122-fun-with-google-code-search</=
id>
  <link href=3D"http://apassant.net/blog/2006/10/09/122-fun-with-google-cod=
e-search" rel=3D"alternate"
    type=3D"text/html"/>
  <title>Fun with Google Code Search</title>
  <summary>I'm sure most of you already commented source code like that - s=
o did I - , but this one
    must be my favourite :)...</summary>
  <content type=3D"xhtml">
    <div xmlns=3D"http://www.w3.org/1999/xhtml">
      <p>I'm sure most of you already commented source code <a
          href=3D"http://google.com/codesearch?hl=3Den&amp;lr=3D&amp;q=3Dsu=
cks&amp;btnG=3DSearch"
          hreflang=3D"en">like that</a> - so did I - , but <a
          href=3D"http://google.com/codesearch?q=3D+sucks+doc:GvkoedtCwiw&a=
mp;sa=3DN&amp;cd=3D1&amp;ct=3Dri&amp;cs_p=3Dhttp://www.metasploit.com/tools=
/framework-2.6.tar.gz&amp;cs_f=3Dframework-2.6/lib/Pex/Text.pm"
          hreflang=3D"en">this one</a> must be my favourite :)</p>
    </div>
  </content>
  <updated planet:format=3D"October 09, 2006 08:23 PM">2006-10-09T20:23:05Z=
</updated>
  <category term=3D"Geek"/>
  <author>
    <name>Alex</name>
  </author>
  <source>
    <id>http://apassant.net/blog/</id>
    <author>
      <name>Alexandre Passant</name>
    </author>
    <link href=3D"http://apassant.net/blog/" rel=3D"alternate" type=3D"text=
/html"/>
    <link href=3D"http://apassant.net/blog/rss.php" rel=3D"self" type=3D"ap=
plication/atom+xml"/>
    <subtitle>Weblog</subtitle>
    <title>Alexandre Passant</title>
    <updated planet:format=3D"October 10, 2006 09:13 PM">2006-10-10T21:13:5=
1Z</updated>
    <planet:format>rss10</planet:format>
    <planet:name>Alexandre Passant</planet:name>
    <planet:http_last_modified>Thu Oct 12 15:03:42 2006</planet:http_last_m=
odified>
    <planet:bozo>false</planet:bozo>
    <planet:facewidth>65</planet:facewidth>
    <planet:items_per_page>60</planet:items_per_page>
    <planet:http_location>http://apassant.net/blog/rss.php</planet:http_loc=
ation>
    <planet:faceheight>85</planet:faceheight>
    <planet:http_status>200</planet:http_status>
  </source>
</entry>

Do you have any idea where this information can be lost?

Thanks,

Eric

-- =

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/20061012/ec3085cf/attachment.pgp


More information about the devel mailing list