Her er koden:
---snip---
<% DBName="blog"%>
<!-- #include virtual="/include/dbconn.asp" -->
<!-- #include virtual="/include/online_users.asp" -->
<!-- #include virtual="/include/tools.asp" -->
<?xml version="1.0" ?>
<rss version="0.92">
<channel>
<title>blog@piilstil.com</title>
<link>
http://blog.piilstil.com/</link> <description>blog.piilstil.com - en udlands danskers weblog</description>
<docs>
http://backend.userland.com/rss092</docs> <language>da</language>
<%
Set rsPosts = Server.CreateObject("ADODB.Recordset")
sql = "SELECT TOP 10 * FROM DisplayPosts ORDER BY DateCreated DESC;"
rsPosts.Open sql, db
Do While Not rsPosts.EOF
%>
<!-- Log entry start-->
<item>
<title><%=DotDateDK(rsPosts("DateCreated"))%> - <%=FormatDateTime(rsPosts("DateCreated"),4)%></title>
<link><a href="
http://blog.piilstil.com/default.asp?mode=perm&id=<%=rsPosts("ID")%>"></link>
<description>
<%=DisplayDBText(rsPosts("Content"))%>
</description
</item>
<%
rsPosts.MoveNext
Loop
rsPosts.Close
Set rsPosts = Nothing
%>
<!-- Log entry end-->
</channel>
</rss>
---snip---