Textpattern CMS Template Tags

<txp:link_feed_link /> single tag, 4 attributes

link_feed_link

The link_feed_link tag is a single tag. Textpattern will replace this tag with an XHTML link to the sites links RSS feed.

attributes

flavor="rss" 
  • Whether to output a link to the RSS or Atom version of the feed.
  • Values: rss or atom.
format="a" 
  • Whether to output a (X)HTML a tag or a (X)HTML link tag.
  • Values: a or link.
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
title="RSS or Atom" 
  • (X)HTML title attribute.

presentation

label="unset" 
  • 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.
wraptag="unset" 
  • (X)HTML tag (without brackets) to wrap around the list.
class="link_feed_link" 
  • (X)HTML class attribute to apply to the wraptag.

Notes: label and wraptag are applicable only when using format of a (label used as link text).

genealogy

Version 4.3.0

  • class attribute added

Version 4.0.4

  • format attribute added.
<txp:link_feed_link /> 1 examples

Atom feed link with custom label

<txp:link_feed_link flavor="atom" label="Commerce Links" />