First, what is RSS feed
RSS is "Really Simple Syndication" or "Richsite summary" (site summary) Chinese name. Is a simple way and other sites to share content between sites used. English abbreviation for the RSS technology.
RSS is an aggregation of information technology, it is a simple information dissemination and sharing of content delivery way between a site and other sites , so that a website can easily call content from other sites offer RSS subscription service, thereby forming a very efficient information aggregation , so that the content published on the website in the spread of a larger context . He is for sharing news and other data exchange specification WEB content , is the most widely used kind of eXtensible Markup Language.
Two, sakura configure RSS
Hexo themes more common configuration steps
-
Install plug
npm install hexo-generator-feed
-
The main arrangement
_config.yml
the end of the sentence added# Extensions ## Plugins: http://hexo.io/plugins/ #RSS订阅 plugin: hexo-generator-feed #Feed Atom feed: type: atom #RSS的类型(atom/rss2) path: atom.xml #文件路径,默认是atom.xml/rss2.xml limit: 20 #展示文章的数量,使用0或则false代表展示全部 hub: content: #在RSS文件中是否包含内容 ,有3个值 true/false默认不填为false content_limit: 140 #指定内容的长度作为摘要,仅仅在上面content设置为false和没有自定义的描述出现 content_limit_delim: ' ' #上面截取描述的分隔符,截取内容是以指定的这个分隔符作为截取结束的标志.在达到规定的内容长度之前最后出现的这个分隔符之前的内容,,防止从中间截断. order_by: -date icon: #icon.png
-
Theme configuration
themes\sakura\_config.yml
text at the end add# 简易信息聚合,站点共享 rss: /atom.xml
-
Operating results (that is, to convert the home into a rapid push content label short, RSS viewer can quickly access the latest blog)