root/devel-backup/units/search/search_suggest_rss.php

Revision 45, 413 bytes (checked in by sven, 3 years ago)

dos2unix to clean line endings, set svn property eol-style native, some whitespace homogenisation

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     if (isset($parameter)) {
4         
5         $tag = urlencode($parameter);
6         $run_result .= "<h2>" . gettext("Syndication") . "</h2>";
7         $run_result .= "<p><a href=\"".url."search/rss.php?tag=$tag\">" . gettext("RSS feed for this tag") . "</a></p>";
8         global $metatags;
9         $metatags .= "\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$tag :: RSS\" href=\"".url."/search/rss.php?tag=$tag\" />\n";
10         
11     }
12
13 ?>
Note: See TracBrowser for help on using the browser.