Adding digg and delicious bookmark buttons to articles

I found this helpful page that tells you how to add little links at
the bottom of your posts for readers to bookmark in, and other bookmarking sites:

i am trying to figure out where to put these so they show up at the
end of my posts on:

I am using the Good as Gold theme, not sure if that matters. Should I
be looking in /app/models or in the themes folder or somewhere else?
Any help would be appreciated. Obviously I need to change the
Wordpress specific parts of the code to Ruby specific, and could use
help on that too. If people reply, I will write it up for the Typo wiki.

here is an example of the and digg codes:<?php the_permalink() ?

&title=<?php the_title()?>;
digg:"<?php the_permalink() ?>


If your theme contains views/article/_article.rhtml you will want to
the change there. Should be a simple <%=h article.permalink -%> and
article.title -%> to get the data you need then. I am not sure if your
theme will have the _article partial or not, if not you can add one in
try it out (model it after app/views/articles/_article.rhtml).

Typically it is called from the theme/views/article/index.rhtml as <%=
render_partial “article”, article %>.


arvind s grover <arvind> writes:

be looking in /app/models or in the themes folder or somewhere else?


I have created a small sidebar plugin to do just that. If there is only
article, it lets the user bookrmark it on up to 12 services (the list of
services is configurable in the admin section. Otherwise, it bookmarks
whole site.

My initial goal was not to have to patch typo, and this achieves the
goal. For
the next version, I’ll be looking at posting these at the end of each
but this may have to require a patch of typo that I’ll try to keep to a

Here’s where you can download it:



I would like to check it out but the download link seems to be broken.


Here’s another example of exactly what you’re talking about, just not in

Perhaps that would shed some clues.


On Tue, 14 Mar 2006 09:56:49 +0100, “Koen Van der Auwera”
[email protected] wrote:

be looking in /app/models or in the themes folder or somewhere else?
whole site. - you dont have to kick it

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs