delicious-api

How to propagate the text field to the modal dialogue?

你说的曾经没有我的故事 提交于 2020-03-21 10:48:07
问题 I'm trying to 'add a link' functionality to my site. For that I'm using Modal plugin from Twitter Boostrap JS. On the main page there's only the 'link' field to fill, when a user clicks 'add link' button, a modal pops up, and the user sees the complete form to fill: link, title, tags. However, I want the link field to be pre-filled with the value from the previous step. It's similar to what happens when you 'save a link' on delicious.com. However, the problem is that when I insert a

Http Auth in a Firefox 3 bookmarklet

旧街凉风 提交于 2019-12-23 06:56:53
问题 I'm trying to create a bookmarklet for posting del.icio.us bookmarks to a separate account. I tested it from the command line like: wget -O - --no-check-certificate \ "https://seconduser:thepassword@api.del.icio.us/v1/posts/add?url=http://seet.dk&description=test" This works great. I then wanted to create a bookmarklet in my firefox. I googled and found bits and pieces and ended up with: javascript:void( open('https://seconduser:password@api.del.icio.us/v1/posts/add?url=' +encodeURIComponent

Http Auth in a Firefox 3 bookmarklet

孤街醉人 提交于 2019-12-23 06:56:05
问题 I'm trying to create a bookmarklet for posting del.icio.us bookmarks to a separate account. I tested it from the command line like: wget -O - --no-check-certificate \ "https://seconduser:thepassword@api.del.icio.us/v1/posts/add?url=http://seet.dk&description=test" This works great. I then wanted to create a bookmarklet in my firefox. I googled and found bits and pieces and ended up with: javascript:void( open('https://seconduser:password@api.del.icio.us/v1/posts/add?url=' +encodeURIComponent

Create a Delicious Bookmarklet in Firefox using Delicious API

删除回忆录丶 提交于 2019-12-21 20:08:34
问题 I want to create a Delicious bookmarklet in Firefox that bookmarks the current page with a predefined tag. For proof of concept, if I enter this url, it works: https://john:pwd@api.del.icio.us/v1/posts/add?url=http://www.google.com& description=http://www.google.com&tags=testtag But this as a bookmarklet doesn't, I get access denied : javascript:( function() { location.href = 'https://john:pwd@api.del.icio.us/v1/posts/add?url=' + encodeURIComponent(window.location.href) + '&description=' +

How to retrieve delicious related tags

China☆狼群 提交于 2019-12-11 12:47:52
问题 I have found this example here which uses delicious related tags and create a graph. But I don't know how they implemented it. I don't know how to get a list of related tags from delicious API, because in the documentation it is not mentioned at all, but in delicious website when you search for a tag it shows related tags in the right hand. Does anybody know how to get related tags using API? Thank you 回答1: You might want to refer to Delicious' API page. There is specific section on getting

Create a Delicious Bookmarklet in Firefox using Delicious API

不想你离开。 提交于 2019-12-04 10:07:41
I want to create a Delicious bookmarklet in Firefox that bookmarks the current page with a predefined tag. For proof of concept, if I enter this url, it works: https://john:pwd@api.del.icio.us/v1/posts/add?url=http://www.google.com& description=http://www.google.com&tags=testtag But this as a bookmarklet doesn't, I get access denied : javascript:( function() { location.href = 'https://john:pwd@api.del.icio.us/v1/posts/add?url=' + encodeURIComponent(window.location.href) + '&description=' + encodeURIComponent(document.title) + '&tags=testtag'; } )() Is this possible via a javascript bookmark?

Closing popup window created by Google Chrome extension

你离开我真会死。 提交于 2019-11-27 11:35:54
I'm trying to create a Chrome extension that is a replacement for the Delicious bookmarklet. I know there's already an extension that does it, but the problem with that extension is that after you bookmark a site, the popup window stays open (as opposed to using the bookmarklet, where the popup closes itself after submitting the form. I recreated the extension and ran into the same problem. Here's my code: manifest.json: { "name": "Delicious", "version": "1.0", "description": "Bookmark a site on Delicious", "background_page": "background.html", "permissions": [ "tabs" ], "browser_action": {

Closing popup window created by Google Chrome extension

半腔热情 提交于 2019-11-26 15:38:25
问题 I'm trying to create a Chrome extension that is a replacement for the Delicious bookmarklet. I know there's already an extension that does it, but the problem with that extension is that after you bookmark a site, the popup window stays open (as opposed to using the bookmarklet, where the popup closes itself after submitting the form. I recreated the extension and ran into the same problem. Here's my code: manifest.json: { "name": "Delicious", "version": "1.0", "description": "Bookmark a site