Friday, January 13, 2012

[YouTube-API] Re: GData API change on playlist data? "Summary" tag no longer exists in playlist API returned data.

Hello Jerry,

The next sentence in that document is "Note that YouTube no longer
enables users to set custom titles or descriptions for playlist
entries." which should give you some indication that this is a legacy
feature that you're not going to see supported.

My understanding is that while the newest revamp of the web UI for
playlists did support setting custom metadata for playlist entries,
that metadata was never supposed to be reflected in the API (it's
actually a different feature from the original playlist metadata that
that API used to support). I'm surprised that you say this worked a
few weeks ago, and the fact that it worked at all is more likely to be
a bug than the fact that it doesn't work now.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Jan 12, 8:00 am, Jerry Tian <jerr...@gmail.com> wrote:
> I am referring to this document:
>
> http://code.google.com/apis/youtube/2.0/developers_guide_protocol_pla...
>
> And it says: "If the playlist owner defined a custom description for the
> video, that description will appear in a <summary><http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_a...> tag.
> The <summary><http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_a...> tag
> is a subtag of the <entry><http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_a...>tag.
> The <media:description><http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_a...> tag
> contains the video's original description."
>
> Also, I have tested this API weeks ago, and this "summary" information is
> there. Based on this data field is published and working, I start my app's
> development. But today, when I finally test my half-done app with this API
> again, this "summary" data field is gone! Both production and stage API
> server are tested, and the results are the same.
>
> I am wondering if there is an ongoing API change to drop this field? Or
> just something is simply wrong ;-(
>
> For reproduction, this playlist feed can be used(it is a public playlist,
> no auth needed):
>
> https://gdata.youtube.com/feeds/api/playlists/1A3B76F7FD82C1A8?v=2
>
> and to view the playlist in browser, this URL can be used(it only contains
> one video, with "{"title": "this is a test entry"}" as its note, which
> should be contained "summary" tags in the response of the above playlist
> API call):
>
> http://www.youtube.com/playlist?list=PL1A3B76F7FD82C1A8&

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment