Re: Re: mod_enclosures proposal
Danny Ayers <[email protected]>
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
I've only had chance to skim, but I did notice a couple of points:
the crocodile version (for RSS 2.0!):
<enc:enclosure
enc:url="http://www.crocodile.org/sounds/matrosi.mp3"
enc:length="1939570"
enc:type="audio/mpeg" />
seems to suggest exactly the same RDF graph* as Suzan's version, the
only difference being the typing of the Enclosure node, which could
effectively be done through the RDFS anyway (wasn't this the same with
Ian Davis' version too?):
<enc:enclosure>
<enc:Enclosure>
<enc:type>foo/bar</enc:type>
<enc:length>65536</enc:length>
<enc:url>http://foo.bar/baz</enc:url>
</enc:Enclosure>
</enc:enclosure>
So really the question is which version of the *syntax* is most likely
to be adopted by RSS-hackers..?
I'm puzzled by the RSS 1.0 "Literal syntax" example in the crocodile
doc, why should this stuff be treated as literal XML data rather than
first-class RDF nodes and arcs?
Cheers,
Danny.
* try these on the RDF validator - http://www.w3.org/RDF/Validator/
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://example.org/rss/1.0/"
xmlns:enc="http://example.org/stuff/1.0/">
<item rdf:about="http://example.org/sdf">
<enc:enclosure>
<enc:Enclosure>
<enc:type>foo/bar</enc:type>
<enc:length>65536</enc:length>
<enc:url>http://foo.bar/baz</enc:url>
</enc:Enclosure>
</enc:enclosure>
</item>
</rdf:RDF>
--------------------
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://example.org/rss/1.0/"
xmlns:enc="http://example.org/stuff/1.0/">
<item rdf:about="http://example.org/sdf">
<enc:enclosure
enc:url="http://www.crocodile.org/sounds/matrosi.mp3"
enc:length="1939570"
enc:type="audio/mpeg" />
</item>
</rdf:RDF>
--
http://dannyayers.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/