Correction and description of the article "create a website RSS Content abstract"

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.