 | |  |
 |

elderban
User
Nov 4, 2006, 7:08 PM
Post #1 of 3
(3035 views)
Shortcut
|
|
Tutorial: Digg-ing your articles
|
Can't Post
|
|
With the ability to urlEncode in Article Manager 2, it is now easy to set your site up to allow users that have "dug "your articles to "Digg" them (Like the play on Dig Dug? Does anyone remember Dig Dug, for that matter?) Anyway, it's very simple to add the ability to Digg articles on your site. In this example, I have placed the link with the "Email this article" and "Printer friendly page" links that show up on each article page, but you can put the link anywhere you want, including your index page. So, to add this to your article page, just open articlePages.html in your templates/articlePages directory and look for the following code:
<a href="mailto:?subject=$article.title:urlEncoded$&body=$published.articlePage.url:urlEncoded$">Email this article</a><br> <a href="$published.articlePrinterPage.url$">Printer friendly page</a><br> At the end of that line, add the following code:
<a href="http://digg.com/submit?phase=2&url=$published.articlePage.url:urlEncoded$&title=$article.title:urlEncoded$&bodytext=$article.summary:urlEncoded$&topic=YOURTOPIC">Digg this article</a><br> IMPORTANT: You will have to change where it says "YOURTOPIC"...you will have to select a topic that is most relevant to your site from the following categories that are currently available on Digg: apple baseball basketball business_finance celebrity design environment extreme_sports football gadgets gaming_news general_sciences golf hardware health hockey linux_unix mods motorsport movies music offbeat_news other_sports playable_web_games political_opinion politics programming security soccer software space tech_deals tech_news television tennis videos_animation videos_comedy videos_educational videos_gaming videos_music videos_people videos_sports world_news For example, world_news was relevant to my site, so I put it after the "&topic=", so it read "&topic=world_news". Once this is complete, save articlePage.html and re-publish your articles. You can test it by clicking on it and see if all of the relevant information is filled out properly when you get to the Digg site. One thing to note, though, is that Digg requires users to log on before they can Digg an article. Bryan Gilchrist
(This post was edited by elderban on Nov 4, 2006, 7:11 PM)
|
|
|  |
 |

ChetW
Staff

Nov 5, 2006, 11:07 AM
Post #2 of 3
(3015 views)
Shortcut
|
|
Re: [elderban] Tutorial: Digg-ing your articles
[In reply to]
|
Can't Post
|
|
Hi Brian, Thanks for the post! This looks like a great tutorial that will help many Article Manager users take advantage of the exposure that Digg can give their websites articles. :) Cheers, Chet Woodside - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

floodrod
User
Dec 14, 2006, 10:05 AM
Post #3 of 3
(2664 views)
Shortcut
|
|
Re: [elderban] Tutorial: Digg-ing your articles
[In reply to]
|
Can't Post
|
|
Nice tutorial, But im encountering a delima. many of my articles use ***image1*** thumbnails in the summary, which messes up the digg.com description. Can you think of a way to tell this templateif statement to not print any word that starts with ***? or something else that will resolve the problem? Again, kool templateif thanks
|
|
|  |
|