Feature request - Feed button support
Sam Moore - August 13, 2009 - 22:35
| Project: | TweetMeme |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
Great to see this - thanks for doing it.
Any plans to add the TweetMeme button to Drupal's RSS output?

#1
What and where would it be included?
#2
Hi Rob.
Currently when readers view a Drupal feed in an RSS reader, they don't get to see the TweetMeme button, even if that button is present in the full article shown on the site.
I'd like to see the button - perhaps the compact version - included in the XML that's output by /rss.xml.
That way, subscribers who read content via a feed reader, rather than on the site itself, have the same option to re-tweet and track the article as people who come to the site to read.
I'm not at all sure how to manipulate the XML that's output for the RSS feed administratively, but admin/content/node-type/blog/template looks like a good place to start. This approach will require Contemplate (the CCK content template management module).
If you could provide the PHP that inserts the icon into nodes (maybe with a little commentary :-), we could manually add that snippet into the RSS on the template settings page. I'm willing to test this on my dev site if you like.
From there it would just be a matter of finding a way to make that easier for the user (i.e. a checkbox, rather than a PHP patch).
If we don't want to require Contemplate, we'll have to figure out how to manipulate the RSS XML stream directly. This probably entails having a look at xmlrpc.php.
Let me know if you want to pursue this, and if so what I can do to help.
Cheers