Link feed link

On this page:


<txp:link_feed_link />

The link_feed_link tag is a single tag. Textpattern will replace this tag with an anchor to the site’s ‘links’ RSS feed.


Tag will accept the following attributes (case-sensitive):

category="category name"
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 administration panel to ensure you are using the correct name.
Values: category name.
Default: current category.
Whether to output a link to the RSS or Atom version of the feed.
Values: rss or atom.
Default: rss.
Whether to output HTML <a> tag or <link> tag.
Values: a or link.
Default: a.
HTML title attribute to be applied to link tag.
Default: depends upon flavor used, either RSS feed or Atom feed.

Common presentational attributes

These attributes, which affect presentation, are shared by many tags. Note that default values can vary among tags.

class="class name"
HTML class to apply to the wraptag attribute value.
Default: tag name or unset (see class cross-reference).
Label prepended to item.
Default: unset (but see label cross-reference for exceptions).
HTML element to wrap (markup) list block, specified without brackets (e.g. wraptag="ul").
Default: unset (but see wraptag cross-reference for exceptions).

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


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


Version 4.3.0

class attribute added.

Version 4.0.4

format attribute added.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.