Location: PHPKode > projects > FeedMeLinks, Social BookmarkingSince2002 > rss-2.0.php
<%
	Header( "Content-type: text/xml");
	include_once( "modules/utils.inc.php" );
	$site = getSiteUrl();
			
	echo '<' . '?xml version="1.0" encoding="iso-8859-1"?>';
	$dcdate = preg_replace( "/00$/", ":00", date("Y-m-d\TH:iO"));
%>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:content="http://purl.org/rss/1.0/modules/content/">

  <channel>
    <title>Feed Me Links!</title>
		<link><%= $site %></link>
    <description>your portable public link suitcase</description>
		<dc:language>en-us</dc:language>
		<dc:creator>all-of-hide@address.com</dc:creator>
		<dc:rights>Copyleft 2004</dc:rights>
		<dc:date><%= $dcdate %></dc:date>
		<admin:errorReportsTo rdf:resource="mailto:hide@address.com"/>
<%
		$hideTimes = true;
		$limit = $numEntries ? $numEntries : 12;
		$format = "rss";
		include_once( "$modules/recent-with-times.inc.php" ); 
%>
  </channel>
</rss>
Return current item: FeedMeLinks, Social BookmarkingSince2002