%%document-rss-anonymous-rdf%%
2003-01-06 21:36

%%preprocess%%
// get baseUrl
$this->getBaseUrl();

// title kludge
if ($this->title=="" && $this->headline=="") $this->title= "Untitled ($this->name)";
elseif ($this->title=="") $this->title= $this->headline;

// title format
$this->title= htmlentities($this->title);

// show description?
if ($_GET[description]==1) {
	// break at first paragraph, max 450 chars...
	$nlpos= strpos($this->description,"\n");
	if ($nlpos===false || $nlpos>450) {
		$nlpos=450;
		}
	$this->description= htmlentities(bparsebml(substr($this->description,0,$nlpos)));
	$this->descriptionTag= "<description>
	$this->description
	</description>";
	}

%%header%%

%%css%%

%%template%%
<item rdf:about="http://$site->name$this->uri">
	<title>$this->title</title>
	<link>http://$site->name$this->uri</link>
	$this->descriptionTag
</item>

%%listrow%%
 
%%nullobject%%
 
%%footer%%

%%postprocess%%

%%end of context%%
