<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Under Development :: Life in the Virtual World &#187; Samples</title>
	<atom:link href="http://underdevelopment.maravillaclan.net/category/samples/feed/" rel="self" type="application/rss+xml" />
	<link>http://underdevelopment.maravillaclan.net</link>
	<description>Learning to do it a little better</description>
	<lastBuildDate>Wed, 09 Dec 2009 12:23:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Sample &#8211; RSS v1.0</title>
		<link>http://underdevelopment.maravillaclan.net/2008/08/16/php-sample-rss-v10/</link>
		<comments>http://underdevelopment.maravillaclan.net/2008/08/16/php-sample-rss-v10/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 07:32:53 +0000</pubDate>
		<dc:creator>Bong-Bong</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Samples]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[rss v1.0]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://underdevelopment.maravillaclan.net/?p=12</guid>
		<description><![CDATA[
There are basically three parts you need to be concerned about when generating an RSS v1.0:

The RSS related data
The feeds
The search information

RSS related data
These will be the data that are specific to the whole feed or to the website. These would include the following:

title
link
description
image

Feed Items
These will be items you would want to put on the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://underdevelopment.maravillaclan.net/wp-content/uploads/2008/08/rss_v10_screenshot1.png"><img class="alignnone size-full wp-image-46" title="rss_v10_screenshot" src="http://underdevelopment.maravillaclan.net/wp-content/uploads/2008/08/rss_v10_screenshot1.png" alt="" /></a></p>
<p style="text-align: left;">There are basically three parts you need to be concerned about when generating an RSS v1.0:</p>
<ul style="text-align: left;">
<li>The RSS related data</li>
<li>The feeds</li>
<li>The search information</li>
</ul>
<p style="text-align: left;"><strong>RSS related data</strong></p>
<p style="text-align: left;">These will be the data that are specific to the whole feed or to the website. These would include the following:</p>
<ul style="text-align: left;">
<li>title</li>
<li>link</li>
<li>description</li>
<li>image</li>
</ul>
<p style="text-align: left;"><strong>Feed Items</strong></p>
<p style="text-align: left;">These will be items you would want to put on the RSS Feed. Each Item would include the following:</p>
<ul style="text-align: left;">
<li>title of the article, news, or any other item depending on the use.</li>
<li>description or summary</li>
<li>link to the item page on your website</li>
</ul>
<p style="text-align: left;"><strong>Search information (optional)<br />
</strong></p>
<p style="text-align: left;">Some RSS readers supports search feature for RSS items. You could utilize this by setting up a search script on your host. This would need the following information:</p>
<ul style="text-align: left;">
<li>URL of the search script</li>
<li>title</li>
<li>description</li>
<li>parameter name of the search string variable</li>
</ul>
<p style="text-align: left;">See demo here (<a href="http://underdevelopment.maravillaclan.net/wp-content/uploads/2008/08/sample_rss_v10.php" target="_blank">sample_rss_v1.0</a>).</p>
<p style="text-align: left;">Attached is a simple template that could be used in any application. Like most of my sample template, all the data are hardcoded. They could easily be replaced with data coming from different sources like a database or a scraped html content.</p>
<p style="text-align: left;">Specified header might not be needed but the following could be used:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Type: application/xml; charset=ISO-8859-1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p style="text-align: left;">I&#8217;m Planning to post another using RSS v2.0.</p>
<p style="text-align: left;"><strong>Attachments:</strong></p>
<p style="text-align: left;"><a href="http://underdevelopment.maravillaclan.net/wp-content/uploads/2008/08/sample_rss_v10.zip">sample_rss_v1.0.zip</a></p>
<p style="text-align: left;"><strong>Reference:</strong></p>
<p style="text-align: left;"><a title="RSS" href="http://en.wikipedia.org/wiki/RSS_(file_format)#RSS_1.0" target="_blank">http://en.wikipedia.org/wiki/RSS_(file_format)#RSS_1.0</a></p>
<p style="text-align: left;">This is the first of many sample templates that I&#8217;ll be posting here. I usually just browse through the web to find templates / sample scripts for different web technologies but sometimes good articles disappear and could never be found. Most of the time clients will ask for added features like RSS feeds, integration to payment gateway, email form, etc. The problem is that is no script available to use that is easy enough to modify.</p>
<p style="text-align: left;">My plan here is to have a repository of simple scripts that could easily be copied and pasted to anywhere. I usually put the code part first and the template part next, so expect it on most of the sample scripts posted here.</p>
]]></content:encoded>
			<wfw:commentRss>http://underdevelopment.maravillaclan.net/2008/08/16/php-sample-rss-v10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
