• luminousnerd

    (@luminousnerd)


    Hey guys,
    Honestly I’m not completely up to speed on how exactly Digg and Delicious work. As far as I understand it, they are similar to RSS?

    Anyway, is it as simple as implementing a plugin to allow users to “digg it” and add to del.icio.us? Do we need to sign accounts up there, etc?

    Thanks a lot!

Viewing 6 replies - 1 through 6 (of 6 total)
  • drmike

    (@drmike)

    Think of them as a public note taking service. Find a site that you like? Make a note on their sites for everybody else to see.

    You don’t need accounts yourself on those sites. Your visitors will but if they’re aware of those sites, they probably have the accounts already.

    Thread Starter luminousnerd

    (@luminousnerd)

    drmike, good to know, thanks.

    So is there a plugin or is it as simple as putting in an HTML button somewhere or what? How might I go about looking? Do I need to get the code from Digg and Del or is it just floating, etc?

    Thanks

    Chris_K

    (@handysolo)

    There are quite a few plugins available. You might search for Notable, sociable, share-this as starting points right here in the forums.

    Digg and del.icio.us also both offer code snippets.

    Pizdin Dim

    (@pizdin_dim)

    This will add the links for both:

    
    <?php if (is_single()): ?>
    <a href=\"https://digg.com/submit?phase=2&url=<?php echo get_permalink(); ?>&title=<?php echo urlencode(get_the_title()); ?>\" title=\"Bookmark this post with: digg\">Digg it</a>&nbsp;|&nbsp;<a href=\"https://del.icio.us/post?url=<?php echo get_permalink(); ?>&title=<?php echo urlencode(get_the_title());; ?>\" title=\"Bookmark this post with: del.icio.us\">It's del.icio.us</a>
    <?php endif; ?>
    

    The most likely place to put this is “single.php” but it depends on the theme you’re using.

    Thread Starter luminousnerd

    (@luminousnerd)

    Thanks a lot pizdin, that did the trick for me. I didn’t have a single.php, but I put it at the top of comments.php and it seems to work there. Out of curiosity, what does the is_single bit do?

    Pizdin Dim

    (@pizdin_dim)

    This is one of the WP conditional tags. See the Codex for more. In fact, try to invest a bit of time in the Codex, you’ll learn lots about the essentials.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin for Digg and Del.icio.us?’ is closed to new replies.