Click to See Complete Forum and Search --> : html --> rss ...?


hooloovoo24
11-28-2005, 01:44 PM
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: http://www.cityofpoulsbo.com/news.asp you have the headlines down the left side with their links and the names. What I want is to turn this:

<p><a href="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?

LiLcRaZyFuZzY
11-28-2005, 01:46 PM
Is your content from a database?

hooloovoo24
11-28-2005, 01:49 PM
er...no.