Change output of the RSS Feed layout

TheGorf - May 2, 2008 - 18:06

Right now the normal print $sidebar_left produces a feed icon that has a layout formatted like so (cleaned up for readability):

<div id="block-node-0" class="block block-node">
  <div class="content">
    <a href="/test/whootis/rss.xml" class="feed-icon">
      <img src="/test/whootis/misc/feed.png" alt="Syndicate content" title="Syndicate content" width="16" height="16" />
    </a>
  </div>
</div>

How can I override that output to just produce something like:

    <a href="/test/whootis/rss.xml" class="feed-icon">
      <img src="/test/whootis/misc/feed.png" alt="Syndicate content" title="Syndicate content" width="16" height="16" />
    </a>

So I can more easily fit it into my theme? All the additional divs and stuff make it a little difficult to fit. I'm assuming that I can add some theme function to my template.inc that will allow me to override it? I guess I'm not sure how to do this correctly.

 
 

Drupal is a registered trademark of Dries Buytaert.