I want to preface this tip by urging you not to implement this tip. I believe the orange XML button that is rendered by default is the best, most consistent way, to represent your RSS feed. Having said that, if you still want to replace yours, here's how.
![]()
On the Radio UserLand Discussion Group, Peter Cook asked this question: "I'd like to replace the default xml button with an rss button. Has anyone been down this road? Have any wisdom to share? Thanks -Peter"
I responded, "Hi Peter. Drop an alternative rss button in your images folder. Radio will upstream it to your site. Then, replace the default macro that generates the xml button with standard HTML image code that refers to your new image and make it link to your rss.xml file. I'd suggest you do a view source on your current, working page first for an idea of how to properly write the code."
Allow me to elaborate..
After starting Radio UserLand, visit the Built-in Macros Preference page for a list of macros you can enter into your site template to produce any number of results, such as displaying the default orange XML button; the macro that is responsible for that function is <%rssLink%>. Just insert this macro in your site template and Radio will automatically convert it to the proper HTML which will display the orange XML button along with a link to your RSS feed page. That's mighty handy but you can bypass the macro if you'd prefer to insert your own graphic.
Here's an example. If I were to drop Peter's new RSS image called petersRssButton.gif to my images folder, Radio would upstream it to my server. Then I would enter something like the following into my Main Template, replacing the <%rssLink%> macro.

Now, all that is left is to render the home page to see the results. From within the Radio application, choose Radio:Publish:Weblog Home Page. Visit your site. Can you see your replacement graphic? Click on it. Does it take you to your RSS Feed?
Did you enjoy this artice? Would you like to discuss it?
