Forum Moderators: phranque

Message Too Old, No Replies

How to generate "Post this Page to:"

for social bookmark sites like faceook, digg etc

         

Visit Thailand

2:05 am on Jan 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am having difficulty finding how to generate the script similar to what you find on BBC etc which helps people to bookmark a page on their socialbookmarking site like facebook etc.

How is this done?I guess I could do it manually but that would be a pain and the images that appear for each site do not show up like that.

Thanks for any guidance.

bill

7:25 am on Jan 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There are several 3rd party services (like AddThis) that keep track of these sort of links if you don't want to bother maintaining the links yourself. Then you can simply use their service.

Shimrit

10:34 am on Jan 28, 2009 (gmt 0)

10+ Year Member



There's also plugins for Wordpress, if you happen to be running that.

Visit Thailand

12:44 pm on Jan 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are several 3rd party services

I was hoping to do it myself but was wondering is there was any way to automate the link to grab the title and url of the page it is on.

That would save me having to manually insert it into each page I create. Especially as there is digg, facebook and the others to do for each page.

If done manually is it as simple as inserting the url like:

<a href="http: www.facebook.com/sharer.php?u=http: mydomain/the page i want facebook users to bookmark.htm"></a>

bill

12:55 am on Jan 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It's fine to do manually, but you have to keep up with all the services. For most, you simply need to determine the link pattern and then just dynamically add your page's URL in there.

I was hoping to do it myself but was wondering is there was any way to automate the link to grab the title and url of the page it is on.

That would depend on your site's back-end. Do you have a CMS or database populating your pages? If so, it's generally not too difficult to include the page variable in there.