Functions/auto discovery link tag

This function outputs a <link> tag for the RSS feed so the browser can auto-discover the feed.

Usage

auto_discovery_link_tag()

Arguments

This function does not take any arguments.

Return Values

(string HTML)

Example(s)

Add a <link> to the RSS feed in the <head> of the theme.

       <?php echo auto_discovery_link_tag(); ?>

The code above should be placed between the <head> tags of the theme's header.php file.

Source File / Version

  • application/helpers/Functions.php in Omeka 1.0.