ASP - google sitemap XML
Hej Eksperter,Jeg er ved at lave et google sitemap, men får følgende fejl:
Active Server Pages error 'ASP 0238'
Missing attribute value
/google.asp, line 1
No value was specified for the 'file' attribute.
Koden ser således ud, hvad er galt?
<!--#INCLUDE file=""Includes/mssqlconn.asp"" -->
<%
Response.Write("<?xml version='1.0' encoding='UTF-8'?>")
Response.Write("<urlset>")
Call opentbl(""SELECT * FROM SEO ORDER BY Dato DESC"", rs)
do while not rs.eof
Response.Write("<url>")
Response.Write("<loc>"&rs("link")&"</loc>")
Response.Write("<changefreq>hourly</changefreq>")
Response.Write("<priority>1.00</priority>")
Response.Write("</url>")
rs.movenext
loop
Call closetbl(rs)
Response.Write("</urlset>")%>
%>