jsgriffin / freebase-suggest Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/freebase-suggest
License: Other
Automatically exported from code.google.com/p/freebase-suggest
License: Other
What steps will reproduce the problem?
1. Add suggest to a document served as application/xhtml+xml
What is the expected output? What do you see instead?
Loading fails with the error INVALID_STATE_ERR: DOM Exception 11
Which web-browsers exhibit the problem?
Chrome
Please provide any additional information below.
The use of unterminated empty tags (<div> instead of <div/>) is the problem.
Original issue reported on code.google.com by wholcomb
on 23 Jan 2011 at 4:52
Attachments:
In 'soft' mode
* There's no notification when the user enters free-text. How about
triggering 'fb-select' with data=null ?
(I need notification so I can wipe any previously selected Freebase topic)
* And if you type a string that's not in freebase you still get the message:
"No suggested matches. Tips on getting better suggestions [snip]"
Since the developer is allowing free-text, perhaps the default message
should just be "No suggested matches. Press enter to use this text".
Original issue reported on code.google.com by will.moffat
on 2 Dec 2009 at 8:06
I want to use Freebase Suggest as a topic picker for my own site. As part of
this, I want to alter
its behaviour slightly - when showing a list of results, I would like to move
items that have
previously been used on my site to the top of the suggestions list and visually
highlight them
(with an asterisk).
My ideal way of doing this would be to include a JavaScript array of items that
have already been
used on my site (which will normally be somewhere between 1 and 100 items long)
on the page,
and then customise Freebase Suggest, intercepting the incoming list of
suggestions and
bumping any that match my hard-coded list of IDs up to the top.
To do this, I need customisation hooks that allow me to:
1. Intercept the results returned by freebase before they are rendered by the
widget
2. Modify the DOM elements used by Freebase Suggest to populate the suggestion
list, as they
are being created.
These hooks would be useful for much more than just my example here.
Original issue reported on code.google.com by simon%[email protected]
on 15 Aug 2009 at 10:02
The home page of the Google code project (ie this project) implies that the
project has moved, but the new "home" has no source control, no bug
reporting system, and this site (Google Code) appears to still be (semi-)live.
Can someone clarify the real location of the source control, bug reporting,
project web page, etc and update the old resources to point to the correct
place?
I actually think Google Code has a pretty good set of features for project
hosting, but if you're moving somewhere else, let's move everything (or be
clear about what's staying here)
Original issue reported on code.google.com by tfmorris
on 2 Sep 2009 at 10:57
Looks like all sample queries from the MQL main online docs that involves the
music track property fail. Is this a known issue?
Example:
http://www.freebase.com/queryeditor?q={%22type%22:%22/music/artist%22,%22name%22
:%22The%20Police%22,%22album%22:{%22name%22:%22Synchronicity%22,%22track%22:[]}}
Query (from the sample code in the documentation):
{
"type" : "/music/artist",
"name" : "The Police",
"album" : {
"name" : "Synchronicity",
"track" : []
}
}
โ
Response:
code: "/api/status/error"
messages: [
0: {
code: "/api/status/error/mql/type"
info: {
expected_type: "/music/album"
property: "track"
message: "Type /music/album does not have property track"
path: "album"
query: {
album: {
error_inside: "."
name: "Synchronicity"
track: []
name: "The Police"
type: "/music/artist"xp
status: "200 OK"
transaction_id: "cache;cache03.p01.sjc1:8101;2011-02-12T16:21:58Z;0022"
Original issue reported on code.google.com by [email protected]
on 12 Feb 2011 at 4:28
To avoid using JSONP, it would be good to have an "Access-Control-Allow-Origin:
*" header on the response, and for the script to load the JSON response data
directly.
Original issue reported on code.google.com by [email protected]
on 29 Jul 2013 at 7:45
Hi, there doesn't seem to be an easy way to intercept the form input before
it is sent to the public API. It would be great if I could, for example,
return false from the "fb-textchange" event handler in order to prevent the
autocompletion event from occurring. For example, if the form input is a
URL or URN I probably don't want to submit it to FreeBase since I'm
virtually guaranteed an empty result set.
I'd prefer not to "destroy" the instance since that would also require
unbinding multiple event handlers, and then recreating the instance and
rebinding them when the field changes again.
Thanks
Original issue reported on code.google.com by [email protected]
on 18 Mar 2010 at 11:20
There seems to be an issue with the fbs.create_list_item function.
It throws a li[o] has no properties error and is due to the following line:
li[0].fb_data = data;
If I may suggest:
Replace:
var frag = document.createDocumentFragment();
$(frag).append('<li class="fbs-li"></li>');
var li = $("> li", frag);
With:
var li = $('<li class="fbs-li"></li>');
shorter, achieves the same & works.
David Decraene
http://ontologyonline.org
Original issue reported on code.google.com by [email protected]
on 5 Jan 2008 at 8:37
Guys,
Apologies, but I came across freebase today, and having looked at some
examples, I cant seem to find what to use when i want to look at NHS
Prescription services (ie: what chemists are available in certain areas)
I am talking about the ID to use in coding
Can someone point me in the right direction?
Apologies once again for hijacking this group, cant seem to find a forum to
discuss freebase with other people/.
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 7:52
What steps will reproduce the problem?
1. they the example "Shows a MiniTopic (infobox type summary) for the
selected item" in internet explorer 7
2.
3.
What is the expected output? What do you see instead?
the mini topic should show up like in firefox
Which web-browsers exhibit the problem?
only internet explorer 7
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 30 Nov 2008 at 2:37
Not a bug but a enhancement request.
From the point of view in the health care industry or any other vertical the
suggest component
would be more useful if filters where allowed to return results ordered by
relevance.
For example we ant no type constrains but would like to get health care related
topics first as
suggestion instead of more generic terms.
For example, when I type 'card' in as a topic suggestion, I'd think cardiology
would come up.
Instead I get things like magic card, secure digital card, yellowcard, and
orson scott card on the
first page. 'Cardi' brings up 'cardigan welsh corgi'. And 'Cardio' brings up
running & cycling.
I would like to hint the suggest box that certains types are more relevant to
me and have those
be on top of the list.
In any case still provide other topics as suggestions after the relevant ones
first.
Original issue reported on code.google.com by [email protected]
on 15 Apr 2010 at 10:34
What steps will reproduce the problem?
1. click on the link for 'open api'
2. receive page not found error
What is the expected output? What do you see instead?
1. page should be displayed
2. perhaps you should link here instead:
http://www.freebase.com/view/freebase/api
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 16 Oct 2007 at 8:51
What steps will reproduce the problem?
Combine Freebase Suggest 4.1 with jQuery 1.9.0:
<html>
<form><input id="myinput"></form>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.js"></script>
<script src="https://www.gstatic.com/freebase/suggest/4_1/suggest.js"></script>
<script>$(function() { $("#myinput").suggest({filter:'(all
type:/film/director)'}); });</script>
</html>
What do you see?
"Uncaught TypeError: Cannot read property 'msie' of undefined"
at line 245: ".bind($.browser.msie ? "paste.suggest" : "input.suggest",
function(e) {"
Original issue reported on code.google.com by [email protected]
on 19 Jan 2013 at 8:40
I didn't find a method in the API documentation to unbind the suggest feature
already applied to an input text.
The only way I found is that given an html input with id "suggest" that has the
suggest feature applied to, to call :
$("#suggest")
.unbind(".suggest")
.unbind("fb-select")
.removeData("suggest");
could there be a method in the API to do something similar?
Thanks and very nice plugin !
Original issue reported on code.google.com by [email protected]
on 4 Aug 2012 at 7:02
Please setup a Google Group that will notify all members of svn checkins or
issues (bugs).
Original issue reported on code.google.com by will.moffat
on 26 Feb 2008 at 11:02
Sorry about the spam. Please ignore.
Original issue reported on code.google.com by will.moffat
on 13 Mar 2008 at 5:45
a good thing would be to be able to choose the language of the
suggestion. It would use all /lang/ of the topic.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 8:49
What steps will reproduce the problem?
1. $('form').suggest()
What is the expected output? What do you see instead?
I'd like to see a console warning, "Cannot use Freebase Suggest on a 'form'
element. See http://www.freebase.com/docs/suggest for help"
Original issue reported on code.google.com by will.moffat
on 29 Sep 2009 at 12:23
What steps will reproduce the problem?
1. Paste a Freebase uri with a suffix into autosuggest
2. Nothing is found
What is the expected output? What do you see instead?
I'd expect the uri http://www.freebase.com/view/en/africa/-/location
to work the same in freebase-suggest as pasting in
http://www.freebase.com/view/en/africa
Original issue reported on code.google.com by iainsproat
on 26 Jul 2010 at 1:59
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.