Search the web
Sign In
New User? Sign Up
rss-media · RSS Media
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
media:group optionality   Message List  
Reply | Forward Message #1148 of 1251 |
Re: media:group optionality

--- In rss-media@yahoogroups.com, Sam Ruby <rubys@...> wrote:
>
> snazzysven wrote:
> >
> > From the spec:
> >
> > <media:group>
> >
> > <media:group> is a sub-element of <item>. It allows grouping of
> > <media:content> elements that are effectively the same content, yet
> > different representations. For instance: the same song recorded in
> > both the WAV and MP3 format. It's an optional element that must only
> > be used for this purpose.
> >
> > The last sentence on this is troubling, and I'd like to see it made
> > more clear. Does this mean that media:group must only be used to
> > group related items, or it must only be used when there are multiple
> > media:content elements?
> >
> > If the latter, this makes a feed where some items have multiple
> > media:content elements, and some do not, more annoying to parse. So
> > this needs to be cleared up in the spec. For a specific example of
> > why this is annoying, see:
> >
http://validator.w3.org/feed/docs/error/MediaGroupWithoutAlternatives.html

> >
<http://validator.w3.org/feed/docs/error/MediaGroupWithoutAlternatives.html>
>
> Prior discussion on the topic:
>
> http://www.therssweblog.com/?guid=20070929094626


That discussion, while informative, doesn't touch on the question
above. Is 2 or more really a good choice for deciding between group
and content? 1 or more seems like a much better option.

Additionally, it lets you do this:

<media:group>
<media:content ...item 1.../>
<media:thumbnail ...first item 1 thumbnail.../>
<media:thumbnail ...second item 1 thumbnail.../>
</media:group>
<media:group>
<media:content ...item 2.../>
<media:thumbnail ...first item 2 thumbnail.../>
<media:thumbnail ...second item 2 thumbnail.../>
</media:group>

If media:group REQUIRES 2 or more media:content elements, you cannot
say the above with media:rss.

So I think its obvious media:group should require related media
content elements, but not necessarily 2 or more mediarss elements.
Whoever is in charge of the mediarss spec, can you fix this please?

We're going to continue to use mediarss this way, ideally we'd like to
do so without contradicting the spec and/or feed validator.

>
> > -Sven
>
> - Sam Ruby
>





Wed Nov 5, 2008 5:01 pm

snazzysven
Offline Offline
Send Email Send Email

Forward
Message #1148 of 1251 |
Expand Messages Author Sort by Date

From the spec: <media:group> <media:group> is a sub-element of <item>. It allows grouping of <media:content> elements that are effectively the same content,...
snazzysven
Offline Send Email
Oct 24, 2008
8:17 pm

... Prior discussion on the topic: http://www.therssweblog.com/?guid=20070929094626 ... - Sam Ruby...
Sam Ruby
sa3ruby
Online Now Send Email
Oct 25, 2008
1:14 am

... http://validator.w3.org/feed/docs/error/MediaGroupWithoutAlternatives.html ... <http://validator.w3.org/feed/docs/error/MediaGroupWithoutAlternatives.html>...
snazzysven
Offline Send Email
Nov 5, 2008
5:41 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help