[Developers] Full article text

Alexander Marks al at metaweb.com
Mon Mar 31 18:16:38 UTC 2008


Steve:

Only the first 1200 characters of Wikipedia abstracts are served through the Freebase API. Brendan is right -- the best way to get an entire article is from Wikipedia itself. Getting raw HTML output is easy: http://en.wikipedia.org/wiki/Radiohead?action=render

Does that type of output suit your purposes?

Al

----- Original Message -----
From: "brendan" <brendan at metaweb.com>
To: "For discussions about MQL, Freebase API and apps built on Freebase" <developers at freebase.com>
Sent: Monday, March 31, 2008 11:07:20 AM (GMT-0800) America/Los_Angeles
Subject: Re: [Developers] Full article text


not sure whether freebase has that service.  wikipedia has an api,  
which seems like the better way to go about it, but I'm not sure how  
to get nice formatted html out of it (meaning deal with all that wiki  
formatting)

e.g.

http://en.wikipedia.org/w/query.php?what=content&format=xmlfm&titles=radiohead

change xmlfm to foo and it will give you the options.

Brendan



On Mar 31, 2008, at 10:34 AM, Stephen Lau wrote:

> Is there a way to get the full article text, instead of just an
> excerpt.  e.g. for the Radiohead article, I get the following URL:
> http://www.freebase.com/api/trans/raw/guid/9202a8c04000641f800000000004c272
>
> which cuts off after a certain amount of text.  Does Freebase cache  
> the
> full text of the article from Wikipedia (or at least the full abstract
> text)?
>
> cheers,
> steve
>
> -- 
> stephen lau | stevel at songbirdnest.com | www.whacked.net
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers

_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list