Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-21 13:41:31

txtb8b
Member
Registered: 2007-10-29
Posts: 20

Social bookmarking problem

Hi all, not sure if there is a module for this so I am trying to handcode it somewhere in the script.

Goal: to have each single post carry a bottom line of links for social bookmarking.
Problem: that each social bookmarking link for each post carries its own specific url/title.

Example, I could probably use forms to set the general code for the bookmarks on each post (#1) but the second is trickiest. This code would be something like:

<a href=“http://del.icio.us/post?url=DYNAMIC_URL&title=DYNAMIC_TITLE”>del.icio.us</a>
 | <a href=“http://digg.com/submit?phase=2&url=DYNAMIC_URL&title=DYNAMIC_TITLE”>Digg it</a>
 | <a href=“http://www.furl.net/storeIt.jsp?t=DYNAMIC_TITLE&u=DYNAMIC_URL”>Furl</a>

Is this “dynamic posting” impossible to do with a software like txtpattern? Thanks for the replies :)

Offline

#2 2007-12-21 13:57:21

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Social bookmarking problem

actually its quite easy.

<a href=“http://del.icio.us/post?url=<txp:permlink />&title=<txp:title />”>del.icio.us</a> | <a href=“http://digg.com/submit?phase=2&url=<txp:permlink />&title=<txp:title />”>Digg it</a> | <a href=“http://www.furl.net/storeIt.jsp?t=<txp:title />&u=<txp:permlink />”>Furl</a>

something like that would probably work. if you’re not sure what the tags do i would definitely recommend looking over the textbook or else you’re missing out on a lot of powerful features you’re probably missing out on.

i’m quite sure you’ll find many social bookmarking plugins on textpattern.org

i also made a plugin using the AddThis social bookmarking widget. you can see it in action here : http://www.nineorchids.com

extremely easy to do without a plugin but i figure i might as well. its not available for download but if theres actual interest i can make it so.

Last edited by iblastoff (2007-12-21 14:02:18)

Offline

#3 2007-12-21 14:14:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Social bookmarking problem

Some time ago I posted a series of bookmarklets here


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-12-21 15:42:38

txtb8b
Member
Registered: 2007-10-29
Posts: 20

Re: Social bookmarking problem

Ah… yes, very easy indeed. Thank you for all replies. iblastoff, that bookmarklet plugin has the advantage of saving space. Colak’s is more like your original text code. Would anyone know if there are advantages/disadvantages when it comes to search engines using either the plugin or just the simple text code?

Thanks again.

Offline

Board footer

Powered by FluxBB