I found this helpful page that tells you how to add little links at the bottom of your posts for readers to bookmark in del.icio.us, digg.com and other bookmarking sites: http://www.exploding-boy.com/ 2006/01/09/add-links-for-delicious-digg-and-more-to-blog-posts/ i am trying to figure out where to put these so they show up at the end of my posts on: http://www.21apples.org 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 del.icio.us and digg codes: del.icio.us: http://del.icio.us/post?url=<?php the_permalink() ? >&title=<?php the_title()?>; digg: http://digg.com/submit?phase=2&URL="<?php the_permalink() ?> thanks, arvind
on 2006-03-14 04:49
on 2006-03-14 06:41
If your theme contains views/article/_article.rhtml you will want to make the change there. Should be a simple <%=h article.permalink -%> and <%=h 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 and 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 %>. -Steve
on 2006-03-14 07:33
arvind s grover <arvind <at> grovernetwork.com> writes: > be looking in /app/models or in the themes folder or somewhere else? > arvind > Arwind, I have created a small sidebar plugin to do just that. If there is only one 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 the 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 article, but this may have to require a patch of typo that I'll try to keep to a minimum. Here's where you can download it: http://blog.nanorails.com/articles/2006/03/10/rele... Thanks, Pascal.
on 2006-03-14 10:00
Pascal, I would like to check it out but the download link seems to be broken. Koen.
on 2006-03-14 19:19
Here's another example of exactly what you're talking about, just not in Typo: http://aymanh.com/tips-to-secure-linux-workstation Perhaps that would shed some clues. P On Tue, 14 Mar 2006 09:56:49 +0100, "Koen Van der Auwera" <firstname.lastname@example.org> wrote: >> >> > be looking in /app/models or in the themes folder or somewhere else? >> > thanks, >> whole site. >> >> > > > > -- http://fak3r.com - you dont have to kick it