How do I put social linking links into my pages?

Options

In Bruce's Advanced CMS presentation he just mentioned that links to the social linking and networking sites (digg it, stumbe upon, delicious, etc) could be added into a template. He said we should ask in the community how to do this. So... How does one do that? Can these links be put into a wrapper or does it only work in a template?

Tagged:

Comments

  • most of the social networking sites will have explanations about how to do this.

    For instance Delicious has their explanation here (in their support section):

    http://delicious.com/help/faq#saveto

    There is also aggregate services like "Add This" http://www.addthis.com/

    Which puts a buttons with some Javacscript that will allow you to choose which your favorite one is.

  • We added this to the design template of some of our pages, but I don't see why this code could not be added to a wrapper. What I did for our site was set up an account with "add this" and they have a tool for you to generate the code that would get placed in your template. there is a similar service called "share this" in case you want to view a couple of options for comparison. Both "add this" and "share this" maintain data on how many pages are forwarded and through which network. Here are the links:

    http://www.addthis.com/

    http://sharethis.com/

  • Bev Stanton:

    We added this to the design template of some of our pages, but I don't see why this code could not be added to a wrapper. What I did for our site was set up an account with "add this" and they have a tool for you to generate the code that would get placed in your template. there is a similar service called "share this" in case you want to view a couple of options for comparison. Both "add this" and "share this" maintain data on how many pages are forwarded and through which network. Here are the links:

    http://www.addthis.com/

    http://sharethis.com/

    The following hrefs will work when placed in a CMS or WSM template. They will dynamically pull in the URL, title and description of the page on which they render. Bruce shared this code with me a while ago.

    Digg: <A href="http://digg.com/submit?phase=2&amp;url=$&amp;title=$&amp;bodytext=$" target=_blank>Digg.com</A> Delicious: <A href="http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=$&amp;title=$" target=_blank>del.icio.us</A> Reddit: <A href=" http://reddit.com/submit?url=$&amp;title=$" target=_blank>Reddit.com</A>

    Facebook: <A href="http://www.facebook.com/sharer.php?u=$&amp;t=$" target=_blank>Facebook</A>

  • Kirsten,

    CMS users can put this in the wrapper, but WSM users cannot. This is because CMS manages its own wrappers, but WSM uses the CRM wrapper manager. You need to be careful if you put it in the wrapper because not all URLs will work, e.g. the search.jsp results page, the send-to-friend.jsp page. If you really believe that all your HTML URLs deserve to be social link-able, then you need to wrap the social bookmarking bit in a conditional: &lt;t:if test="! isNull(url)"&gt;

    Have the replies fully answered your question?

Categories