OK, I'm getting there (with the attempt to XSLT-generate RSS1 from http://www.dublincore.org/).

Here's an XSLT (version tweak of Dan Connolly's one in http://www.w3.org/2000/08/w3c-synd), which turns a slightly amended version of the DCMI homepage into something close to the right form of RSS1. I'm cc:'ing [email protected] (a public mail archive) so the files can be pointed to later. This would all be easier if I actually knew XSLT :)

Attachments:

 dc.html (a tweaked version of the homepage)
 dc2rss1.xsl (altered version of DanC's XSLT)
 _out.rss (sample output, showing what's done and what's missing)

To make this work, the DCMI homepage needs some minor ammendments:

1. each news item needs a permalink pointer to its entry in the news archive (this is worthwhile anyway, so people can share links to DCMI news). In my sample, I've flagged this with a 'rel="details' attribute, to make it easy to extract the URI from that link. I added this to each item:

<div class="permalink">(<a rel="details" href="/news/2008/#dcmi-news-20080901-03">#permalink</a>)</div>

...but you could do anything really, so long as there is a predictable HTML markup containing the permalink URI that we need for the feed.


2. The date gets wrapped in <span class="date">2008-09-01</span> so we can extract it more easily.

There may be fashionable markup idioms for both of these (microformats etc. - eg. http://microformats.org/wiki/hatom), so perhaps we don't want to change anything yet. But then again these changes ought to be enough to autogenerate RSS1, which could save some time for you. If you care to make the edits in (1.) and (2.) I think we can have RSS1 generated fairly easily, although to put this into production would require having an XSLT engine in the pipeline somewhere. You could run this locally, or we could use a Web-based one such as that at W3C.

cheers,

Dan

--
http://danbri.org/

TODO

  • add pointer to RDF/RSS version from home page
  • finish upgrading this to RC1 version (danbri)

Share and Enjoy

Copyright (c) 2000 W3C (MIT, INRIA, Keio), released under the W3C Open Source License of August 14 1998.

Dan Connolly, Aug 2000
ammended by Dan Brickley, Nov 2000
$Revision: 1.30 $ of $Date: 2005/08/29 16:58:45 $ by $Author: dom $
href="" type="text/css" date: rcsdate: isodate: <xsl:value-of select="h:head/h:title"/> <xsl:choose> <xsl:when test="h:h2"> <xsl:value-of select='normalize-space(h:h2)'/> </xsl:when> <xsl:otherwise> <xsl:value-of select='normalize-space(h:[EMAIL PROTECTED]"rss-title"])'/> </xsl:otherwise> </xsl:choose>
<?xml version="1.0" encoding="us-ascii"?>
<?xml-stylesheet href="http://www.w3.org/2000/08/w3c-synd/style.css"; type="text/css"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"; xmlns="http://purl.org/rss/1.0/"; xmlns:dc="http://purl.org/dc/elements/1.1/"; xmlns:h="http://www.w3.org/1999/xhtml"; xmlns:hr="http://www.w3.org/2000/08/w3c-synd/#";>
  <channel rdf:about="">
    <title>Dublin Core Metadata Initiative (DCMI)</title>
    <description></description>
    <link></link>
    <dc:date></dc:date>
    <items>
      <rdf:Seq/>
    </items>
  </channel>
  <item rdf:about="/news/2008/#dcmi-news-20080918-01">
    <title>DC-2008 to start in a few days</title>
    <description>2008-09-18, DC-2008, the 8th International Conference on Dublin Core and Metadata Applications will open in a few days. Online registration is now closed. On-site registration during the event is possible but only with payment in cash (Euros). See the registration page for the conference fees. We are looking forward to meeting many of you in Berlin! (#permalink)</description>
    <link>/news/2008/#dcmi-news-20080918-01</link>
    <dc:date>2008-09-18</dc:date>
  </item>
  <item rdf:about="/news/2008/#dcmi-news-20080901-02">
    <title>DCMI Status Report September 2008</title>
    <description>2008-09-01, The DCMI Directorate, in co-operation with the moderators of DCMI Communities and leaders of DCMI Task Groups, has issued a new six-month Status Report for the period March to September 2008. &lt;Read the report...&gt; (#permalink)</description>
    <link>/news/2008/#dcmi-news-20080901-02</link>
    <dc:date>2008-09-18</dc:date>
  </item>
  <item rdf:about="/news/2008/#dcmi-news-20080901-03">
    <title>Public Comment on DCMI Proposed Recommendation for Expressing Dublin Core Description Sets using XML</title>
    <description>2008-09-01, "Expressing Dublin Core description sets using XML (DC-DS-XML)" by Pete Johnston and Andy Powell has been published as a DCMI Proposed Recommendation for public comment from 1 to 29 September 2008. A related document, "Notes on the DC-DS-XML XML Format", describes the development of the format and its relationship to the DCMI Recommendation "Guidelines for implementing Dublin Core in XML" of April 2003. The Proposed Recommendation supports the W3C specification Gleaning Resource Descriptions from Dialects of Languages (GRDDL) in the form of an XSLT transform for extracting RDF triples from instances of metadata in the DC-DS-XML format. The specification includes 21 examples together with their equivalent representations in the DC-Text and RDF/XML syntaxes. A W3C XML Schema for the DC-DS-XML format is provided. Interested members of the public are invited to post comments to the DC-ARCHITECTURE mailing list, including [Public Comment] in the subject line. (#permalink)</description>
    <link>/news/2008/#dcmi-news-20080901-03</link>
    <dc:date>2008-09-18</dc:date>
  </item>
  <item rdf:about="">
    <title>Revised encoding specifications for HTML and XHTML published as a DCMI Recommendation</title>
    <description>2008-08-04, "Expressing Dublin Core metadata using HTML/XHTML meta and link elements" by Pete Johnston and Andy Powell has been published as a DCMI Recommendation. A related document, "Notes on DCMI specifications for Dublin Core metadata in HTML/XHTML meta and link elements", provides a guide to implementers to the differences between the HTML/XHTML meta data profile provided by the 2008 Recommendation and that of a previous Recommendation of November 2003. The Recommendation supports the W3C specification Gleaning Resource Descriptions from Dialects of Languages (GRDDL) in the form of an XSLT transform for extracting RDF triples from instances of Dublin Core metadata in HTML/XHTML.</description>
    <link></link>
    <dc:date>2008-09-18</dc:date>
  </item>
  <rdf:Description rdf:about="">
    <rdfs:seeAlso rdf:resource="index.shtml.rdf"/>
  </rdf:Description>
</rdf:RDF>
Title: Dublin Core Metadata Initiative (DCMI)
Dublin Core Metadata Initiative logo
About the Initiative Documents Working Groups Resources
Dublin Core Metadata Initiative News Tools and Software Projects blank
Dublin Core Metadata Initiative - Making it easier to find information.
 
Dublin Core Metadata Initiative
The Dublin Core Metadata Initiative is an open organization engaged in the development of interoperable online metadata standards that support a broad range of purposes and business models. DCMI's activities include work on architecture and modeling, discussions and collaborative work in DCMI Communities and DCMI Task Groups, annual conferences and workshops, standards liaison, and educational efforts to promote widespread acceptance of metadata standards and practices. Learn more...
Graphic for the DC-2008 International Conference
DC-2008 to start in a few days

2008-09-18, DC-2008, the 8th International Conference on Dublin Core and Metadata Applications will open in a few days. Online registration is now closed. On-site registration during the event is possible but only with payment in cash (Euros). See the registration page for the conference fees. We are looking forward to meeting many of you in Berlin!

DCMI Status Report September 2008

2008-09-01, The DCMI Directorate, in co-operation with the moderators of DCMI Communities and leaders of DCMI Task Groups, has issued a new six-month Status Report for the period March to September 2008. <Read the report...>

Public Comment on DCMI Proposed Recommendation for Expressing Dublin Core Description Sets using XML

2008-09-01, "Expressing Dublin Core description sets using XML (DC-DS-XML)" by Pete Johnston and Andy Powell has been published as a DCMI Proposed Recommendation for public comment from 1 to 29 September 2008. A related document, "Notes on the DC-DS-XML XML Format", describes the development of the format and its relationship to the DCMI Recommendation "Guidelines for implementing Dublin Core in XML" of April 2003. The Proposed Recommendation supports the W3C specification Gleaning Resource Descriptions from Dialects of Languages (GRDDL) in the form of an XSLT transform for extracting RDF triples from instances of metadata in the DC-DS-XML format. The specification includes 21 examples together with their equivalent representations in the DC-Text and RDF/XML syntaxes. A W3C XML Schema for the DC-DS-XML format is provided. Interested members of the public are invited to post comments to the DC-ARCHITECTURE mailing list, including [Public Comment] in the subject line.

Revised encoding specifications for HTML and XHTML published as a DCMI Recommendation

2008-08-04, "Expressing Dublin Core metadata using HTML/XHTML meta and link elements" by Pete Johnston and Andy Powell has been published as a DCMI Recommendation. A related document, "Notes on DCMI specifications for Dublin Core metadata in HTML/XHTML meta and link elements", provides a guide to implementers to the differences between the HTML/XHTML meta data profile provided by the 2008 Recommendation and that of a previous Recommendation of November 2003. The Recommendation supports the W3C specification Gleaning Resource Descriptions from Dialects of Languages (GRDDL) in the form of an XSLT transform for extracting RDF triples from instances of Dublin Core metadata in HTML/XHTML.

Last updated: 18 September 2008 | Next update: 6 October 2008

Copyright © 1995-2008 DCMI. All Rights Reserved.

Reply via email to