The document "RSS Content summary for website creation" details the process of creating RSS with ASP. The essential correction is to generate XML documents with ASP.
. The RSS document generated using the method in this article worked well. However, after foxmail6.0's bata2, it won't work anymore.
I thought it was the bug of foxmail6.0 bata2. Later I found it was not.
The reason is that two statements in the generated RSS document do not comply with the XML document specifications:
Sxmlclear = "<? XML version = '1. 0' encoding = 'gb2312 '?> "& Scrlf
Srsshead = "<RSS version = '2. 0'>" & scrlf
The XML statement generated in the statement uses single quotation marks ('), but the standard must use double quotation marks ("). Modify the above two asp statements
You can use the following statement:
Sxmlclear = "<? XML version = "& CHR (34) &" 1.0 "& CHR (34) &" encoding = "& CHR (34) &" gb2312 "& CHR (34)
& "?> "& Scrlf
Srsshead = "<RSS version =" & CHR (34) & "2.0" & CHR (34) & ">" & scrlf
The generated XML statement is:
<? XML version = "1.0" encoding = "gb2312"?>
& Lt; RSS version = "2.0" & gt;
For a new and correct version of "create a website's RSS Content abstract", see:
Http://www.why100000.com/_articles/show_a_article.asp? Autoid = 131 & tab = tabprogram
Zhang Qing zhangking@hotmail.com
Http://www.why100000.com
Http://sogo99.com
QQ: 9365852
2006.9.7