Help?

link feed link

From Textpattern CMS User Documentation

<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.

Contents

Attributes

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 tab to ensure you are using the correct name
Value: category name.
Default: current category.
flavor="value"
Whether to output a link to the RSS or Atom version of the feed.
Values: rss or atom.
Default: rss.
format="value"
Whether to output a HTML a tag or a HTML link tag.
Values: a or link.
Default: a.
title="value"
HTML title attribute.
Default: depends upon format 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.

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

Notes:

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

Examples

Example 1: Atom feed link with custom label

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

Genealogy

Version 4.3.0

  • class attribute added

Version 4.0.4

  • format attribute added.
Translations [?]