Blog and RSS knowledge popularization comes from: http://www.chinaui.com/text/t1.asp? Id = 588
□ Author: Bluesky 2004-10-8 11:16:39
This article describes the concepts from Blog to RSS. Among them, some interesting blog concepts. This is a good start-up tutorial for a primary user who is willing to understand Blog. For old birds, it is also a finishing. From: http://msdn.microsoft.com/msdnmag/issues/04/04/xmlfiles/default.aspx What is Blog? Blog is a referusion of Web Log (Translator Note: That is, the gateway (mainland China is also called blog)). It is an intermediary with readers to interact with log styles. In the software community, people have become more and more popular in the form of a network. Such as: http://blogs.msdn.com is a blogging on the MSDN. What is the easiest way to build a network? To build your own web, the easiest way is to register a new user like blogger.com, which provides a web interface that creates a custom server, and you can use the created Weigns now. There are many sites like Blogger.com, which provide support for web-encyclopedia. If you want more to control the infrastructure of the net, you want to build a network service system on your own server. You can choose one of the most popular networks to apply commercial products: Radio Userland, Manila and Movable Type. Some are easy to use free .NET web network applications can be used, the most popular: .text and dasblog. Just download them down and then install and set according to the installation instructions, and a running network service system can be established in minutes. Functional speaking, these two .NET-based web-based application systems are not up and down. Its main difference is that .Text requires databases, SQL Server or MSDE, and Dasblog stores all information in the XML file (it is based on the Blogx framework created by some Microsoft developers), and the other difference is .Text in a single installation configuration Multiple webmarks can be supported (this is like this http://blogs.msdn.com), and Dasblog is to support multiple servings and must be installed multiple times. But Dasblog has a very prominent feature, which is "mail to weblog", which allows you to post new information through email. The new MSDN network service site and PDC Bloggers are all good destinations on software development topics. As long as you browse these sites, you can read the aggregated predetermined content. Its predetermined summary will open a lot of personal websites to you, and you will naturally find some content you prefer to read. This way, you can book your favorite personal network summary. For a web that specializes in XML and Web services, check out the list on the MSDN Web Services Developer Center, I personally spend a lot of time. What is Feed (hereinafter referred to as a feed), how to book it? The network provides a summary of the contents of the RSS document, which can be obtained by well known URL. The RSS document is an XML file that contains a large number of discrete news items, such as entry items in a web (see Figure 1 for the RSS Equation). Since RSS is an XML format file, it is easy to be used by other programs. The RSS aggregator is a program that reads the RSS document and displays the news item. Most aggregators use the URL of the RSS to make the predetermined summary possible. RSS makes reading the network easy. Most developers who often read the network have used some type of aggregator to help them filter the summary content.
The aggregator makes reading the Internet feel like reading emails because they highlight the news items and buffer the news items for offline reading (see Figure 2). There are also some online RSS aggregators to take RSS to bundle to a separate website. Its advantage is that it is easy to set up and you can access your feedn content from any computer. Of course, its disadvantages are also obvious, that is, it must always be connected when reading. RSS is the root of a powerful new information exchange form. Before the server appears, most developers usually spend a lot of time to filter off those who are unrelated. The network will give the control to the reader by letting the reader chooses the summary to read, so that the personalized content stream is effectively constructed. Other types of sites can also utilize the advantages of RSS to aggregate content. For example, most mainstream news sites include Wired, CNET, Yahoo, and NPR NEWS provide RSS feed. Access BlogDigger and Syndic8, you can find some sites that support RSS. Microsoft's MSDN provides RSS feeds to aggregate newly added to the site's technical content. MSDN's Just Public Published is a major way to keep MSDN new articles and downloads. Even MSDN Magazine (MSDN Magazine) has its own RSS feed! You can book: http://msdn.microsoft.com/msdnmag/rss/recent.xml Get every month update to see what is the content? There are currently many RSS aggregators to choose from http://blogs.law.harvard.edu/tech/directory/5/AGGREGATORS, you can find a fairly complete list. Some of them are online aggregators, while others are desktop applications. Some are free, and some other pay can be used. Which RSS version is most common? The answer to this question To see who you ask, the RSS version has a lot, 0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0. It is necessary to figure out the difference between these versions is one of the huge challenges. Understand them need to know some historical backgrounds about them. Netscape created the initial version of RSS 0.90, the initial name is "RDF Site Summary" or "Rich Site Summary" (the former is a formal name in the specification). Netscape created RSS 0.90 for its web portal, this time, others saw RSS's use potential. Userland Software is one of the first one who started RSS for its network of business products. Version 0.90 is largely W3C-based Resource Description Framework (RDF). Many people think that RDF is too complicated, so it is recommended a free simplified version 0.91. This task gives Userland Software. Userland Software continues to develop the simplified version of RSS, and the released versions include: 0.92, 0.93 and 0.94. In order to emphasize its simplified work, they set the full name of the RSS as "Really Simple Syndication". Just when Userland Software continues to focus on its simplified work, another group of developers are revive the initial RDF version (0.90) because RSS is more flexible. They finally released a version of RSS 1.0, its official name or "RDF Site Summary". Due to the use of RDF, this version is completely different from the version controlled by the USERland Software.
Userland Software, is certainly not willing to see RSS 1.0 seems to replace its 0.94 version of the facts, so I have a new version, and jump the version number to 2.0. This is this situation today, forming two major competitive versions: one RDF 1.0, and the other is not (2.0), but they share the same name. This is a terrible confusion because the version number causes people to think that 2.0 is a 1.0 improvement version, and in fact they are completely different from two goals. Another group of developers have begun to solve this chaotic problem, by defining a new summary specification, the randomity of the RSS name. This solution is called Atom (atom) project. This article will be discussed in detail later. Which version is actually unrelated, most RSS aggregation mechanisms support all RSS versions (some even support Atom). The ultimate decision depends on whether you want to use RDF, it can be described as radish cabbage, each has love, it is completely depends on the semantic web concept of someone. What does RSS 1.0 and RSS 2.0 do? The core information contained in the RSS 1.0 and 2.0 format is the same, but its structure is different. I provided an RSS 1.0 document (see figure 1) and an equivalent RSS 2.0 (see figure 2) for control. You will notice the difference in root elements on the right side of the top line, the root element of RSS 1.0 is RDF: RDF, and the root element of RSS 2.0 is RSS. The RSS also includes a forced version attribute to indicate the exact format of the RSS used (possible values including: 0.91, 0.94, etc.). Another major difference is that the RSS 1.0 document has a name space limit, and the documentation of RSS 2.0 is not. In any case, the information contained in two documents is essentially the same. Both versions contain Channel elements, and the Channel element also contains three must-have elements: Title, Description and Link, which code is as follows: Code
In addition to these must-have elements, RSS 1.0 also defines three additional elements: image, items, and textinput, where image and textinput are optional. On the other hand, RSS 2.0 provides 16 additional elements, including Image, Items, and TextInput, there are also Language, Copyright, ManagingEditor, Pubdate, and Category. RSS 1.0 allows this type of metadata to be created by defining scalable elements in a separate XML namespace. These two formats in structure must be in the representation of their Item, Image, and TextInput nodes. In RSS 1.0, the Channel element contains references to Item, Image, and TextInput nodes, which exist outside the Channel node itself. This creates an RDF association between Channel and the referenced nodes. As shown in Figure 1, the CHANNEL element is associated with an Image element and two ITEM elements. In RSS 2.0, the ITEM element is only continuously discharged in the CHANNEL element (as shown in Figure 2). Item elements include actual news item information. The structure of the Item is the same in two versions. Item elements typically contain Title, Link, and Description elements, as shown in the following code: Code
In RSS 1.0, Title and Link are must be, Description is optional. In RSS 2.0, Title or Description must provide one of them; others can choose. These just define the ITEM element in RSS 1.0. RSS 2.0 offers several other optional elements, including Author, Category, Comments, Enclosure, GUID, Pubdate, and Source. RSS 1.0 Gets such metadata is implemented by defining a scalable element called an RSS module in a separate XML name space. For example, in Figure 1, the date of the item is represented by the