Re: Atom and RDF
"Alex Kolesnichenko" <yahoo-KwUv6+pz0nRWk0Htik3J/[email protected]>
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello [email protected], >>> <enclosure>s are broken from the another side -- I cannot specify more than >>> one <enclosure>. And, the worst, I cannot specify alternative <enclosure>s >>> (ie. user could have a choice to download radio show in either MP3 record >>> format or its script in DOC). r> How's this as a hypothetical RSS module: r> <rss:item>> r> <rss:title>Ian's Bad Poem</rss:title> r> <encl:enclosure rdf:resource="http://example.com/torrent" r> dc:format="application/x-bittorrent" <!-- whatever --> r> dc:title="Bit torrent link to mp3" /> r> <encl:enclosure rdf:resource="http://example.com/mp3" r> dc:format="audio/mpeg" r> dc:title="MP3 of me reading my poem" /> r> <encl:enclosure rdf:resource="http://example.com/text" r> dc:format="text/plain" r> dc:title="My poem itself" /> r> </rss:item> Yeah, something like that. r> Clients can choose to download the most appropriate format, either r> automatically or by presenting a series of links to the user with the r> titles supplied. But the problem still persists: how the software will determine that these three links point to the same content but in different representation? There should be something like multipart/alternative MIME stuff: <rss:item> <rss:title>Ian's Bad Poem</rss:title> <encl:enclosure type="multipart/alternative"> <encl:enclosure rdf:resource="http://example.com/torrent" dc:format="application/x-bittorrent" <!-- whatever --> dc:title="Bit torrent link to mp3" /> <encl:enclosure rdf:resource="http://example.com/mp3" dc:format="audio/mpeg" dc:title="MP3 of me reading my poem" /> <encl:enclosure rdf:resource="http://example.com/text" dc:format="text/plain" dc:title="My poem itself" /> </encl:enclosure> <encl:enclosure rdf:resource="http://example.com/anothermp3" dc:format="audio/mpeg" dc:title="MP3 of me singing in bathroom" /> </rss:item> Now I can setup my hypotetical aggregator to automatically download either only text/plain content, or, if it's not possible, only show the link to resource. -- Best regards, Alex Kolesnichenko 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/