On Wed, May 25, 2011 at 2:16 PM, Jeffrey Posnick <jeffy@google.com> wrote:
Hello,
All the dates/times ending in a 'Z' indicate UTC (GMT) time, which is
to say +0:00.
I believe that you're looking at the yt:uploaded value for the
previous video in the feed, which is the source of your confusion. If
you take a look at just the video in question, e.g. by requesting
http://gdata.youtube.com/feeds/api/videos/GBf7T1D5nxQ?v=2&prettyprint=true
you'll see the following values for those three fields:
<updated>2011-05-25T15:54:34.000Z</updated>
<published>2011-05-22T02:51:58.000Z</published>
<yt:uploaded>2011-05-22T02:51:58.000Z</yt:uploaded>
As far as I know, the published value should always be equivalent to
the yt:uploaded value for a given video, and should be constant. The
updated value will change as the video is modified.
Cheers,
-Jeff Posnick, YouTube API Team
~ YouTube is hiring! ~ http://google.com/jobs/workyoutube ~
On May 24, 3:31 pm, pwatson87 <patrickianwat...@gmail.com> wrote:
> *published BEFORE it was uploaded?
>
> On May 23, 2:07 pm, pwatson87 <patrickianwat...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hello everyone,
>
> > A couple of basic questions that don't appear to be covered in the
> > FAQ-
>
> > I'm not a developer or anything, I just need to know exactly when
> > YouTube videos have been made public. When I make an uploads query
> > about a particular user, I can see three different parameters in the
> > response, a time when a video was uploaded, a time when a video was
> > published, and a time when a video was updated. I presume that the
> > time a video was uploaded is a time that happens before it is actually
> > published for the world to see, and happens before a video can be
> > updated. Would this be correct?
>
> > <yt:uploaded>2011-05-22T19:23:36.000Z</yt:uploaded>
> > <published>2011-05-22T02:51:58.000Z</published>
> > <updated>2011-05-23T07:38:08.000Z</updated>
>
> > These three lines have been taken from an uploads query about the
> > latest video uploaded by user "GovernorTimPawlenty". How is it
> > possible that a video could be uploaded BEFORE it was published? I
> > must misunderstand something very basic here that you can help me
> > with.
>
> > Also, what timezone are these times in? And is there any way to know
> > from what timezone a video was posted in?
>
> > Thanks very much for your time.
>
> > pwatson87
--
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.
--
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