[Developers] freebase-suggest jquery plugin on GoogleCode

Dae Park daepark at metaweb.com
Mon Sep 24 19:38:33 UTC 2007


On second thought, let's go with the first one where image and  
article refer to the id of the image and article respectively.

{
    id: aString,
    name: aString,
    type: [{
      id: aString,
      name: aString
    },{
      ...
    }],
    image: aString,     // id
    article: aString    // id
}

sorry for the confusion.



On Sep 24, 2007, at 12:18 PM, Dae Park wrote:

> Come to think of it, it could look like this:
>
> {
>    id: aString,
>    name: aString,
>    type: [{
>      id: aString,
>      name: aString
>    },{
>      ...
>    }],
>    image: {
>      id: aString,
>      src: aString     // url to the image
>    },
>    article: {
>      id: aString,
>      src: aString,    // url to retrieve the blurb
>      blurb: aString   // if we have it or else null
>    }
> }
>
> -dae
>
>
>
> On Sep 24, 2007, at 12:06 PM, Dae Park wrote:
>
>> Since the user may select the item before the blurb content is  
>> retrieved, the best we can do is either return the ids or urls of  
>> the image and blurb. Then the data object may look like this:
>>
>> {
>>    id: aString,
>>    name: aString,
>>    type: [{
>>      id: aString,
>>      name: aString
>>    },{
>>      ...
>>    }],
>>    image: aString,     // url or id
>>    article: aString    // url or id
>> }
>>
>>
>> -dae
>>
>>
>>
>> On Sep 22, 2007, at 2:27 PM, Paul Lindner wrote:
>>
>>> Great work!
>>>
>>> I've successfully used this in an internal demo and am very happy  
>>> with
>>> the results.
>>>
>>> The only thing I'd add is passing in all local data in the callback.
>>> That would save me from having to re-request data that may  
>>> already be
>>> present in a retrieved flyout (blurb, thumbnail info, full type  
>>> info.)
>>>
>>> I'll be extracting the demo code and making it available in the next
>>> few days.
>>>
>>> -- Paul
>>>
>>> On Wed, Sep 19, 2007 at 08:57:58PM -0700, Dae Park wrote:
>>>> We've packaged the autocomplete/suggest feature you've seen on
>>>> freebase.com into a jquery plugin.
>>>>
>>>> http://code.google.com/p/freebase-suggest/
>>>>
>>>> We hope others will find this feature useful in reconciling user
>>>> inputs against topics in freebase.com.
>>>>
>>>> Here is some documentation:
>>>>
>>>> http://code.google.com/p/freebase-suggest/wiki/Usage
>>>>
>>>> If you have any suggestions, issues or want to join this project,
>>>> please let me know.
>>>>
>>>> -dae
>>>>
>>>> daepark at metaweb.com
>>>> daepark at gmail.com
>>>> _______________________________________________
>>>> Developers mailing list
>>>> Developers at freebase.com
>>>> http://lists.freebase.com/mailman/listinfo/developers
>>>
>>> -- 
>>> Paul Lindner        ||||| | | | |  |  |  |   |   |
>>> lindner at inuus.com
>>
>



More information about the Developers mailing list