DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Ruben's picture

Unregistered

Feeds

aliases

  • Ruben

Ruben

7 months ago

in Web APIs by Example, Part II: del.icio.us • Evan Sims on evansims.com
Hi there,
nice piece of code. it works.

i altered this code by adding :

if(isset($_POST['url']) && isset($_POST['description']) && isset($_POST['tags']) && isset($_POST['extended'])) {

// Bookmark a URL

$url = urlencode(trim($_POST['url']));
$description = urlencode(trim($_POST['description']));
$extended = urlencode(trim($_POST['extented']));
$tags = urlencode(trim($_POST['tags']));
httpRequest('ssl://api.del.icio.us', '/v1/posts/add?url=' . $url . '&description=' . $description . '&tags=' . $tags. '&extended=' . $extended);

now the form also adds 'tags' to your account,

BUT : the field "extended" still remains empty.
any suggestions on how to fix this?
Returning? Login