html --> rss ...?

admin

Administrator
Staff member
Really really new with the whole XML and RSS stuff. Is it possible to create some sort of script on a webpage that will automate the process of creating an rss feed? So for instance, on this page: <!-- m --><a class="postlink" href="http://www.cityofpoulsbo.com/news.asp">http://www.cityofpoulsbo.com/news.asp</a><!-- m --> you have the headlines down the left side with their links and the names. What I want is to turn this:

<p><a href=http://www.webdeveloper.com/forum/archive/index.php/"news.asp?id=1">Kitsap County Task Force</a></p>
<p><a href="news.asp?id=2">Municipal Campus</a></p>
Into this, automatically:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
<title>City of Poulsbo, Washington</title>
<link>http://www.cityofpoulsbo.com/</link>
<description>The official website for the City of Poulsbo, WA</description>

<item>
<title>Kitsap County Task Force</title>
<link>http://cityofpoulsbo.com/news.asp?id=1</link>
</item>

<item>
<title>Proposed Municipal Campus</title>
<link>http://cityofpoulsbo.com/news.asp?id=2</link>
</item>

</channel>
</rss>
Or would this just be too complicated to make it worthwhile?
 
Back
Top