Permalink
Browse files

Added tweetmeme button to feed

  • Loading branch information...
1 parent 47f73f8 commit 5ffb2a479579a1281e99d3bda4c3503a5896a8dc Daniel Tenner committed Mar 13, 2010
Showing with 6 additions and 1 deletion.
  1. +5 −1 content/feed/atom.txt
  2. +1 −0 templates/atom_feed.erb
View
@@ -34,7 +34,11 @@ filter: erb
<link href="http://danieltenner.com<%= article.url %>" />
<id>http://danieltenner.com<%= article.url %>,<%= article.created_at.strftime('%Y-%m-%d') %>:<%= article.created_at.to_i %></id>
<updated><%= article.created_at.xmlschema %></updated>
- <content type="html"><%= h(render(article)) %></content>
+ <content type="html">
+ <a href="http://api.tweetmeme.com/share?url=http://danieltenner.com<%= h (article.url) %>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://danieltenner.com<%= h (article.url) %>" height="61" width="51" /></a>
+ <%= h(render(article)) %>
+ <a href="http://api.tweetmeme.com/share?url=http://danieltenner.com<%= h (article.url) %>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://danieltenner.com<%= h (article.url) %>" height="61" width="51" /></a>
+ </content>
</entry>
<% end %>
</feed>
View
@@ -34,6 +34,7 @@ filter: erb
<link href="<%%= article.url %>" />
<id>tag:<%%= @page.site %>,<%%= article.created_at.strftime('%Y-%m-%d') %>:<%%= article.created_at.to_i %></id>
<updated><%%= article.created_at.xmlschema %></updated>
+ <a href="http://api.tweetmeme.com/share?url=http://danieltenner.com<%%= h (@page.url) %>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://danieltenner.com<%%= h (@page.url) %>" height="61" width="51" /></a>
<content type="html"><%%= h(render(article)) %></content>
</entry>
<%% end %>

0 comments on commit 5ffb2a4

Please sign in to comment.