[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Adding a DOAP (rdf+xml) file to www.debian.org



Hi.

As discussed in
http://lists.debian.org/debian-project/2011/05/msg00069.html , I'd like
to add a DOAP file to the home of the www.debian.org site, which could
contain something like this :
        <?xml version="1.0" encoding="utf-8"?>
        <rdf:RDF
           xmlns:doap="http://usefulinc.com/ns/doap#";
           xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
          <doap:Project rdf:about="http://www.debian.org/";>
            <doap:description>Debian GNU/Linux is a free distribution of the GNU/Linux operating system. It is maintained and updated through the work of many users who volunteer their time and effort.</doap:description>
            <doap:homepage rdf:resource="http://www.debian.org/"/>
            <doap:name>Debian</doap:name>
            <doap:shortdesc>Debian -- The Universal Operating System</doap:shortdesc>
          </doap:Project>
        </rdf:RDF>

What would be the best way to have it added to the contents (committed
in CVS, but would WML mess with it ?)

Also, it may be better that Apache can serve it with appropriate
mime/content type (application/rdf+xml), in case this wouldn't be
automatic.

But I'm also wondering : does content-negociation apply also for Accept
header for content-types and not only languages ? Thus, a HTTP GET on
http://www.debian.org/ with Accept: application/rdf+xml would serve this
file instead of index.xxx.html (Linked Data [0] best practice).

Thanks in advance.

Best regards,

[0] http://linkeddata.org/
-- 
Olivier BERGER (Debian developer)
(OpenPGP: 4096R/7C5BB6A5)
http://www.olivierberger.com/weblog/


Reply to: