[Developers] freebase-suggest 0.3 (jquery plugin)

Dae Park daepark at metaweb.com
Tue Feb 5 03:00:52 UTC 2008


We've been holding off on releasing a new version of the freebase- 
suggest plugin until jquery-1.2.2 was out. Well, jquery-1.2.2 is  
official, so here it is:

http://code.google.com/p/freebase-suggest/

Some changes/enhancements include:

- using the "prefix" parameter (instead of the "query" parameter) to  
the FreebaseAPISearch (http://code.google.com/p/freebase-suggest/wiki/ 
FreebaseAPISearch)

- the selection events are now 'fb-select' and 'fb-select- 
new' ('suggest' and 'suggest-new' will be deprecated in the near future)

- A new freebaseSelect plugin for getting a finite set of instances  
of a certain type which is equivalent to the html <select/> element.  
For example, if you wish to list all 50 States in your drop down, you  
could use the freebaseSelect plugin:

$("#myinput").freebaseSelect({type:"/location/us_state", limit: 50})
              .bind('fb-select', function(e, data) { console.log 
('select: ', data.id); })


-dae




On Sep 19, 2007, at 8:57 PM, 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



More information about the Developers mailing list