Re: mod_enclosures proposal

[email protected]
Newsgroups gmane.network.syndication.rss.devel
Message-ID <[email protected]>

--- In [email protected], Danny Ayers <danny.ayers@g...> wrote:
> I'd better start by apologising for not having checked the current
> proposal(s) before posting, and for stating something that's
probably
> obvious. I do think it's important though. I'd suggest there are two
> specific requirements that override all the others:
> 
> 1. to be able to cover the simplest case in simple syntax: "this is
an
> enclosure, here is the URI, this is the media type" (*one*
enclosure)
> 2. to be able to add metadata to it

Danny,

The requirements you have are certainly was high on our
list when we put together the proposal.

For example here is single enclosure in current, RSS 2.0
spec syntax:

<item>
...
    <enclosure 
       url="http://www.crocodile.org/sounds/matrosi.mp3" 
       length="1939570" 
       type="audio/mpeg" />
...
</item>

and in our, proposed one in RSS 1.0:

<item>
...
    <enc1:enclosures>
        <enc:Enclosure 
            enc:url="http://www.crocodile.org/sounds/matrosi.mp3" 
            enc:length="1939570" 
            enc:type="audio/mpeg" />
        </enc1:enclosures
...
</item>

I think we are as close as possible to the orignial syntax. Also
it is quite simple.

As to adding metadata, this is provided by us by nature of RDF, and
users can attach any kind of peoperties to enclosure nodes. We could
not foresee 
all possible kind of properties for all possible data types enclosure
can contain,
so we left this open and defined only basic properties like "length".

Check out the proposal, it have more details. We will be glad to hear
your and other people feedback.

Sincerely,
Vadim





 
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.