Location: PHPKode > projects > Taxonomic Search Engine > rss.php
<?php
include("rss10.inc");
$rss=new RSSWriter("http://darwin.zoology.gla.ac.uk/~rpage/portal/", "Taxonomic Search Engine", 
	"Find taxonomic names.", 
		array("dc:publisher" => "Roderic Page.", 
		"dc:creator" => "Roderic Page <hide@address.com>"));
		
//$rss->setImage("http://www.example.org/images/rss.gif",
//	"Example Site: All the Examples Fit to Print"); 

$rss->addItem("http://darwin.zoology.gla.ac.uk/~rpage/portal/news.php#6",
"TSE is now a source  for A9.com",
array("description" => "<p><img src=\"http://static.a9.com/-/static/images/logo-a9.gif\"  align=\"right\"/>TSE now supports the Open Search interface developed by <a href=\"http://a9.com/\">A9.com</a> (Amazon.com's new search engine). You can add TSE to your search by going to <a href=\"http://a9.com/\">A9</a> and clicking on the <a href=\"http://a9.com/-/search/moreColumns.jsp\">Add Columns to your Search Results</a> link on the right). Enter &quot;TSE&quot; into the Search columns text box.</p> ",
"dc:subject" => "A9",
"dc:creator" => "Roderic Page <hide@address.com>"));




$rss->addItem("http://darwin.zoology.gla.ac.uk/~rpage/portal/news.php#5",
"Changes to uBio service",
array("description" => "The uBio SOAP interface has changed. It now requires a keycode, and the data structures returned have changed. This temporarily broke TSE, but things have been fixed.",
"dc:subject" => "uBio service",
"dc:creator" => "Roderic Page <hide@address.com>"));


$rss->addItem("http://darwin.zoology.gla.ac.uk/~rpage/portal/news.php#4",
"BMC Bioinformatics article published",
array("description" => "<a href=\"http://www.biomedcentral.com/1471-2105/6/48\"><img border=\"0\" src=\"http://www.biomedcentral.com/images/articles/link.gif\"></a>An article describing TSE has appeared in the open access journal <a href=\"http://www.biomedcentral.com/1471-2105/6/48/abstract\" target=\"_blank\">BMC Bioinformatics</a>.",
"dc:subject" => "BMC Bioinformatics",
"dc:creator" => "Roderic Page <hide@address.com>"));


$rss->addItem("http://darwin.zoology.gla.ac.uk/~rpage/portal/news.php#3",
"Did you mean feature added",
array("description" => "Did you mean feature added. Uses agrep to look up search string in a flat file list of names,
together with <a href=\"http://www.google.com/apis/index.html\">Google's API</a> to suggest alternative spellings of the taxon name.",
"dc:subject" => "Did you mean",
"dc:creator" => "Roderic Page <hide@address.com>"));


$rss->addItem("http://darwin.zoology.gla.ac.uk/~rpage/portal/news.php#2",
"Web service interface documented",
array("description" => "First stab at documenting the web service interface.",
"dc:subject" => "Web service",
"dc:creator" => "Roderic Page <hide@address.com>"));

$rss->addItem("http://darwin.zoology.gla.ac.uk/~rpage/portal/news.php#1",
"IndexFungorum web service restablished",
array("description" => "<img src=\"http://www.indexfungorum.org/IMAGES/LogoISF1.gif\" width=\"50\" height=\"50\"/>The IndexFungorum web service is back up after being offline for a week.",
"dc:subject" => "IndexFungorum",
"dc:creator" => "Roderic Page <hide@address.com>"));

$rss->serialize();
?>
Return current item: Taxonomic Search Engine