Link rss

From Photostand Wiki

Jump to: navigation, search
link_rss()

The link_rss function will return the reference value of a link pointing toward the RSS feed. It can be used in any page, at any time. This function will always display the exact page path, so there's no need to add the Photoblog_path function before.

Parameters

This function has no parameters.

Examples

In a normal paragraph

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>

	<title>My photoblog</title>

    </head>
    <body>

        <p>To get my posts in syndicated format, grab my <a href="<?php echo link_rss(); ?>">RSS</a> feed.</p>

    </body>
</html>

Here, the link to the RSS feed will simply appear as normal text directly in the page.

Personal tools