[Developers] How to I get the text for an article?

David Flanagan david at davidflanagan.com
Mon Aug 4 18:20:09 UTC 2008


David,

The next version of my metaweb.py module (not released yet) includes 
methods for working with the trans services.

	David Flanagan

David Janes wrote:
> 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
>>
> 
> 
> 



More information about the Developers mailing list