<txp:feed_link /> sing/cont tag, 6 attributes


The feed_link tag can be used as either a single or container tag and is used to output an XHTML link to the site’s articles’ RSS feed. When used as a container tag, it will turn the contents into a link to the feed, otherwise the value of attribute “label” will be used as link text. Should be used in a page.


  • Whether to output a link to the RSS or Atom version of the feed. Available values: rss or atom.
  • Whether to output a (X)HTML a tag or a (X)HTML link tag.
  • Values: a or link.
section="current section" 
  • Restrict to specified section.
 category="current category" 
  • Restrict to specified category. Note: the category name may be different to the Title you typed when you created the category, as the names are sanitized for URL use. Check the Categories tab to ensure you are using the correct name.
  • Number of articles to display in the feed.
  • Default depends upon preference setting: How many articles should be included in feeds?
title="RSS feed or Atom feed" 
  • (X)HTML title attribute.


  • Label prepended to item (or as first list item, where appropriate).
  • if wraptag is available and is set to ol or ul, the label will be the first list item.
  • (X)HTML tag (without brackets) to wrap around the list.
  • Note: wraptag is applicable only when using format of a.
  • (X)HTML class attribute to apply to the wraptag.


Version 4.3.0

  • class attribute added

Version 4.0.4

  • format added.
<txp:feed_link /> 2 examples

Display an RSS feed link for specific section and category

<txp:feed_link flavor="rss" section="about" category="general" label="XML" wraptag="p" />

Container example

<txp:feed_link wraptag="p"><img src="/path/to/rss-icon" /></txp:feed_link>