With the original files, Magpie will combine the original URL of the post with the URL of the site itself (and similarly the title of the post with the title of the site). One solution would be to use Feedburner’s “feedconvert” feature to convert the feed with the shared items from Atom into a normal RSS feed – however, by doing that you will lose the title and URL of the site (only keeping the title and URL of the post).
The Magpie files are also included in the WordPress installation (in /wp-includes/rss.php), instead of modifying them (and asking for trouble the next time you update WordPress) I decided to create a copy of Magpie and modify that. The changes aren’t very complicated.
The steps required to set this up are:
- Download a copy of Magpie from SourceForge as well as my modifications and test page
- Create a folder on your website for Magpie, place Magpie there.
- Create a folder for the cache (otherwise it will try to get the feeds every time the page is accesses), adjust the folder permissions to allow your code to write to it.
- Modify the test page (use your feed instead of mine, set the cache folder properly) and try it out.
- Copy + paste part of the code into your site’s template, add the CSS to your site’s stylesheet.
- Done! Start sharing items :-)
The current version of these modifications is v1.0 from July 28, 2007.