<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">

<channel>
<title>Nyheter Kallblodsklassikern</title>
<description>Nyheter Kallblodsklassikern</description>
<link>http://www.kallblodsklassikern.se</link>

<%
'�a databasen
Set Databas = Server.CreateObject( "Adodb.Connection" )
Databas.Provider = "Microsoft.Jet.OLEDB.4.0"
MdbFilePath = Server.MapPath("db\theDB.mdb")
Databas.ConnectionString = "Data Source='" & MdbFilePath & "'"
Databas.open


Set RecSet = Databas.Execute("SELECT TOP 5 * FROM theTable WHERE theType='news' ORDER BY theDate DESC")

If Not RecSet.Eof Then
Do until RecSet.Eof
%>

<item>
<title><%=RecSet("theIngress")%></title>
<link>http://www.kallblodsklassikern.se/viewNews.asp?id=<%=RecSet("theID")%></link>
<description><%=Left(RecSet("theText"),200)%>...</description>
</item>

<%
RecSet.MoveNext
Loop
End If

RecSet.Close : Set RecSet = Nothing
Databas.Close
set Databas = nothing 'st㭧er databasen f�ela sidan
%>
</channel>
</rss>