nhoizey / PinboardInGoogle

Showing Pinboard bookmarks alongside Google search results
MIT License
19 stars 4 forks source link

Use Pinboard search instead of a list of tags (was: It looks like the api can't work well) #9

Open linhuiw opened 8 years ago

linhuiw commented 8 years ago

I use this plugin in firefox, but it seems always get empty result in google result page;

I find the api in pinboard docs, i can't find this api, it seems this api can not work well; Do you have the docs about this Api?

// Generate Pinboard API JSON URL // https://feeds.pinboard.in/json/v1/secret:....../u:nhoizey/t:24-70mm/t:canon?count=20

nhoizey commented 8 years ago

You have to put your own Pinboard secret API token, which you will find on https://pinboard.in/settings/password

If you go to this page, the userscript should get the token automaticaly.

I plan to migrate this userscript to a proper Web Extension soon.

linhuiw commented 8 years ago

image yes , i have add my secret and u, the result is empty. but in my pinboard serach page it has results.

image

so i think this api does not work well.

linhuiw commented 8 years ago

i know the problem. in your code, you translate queryString to a list of tags, i did not add this tag in my pinboard.

may be first i think the search can match the title, not the tag

nhoizey commented 8 years ago

You're right, it might be a better idea to use the search directly, instead of trying to build a collection of tags. Less accurate maybe, but with probably more results.

whispy commented 7 years ago

Is there any update on this? It would be nice if, in addition to just searching titles, we could also do full text search too (like can be done by adding '&fulltext=1' to the search URL).