[Developers] How to I get the text for an article?
David Janes
davidjanes at davidjanes.com
Mon Aug 4 16:15:27 UTC 2008
Thank you.
I've written some Python code that you may consider adding to
metaweb.py that will add results from the trans service into the data
structure returned from the mqlread service.
I.e. after one calls
result = metaweb.read(query, credentials)
you can call
transfill.transfill(result, blurb = True)
to get the blurb (raw and image_thumb work also) placed in the result.
The source code is here:
http://www.davidjanes.com/freebase/transfill.py
Regards, etc...
David
On Sat, Aug 2, 2008 at 4:42 PM, John Giannandrea <jg at metaweb.com> wrote:
>
> You want to fetch the '/common/topic/article' property and then
> request the text from the blurb service.
> see http://www.freebase.com/view/guid/
> 9202a8c04000641f8000000006cf5605 for the documentation on how to use
> it.
>
> -jg
>
>
> On Aug 2, 2008, at 1:40 PM, David Janes wrote:
>
>> I'm playing with the Freebase API -- The Police examples -- and I'm
>> trying to get the text associated with a article. I.e. on this page:
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
--
David Janes
More information about the Developers
mailing list