Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<FEED_AUTO_DISCOVERY>

Tag Function:

  • Dynamically selects what feed(s) to use. Configurable via admin options panel.

Main Usage:

  • Used within image_template.html to dynamically recall and load the current feed format(s).

Examples:

In your image template, you can use the tag like this:

<FEED_AUTO_DISCOVERY>

Sample Output:

Using the code above will generate the following when the template is run:

<!-- Link for FEED autodiscovery -->
<link rel="alternate" type="application/rss+xml" title="Pixelpost - RSS Feed" href="http://example.com/index.php?x=rss" />

<link rel="service.feed" type="application/x.atom+xml" title="Pixelpost - ATOM Feed" href="http://example.com/index.php?x=atom" />

FeedRelatedTags
<< <IMAGE_LAST_THUMBNAIL> | TemplateTags | <ATOM_AUTODETECT_LINK> >>


Page last modified on November 06, 2007, at 11:36 PM