Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Digg, Furl, del.icio.us, etc.

 

 


TMcD
Novice

Oct 20, 2006, 9:20 AM

Post #1 of 7 (2056 views)
Shortcut
Digg, Furl, del.icio.us, etc. Can't Post

I'd love to be able to allow people to use the social (bookmarking) networks to bookmark an article.

From what I read, I can parse pretty much anything I need. But, am I going to be able to encode the URL the way I need to, in order to work with the social bookmarking networks?

Example:

Digg: http://digg.com/submit?phase=2&url=http%3A%2F%www.interactivetools.com%2Fproducts%2Farticlemanager%2Fscreenshots.html&title=interactivetools.com+Article+Manager

(Note: The above is not a 100% correctly encoded URL, but does show, basically how they work.)

Thanks,
Troy


Dave
Staff / Moderator


Oct 20, 2006, 10:20 AM

Post #2 of 7 (2041 views)
Shortcut
Re: [TMcD] Digg, Furl, del.icio.us, etc. [In reply to] Can't Post

That's right, you need to "url encode" values you put in urls so they get passed correctly by the browser.

We provide a special "placeholder modifier" that does just that. Say you had a placeholder called $article.title$ and you wanted to put it an url, you just add ":urlEncoded" before the final $. So it would look like this:

$article.title:urlEncoded$

If you do that for all the placeholders in your link, that should do the trick, but if you have any other problems getting it working let us know and we'll help you figure it out.

Also, if you're curious what other neat and amazing things placeholders and templates can do, you check out the docs for them here:

http://www.interactivetools.com/docs/articlemanager2/templates/index.html

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com
 

(This post was edited by Theo on Oct 20, 2006, 11:08 AM)


TMcD
Novice

Oct 20, 2006, 12:45 PM

Post #3 of 7 (2028 views)
Shortcut
Re: [Dave] Digg, Furl, del.icio.us, etc. [In reply to] Can't Post

Thanks Dave.


Theo
Project Manager / Moderator


Oct 20, 2006, 1:17 PM

Post #4 of 7 (2021 views)
Shortcut
Re: [TMcD] Digg, Furl, del.icio.us, etc. [In reply to] Can't Post

Specifically, to encode an article links, you can use this placeholder:

$published.articlePage.url:urlEncoded$

You can put this in an articlePage template, or in articleList (inside the articleRow templatecell).

Great thing to bring up, McD, a lot of people are very interested in making their articles one-click "diggable". Wink


Theo Wiersma
Project Manager

(This post was edited by Theo on Oct 20, 2006, 1:19 PM)


TMcD
Novice

Oct 20, 2006, 1:26 PM

Post #5 of 7 (2018 views)
Shortcut
Re: [Theo] Digg, Furl, del.icio.us, etc. [In reply to] Can't Post


In Reply To
Specifically, to encode an article links, you can use this placeholder:

$published.articlePage.url:urlEncoded$

You can put this in an articlePage template, or in articleList (inside the articleRow templatecell).

Great thing to bring up, McD, a lot of people are very interested in making their articles one-click "diggable". Wink



Thanks Theo. Blush

And thanks Dave.

I know my clients/customers will love it too.

Troy


jcocking
User

Apr 10, 2007, 7:43 PM

Post #6 of 7 (1894 views)
Shortcut
Re: [TMcD] Digg, Furl, del.icio.us, etc. [In reply to] Can't Post

Here is the code and images to place social network links within your articles.

This template snippet has the following social network sites links:
- Del.icio.us
- Yahoo MyWeb
- Digg
- Reddit
- furl
- blinklist
- Sprul

You will need to place the images in your image directory and change the img src path to your image directory.

Publish the article.

As always back up all templates before making changes. Use at your own risk. Got love free code with no support.

You can see it in action at
http://www.netphoneinfo.com/voip/vonage-internet-phone-provider/After-setback-Vonage-wins-temporary-relief.php

_
Jeff Cocking
[url "http://www.lotuselan.net"]Lotus Elan (AM 1.38)[/url]
[url "http://www.netphoneinfo.com"]VoIP Phone Comparisons (AM 2.02)[/url] 
Attachments: social networks.zip (5.04 KB)


BillG
User

May 20, 2009, 2:50 PM

Post #7 of 7 (1323 views)
Shortcut
Re: [jcocking] Digg, Furl, del.icio.us, etc. [In reply to] Can't Post

Jeff, nice script! But I noticed that you didn't use urlEncoded to encode the article links.

Did you notice if your script still works with all browsers?