We strip the tags and notes.
It doesn't make any sense for the user; they want to file it their way,
not the publisher's. Same thing for the notes.
-Original Message-
From: ydn-delicious@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Brett O'Connor
Sent: Friday, April 06, 2007 3:25 PM
To: ydn-delicious@yahoogroups.com
Subject: Re: [ydn-delicious] Del.icio.us javascript
bookmarklet and tags?
Yea, that doesn't work. I think the simple /post nukes tags.
If you can, post using the URL containing the del.icio.us
username as I know that works, like this (where negatendo
is the username):
http://del.icio.us/negatendo?url=http://
someurl.comtitle=someurl.comnotes=good+url+infotags=url+reference
Brett
On Apr 6, 2007, at 4:04 PM, gengar003 wrote:
Hello... I'm trying to make a form that will take the same
inputs as
the del.icio.us bookmarking page, and pass those values to
the actual
page when the user submits.
In javascript, I'm using this (url, notes, desc, and tags are all
correctly-defined strings):
var destination = http://del.icio.us/post?v=4;url=; +
encodeURIComponent(url) +
;title=+ encodeURIComponent(desc) +
;tags= + encodeURIComponent(tags)+
;notes= + encodeURIComponent(notes);
to define a URL for the javascript to go to. It works,
except for the
tags.
That is, on my page, there's a form like this ([] = form field):
URL: [http://someurl.com]
Title: [Some URL ]
Notes: [no notes, really ]
Tags: [webpage url some ]
[submit]
When a user submits that, it goes to the del.icio.us add bookmark
page, and the fields are filled out like so:
URL: [http://someurl.com]
Title: [Some URL ]
Notes: [no notes, really ]
Tags: [ ]
[submit]
The actual url being used, (when I document.write() it
before going to
the URL) includes all four field/value pairs.
Why is del.icio.us recognizing the description, url, and
notes that I
pass it, but NOT my tags? What do I have to do to get it to
recognize
my tags?
Thanks in advance.
---
Brett O'Connor
Blimps Go 90, LLC
P: 303-810-8891
E: [EMAIL PROTECTED]
(Get my book, del.icio.us Mashups! - ISBN-10: 0470097760)
Yahoo! Groups Links