What is RSS?
RSS is an easy way for sites to share content between them (also called aggregated content) and is often used for news and other sites arranged in order, such as blogs. An introduction to a project may include a full introduction to the news, etc. Or just extra content or a brief introduction. Links to these projects can usually be linked to all content. Network users can read website content that supports RSS output without opening the website content page on the client side with the help of RSS-enabled news aggregation software (such as FeedDemon, SharpReader, NewzCrawler). The website provides RSS output, which is conducive to allowing users to discover updates on the website content.
How does RSS work?
First of all, you generally need to download and install an RSS news reader, and then subscribe to the content of the news section of your interest from the aggregated news directory list provided by the website. After subscribing, you will get the latest content from the news channel you subscribed to in a timely manner.
What are the characteristics of reading RSS news?
1. There are no advertisements or pictures to affect the reading of the title or article summary.
2. RSS reader automatically updates your customized website content to keep news timely.
3. Users can join multiple customized RSS feeds, collect news from multiple sources and integrate them into a single data stream.
With the popularity of the Internet, more and more people are accustomed to obtaining information and querying information through the Internet. Although various portals are emerging, it is indeed very troublesome to shuttle back and forth between various websites. Search engines can help us search for anything we want, but it is also troublesome to find. Now a new information method has appeared on the Internet. It can deliver all the information we subscribe to to our desktop. Not only can we keep up with the latest news information in a timely manner, but it also eliminates the annoying online advertisements when browsing websites. This latest information method is called information aggregation, referred to as RSS.
Through RSS technology, we can receive the latest information of subscriptions on the computer desktop. To receive RSS information, using an RSS reader is the best way. When the website content is updated, the RSS reader will automatically receive the latest information and receive the latest information on the local computer desktop. At the same time, you can see the title and summary of the latest information. Click the title to view the full text content. Since the rise of "blogs" in China last year, RSS resources have gradually increased. At the same time, major websites have also launched RSS services. Usually, as long as you see the XML logo on the website, it means that the website provides RSS services.
FeedDemon, Kantianxia Network Information Browser, Sina Diandiantong Reader, Zhou Botong, etc. are common RSS readers.
The code copy is as follows:
<%
Dim Rs,Newrss
Class Rss
'********************* Input parameters************************
'******************************************************
'SetConn Connection object used by the required website
'SetSql Required Sql query statement. It is strongly recommended to use the Top keyword in Sql statements
' Fields contained in Sql statements [News Id, Title, Content, Time, Static Page Name]
' Note: Don't reverse the order
'If the news is not a generated static page, there is no last item and the value of SetPageType is 1
'SetWebName Required website name
'SetWebUrl The address of the required website