topical media & game development
server-webapi-code-04-feed.php / php
<?php
header("Content-Type: text/xml");
?><rss version="2.0">
<channel>
<language>en</language>
<title>Simple Blog</title>
<description>My Simple blog example.</description>
<link>example.preinheimer.com/blog/<image>
<title>Simple Blog Logo</title>
<link>example.preinheimer.com/feed1.php<url>example.preinheimer.com/feed1.png</image><?php
include("./common_db.php");
recipies = getAssoc(url = "http://example.preinheimer.com/blog/index.php?post=";
foreach(item)
{
echo "<item>\n";
echo "<title>{url{item['post']}</description>\n";
echo "<author>{item['category']}</category>\n";
echo "<pubDate>{
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.