Re: Re: "Enclosures" anyone?
Danny Ayers <[email protected]>
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry Ian, the combination of my lousy memory and Yahoo's lousy search
facilities meant I missed those.
Your first version seems very similar to Suzan's, with the exceptions
of the typing of the Enclosure node and your use of an explicit
resource URI for it, compared to Suzan's literal URL -
[Ian]
<rss:item>
<rss:title>Ian's Bad Poem</rss:title>
<encl:enclosure
rdf:resource="http://example.com/torrent"
dc:format="application/x-bittorrent"
dc:title="Bit torrent link to mp3" />
<encl:enclosure
rdf:resource="http://example.com/text"
dc:format="text/plain"
dc:title="My poem itself" />
</rss:item>
[Suzan]
> > <rss:item>
> > ...
> > <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>
> > </rss:item>
I don't think the typing of the node is particularly significant one
way of the other (it could be done in the schema through the range of
enc:enclosure). But the URl..hmm, under practically any other
circumstances I would come down strongly in favour of the rdf:resource
URI approach. With this I'm not so sure. It's describing an specific
representation complete with mime type, this seems to go beyond the
call of duty for a URI... Dunno.
The situation if anything is highlighted in the case of multiple
different representations. However here the assertion actually seems
to be that these are conceptually different resources. As they are
different, I think I'd be tempted to run these as simply multiple
(possibly typed) nodes under the item rather than trying to apply the
alternate (Alt) switch to them.
Any similar multiple-representation cases arisen before?
> http://groups.yahoo.com/group/rss-dev/message/6618
> http://groups.yahoo.com/group/rss-dev/message/6625
Cheers,
Danny.
--
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/