Getting the comments page for a dugg url

34 views
Skip to first unread message

somar

unread,
Apr 3, 2012, 10:25:24 AM4/3/12
to Digg API Developers Support
I'd like to get feedback containing the url to the Digg comments for a
given submitted page.

Basically, do you have a Digg analog to this Reddit API feature:
https://github.com/reddit/reddit/wiki/API%3A-info.json

Dave Beckett

unread,
Apr 3, 2012, 1:14:41 PM4/3/12
to Digg API Developers Support

somar

unread,
Apr 3, 2012, 1:51:53 PM4/3/12
to Digg API Developers Support
Awesome. I totally appreciate the quick reply. I'll try it out and
let you know. I do wonder if there would be a way to do a .contains
kind of test for a link versus an exact match?
You can imagine that sites like youtube that attach a bunch of things
to the end of a 'basic' link could get weird since:
http://www.youtube.com/watch?v=IixQox4rhEw&feature=g-u-u&context=G248214aFUAAAAAAABAA
and
http://www.youtube.com/watch?v=IixQox4rhEw

... are really the same page but different links.

Dave Beckett

unread,
Apr 3, 2012, 1:57:10 PM4/3/12
to Digg API Developers Support
On Apr 3, 10:51 am, somar <fishsqua...@gmail.com> wrote:
> Awesome.  I totally appreciate the quick reply.  I'll try it out and
> let you know.  I do wonder if there would be a way to do a .contains
> kind of test for a link versus an exact match?
> You can imagine that sites like youtube that attach a bunch of things
> to the end of a 'basic' link could get weird since:http://www.youtube.com/watch?v=IixQox4rhEw&feature=g-u-u&context=G248...
> andhttp://www.youtube.com/watch?v=IixQox4rhEw
>
> ... are really the same page but different links.

We don't have that feature but you probably don't need it since we
apply various canonicalization to URLs that are submitted and many
sites provide metadata about that so that they (primarily!) appear on
Facebook with one url - part of their SEO strategy too. So it's
likely a single story on a popular site appears with one url. Not
guaranteed of course since some sites have stories with multiple
pages, print views and syndicate things

You could also try the search API which will provide a relevance based
answer but not on the URL field.

Dave
Reply all
Reply to author
Forward
0 new messages