What is RSS

xiaoxiao2021-03-06  22

http://www.rssnet.cn/modules/ICONTENT/INDEX.PHP pterPage=16

What is RSS

A website, in order to let more visitors can see their own web pages, make a file called RSS files. The format of the file is different from the general webpage, which separates other webpages, publishing dates, summary, authors, and links. Visitors use a specific RSS reader software, you can read the RSS file without having to log in to this website, see the title, summary, link of all the pages indicated in the file, and click Browse the web. Through the above, the visitor can collect many RSS files from different websites in their own readers, without having to access these websites one by one. The RSS reader actually became the reader's own personalized information library. For websites, RSS methods are also beneficial. It expands the propagation of the content of the website, and also adds website access, because visitors' attention to RSS files and browsing web pages are downloaded from the website server. The URL of the RSS file is fixed, and the website can change the content at any time. Once the RSS content is updated, the content seen by the browser is updated. What is the literal meaning of RSS? It is a word written in a phrase, what is it? There are three statements: 1, Really Simple Syndication abbreviation. 2, the abbreviation of Rich Site Summary (abstract site summary). 3, the abbreviation of RDF Site Summary (Summary of RDF Site). What is RDF? Let's talk later.

The normal web page is written in the HTML label language, and the RSS file is written in the XML language. Below is an example of the RSS file: - - Basketball - NBA News </ title> - <image> <title> Sports - Basketball </ title> <link> http://sports.sina.com.cn/basketball </ link> <url> http://image2.sina.com.cn/ty/ Up / 1_6-64-1322-3419_2003080523227.gif </ url> </ image> <description> Basketball-NBA News </ description> <link> http://sports.sina.com.cn/basketball/index.shtml </ link> <language> EN-CN </ Language> <Generator> www.sina.com.cn </ generator> <TTL> 5 </ TTL> <Copyright> Copyright 1996 - 2004 Sina Inc. All Rights Reserved < / Copyright> <Pubdate> Thu, 3 Mar 2005 10:13:36 GMT </ pubdate> <category /> - <item> <title> Rocket "The King of Mistakes" self-blamed can not be forgiven / title> <link> http://sports.sina.com.cn/k/2005-03-03/18121428335.shtml </ link> <author> www.sina.com.cn </ author> <guid> Http://rss.sina.com.cn/guid/p6t12d1355056 <category> Basketball-NBA News </ category> <Pubdate> Thu, 3 Mar 2005 10:12:24 GMT </ Pubdate> <Comments /> <Description> Beijing time on March 3, the Rockets came 98-101, but unfortunately, it was not able to continue the gas of the bull yesterday. Potential. McGrady contributed 26 points, Yao Ming only got 11 points and 7 rebounds. After the rocket opened, I have been in a backward. In less than 2 minutes, I have used a 10-2 to expand the advantage to 15 points, and Van Gundi quickly suspended. After that, the Rockets began to fight. "We .... </ description> </ item> </ channel> </ RSS> You can see that this RSS file includes two parts: the first half indicates RSS title, picture, description, language, publisher , Copyright, release date and other information, the second half is the basic information of the article entitled "Rockets" wrong "self-blaming unforgettable unnovuct to unless" not pass ", including title, link address, author, category , Publishing, article, description, etc.</p> <p>Wherein, the second half can be repeated, but the specific content can be related to other articles. These article addresses points to different web pages, respectively. Visitors use the RSS reader, see this picture:</p> <p>The left exit shows the RSS title, in this case, "Basketball-NBA News". The uppermost half of the right is all articles included in the current RSS file; the lower half window displays the description of the selected article (ie, a summary). Click "Reading Details", you can transfer this article (ie, web page) to the reader, and browse.</p> <p>(聚 网: http://www.rssnet.cn)</p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-39820.html</div><div class="plugin d-flex justify-content-center mt-3"></div><hr><div class="row"><div class="col-lg-12 text-muted mt-2"><i class="icon-tags mr-2"></i><span class="badge border border-secondary mr-2"><h2 class="h6 mb-0 small"><a class="text-secondary" href="tag-2.html">9cbs</a></h2></span></div></div></div></div><div class="card card-postlist border-white shadow"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>New Post</b>(<span class="posts">0</span>) </div><div></div></div></div><ul class="postlist list-unstyled"> </ul></div></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="39820" checked /></div></div></div></div></div><footer class="text-muted small bg-dark py-4 mt-3" id="footer"><div class="container"><div class="row"><div class="col">CopyRight © 2020 All Rights Reserved </div><div class="col text-right">Processed: <b>0.041</b>, SQL: <b>9</b></div></div></div></footer><script src="./lang/en-us/lang.js?2.2.0"></script><script src="view/js/jquery.min.js?2.2.0"></script><script src="view/js/popper.min.js?2.2.0"></script><script src="view/js/bootstrap.min.js?2.2.0"></script><script src="view/js/xiuno.js?2.2.0"></script><script src="view/js/bootstrap-plugin.js?2.2.0"></script><script src="view/js/async.min.js?2.2.0"></script><script src="view/js/form.js?2.2.0"></script><script> var debug = DEBUG = 0; var url_rewrite_on = 1; var url_path = './'; var forumarr = {"1":"Tech"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script><script src="view/js/wellcms.js?2.2.0"></script><a class="scroll-to-top rounded" href="javascript:void(0);"><i class="icon-angle-up"></i></a><a class="scroll-to-bottom rounded" href="javascript:void(0);" style="display: inline;"><i class="icon-angle-down"></i></a></body></html><script> var forum_url = 'list-1.html'; var safe_token = '5kaDj8_2FzoUFDBKr4kzdpludI8fehUzrOvM8MTZZF4ikDeskiBx5We_2BbgREbpgmTbyZokWKNM4f4Tf0Xx'; var body = $('body'); body.on('submit', '#form', function() { var jthis = $(this); var jsubmit = jthis.find('#submit'); jthis.reset(); jsubmit.button('loading'); var postdata = jthis.serializeObject(); $.xpost(jthis.attr('action'), postdata, function(code, message) { if(code == 0) { location.reload(); } else { $.alert(message); jsubmit.button('reset'); } }); return false; }); function resize_image() { var jmessagelist = $('div.message'); var first_width = jmessagelist.width(); jmessagelist.each(function() { var jdiv = $(this); var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); var jmessage_width = Math.min(jdiv.width(), maxwidth); jdiv.find('img, embed, iframe, video').each(function() { var jimg = $(this); var img_width = this.org_width; var img_height = this.org_height; if(!img_width) { var img_width = jimg.attr('width'); var img_height = jimg.attr('height'); this.org_width = img_width; this.org_height = img_height; } if(img_width > jmessage_width) { if(this.tagName == 'IMG') { jimg.width(jmessage_width); jimg.css('height', 'auto'); jimg.css('cursor', 'pointer'); jimg.on('click', function() { }); } else { jimg.width(jmessage_width); var height = (img_height / img_width) * jimg.width(); jimg.height(height); } } }); }); } function resize_table() { $('div.message').each(function() { var jdiv = $(this); jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>'); }); } $(function() { resize_image(); resize_table(); $(window).on('resize', resize_image); }); var jmessage = $('#message'); jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '6rem'); }); jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); }); $('#nav li[data-active="fid-1"]').addClass('active'); </script>