DISQUS

DISQUS Hello! evansims.com is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

evansims.com

Design, code, and my life somwhere inbetween.
Jump to original thread »
Author

Web APIs by Example, Part II: del.icio.us • Evan Sims

Started by Evan Sims · 11 months ago

No excerpt available. Jump to website »

1 comment

  • 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?

Add New Comment

Returning? Login