Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
identifying videos posted on Digg
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
medagan  
View profile  
 More options Mar 23 2012, 12:37 pm
From: medagan <pjc.2...@gmail.com>
Date: Fri, 23 Mar 2012 09:37:33 -0700 (PDT)
Local: Fri, Mar 23 2012 12:37 pm
Subject: identifying videos posted on Digg
Is there a way for me to capture the stream of videos posted here on
Digg: http://digg.com/news/all/videos/recent

Something in .xml form would be awesome

Thanks!

Medagan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Beckett  
View profile  
 More options Mar 23 2012, 12:48 pm
From: Dave Beckett <daj...@digg.com>
Date: Fri, 23 Mar 2012 09:48:19 -0700 (PDT)
Local: Fri, Mar 23 2012 12:48 pm
Subject: Re: identifying videos posted on Digg
Right now the API call that returns top news results
http://developers.digg.com/story-gettopnews does not have a server-
side filter by media type.  Plus it does not seem to return the media
type of the item in the response.  Oops.  This bit I can fix pretty
quickly.

So after I make that change you can use the XML result
http://services.digg.com/2.0/story.getTopNews?type=xml and walk
through that yourself using the cursor mechanism; add query argument
cursor=STORY-ID with the last item's story_id value like this:

http://services.digg.com/2.0/story.getTopNews?type=xml&cursor=STORY-ID

... and get out the items that are videos

I'll reply again when I've updated the service to return the type.

Dave

On Mar 23, 9:37 am, medagan <pjc.2...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Beckett  
View profile  
 More options Mar 23 2012, 1:07 pm
From: Dave Beckett <daj...@digg.com>
Date: Fri, 23 Mar 2012 10:07:45 -0700 (PDT)
Local: Fri, Mar 23 2012 1:07 pm
Subject: Re: identifying videos posted on Digg
This just in, getTopNews has an undocumented parameter 'medium' so all
you need is

http://services.digg.com/2.0/story.getTopNews?medium=videos&type=xml

Although the cursor advice still applies.

I'm also making the change to return media_type in responses.

Dave

On Mar 23, 9:37 am, medagan <pjc.2...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »