Dede uses the Free List to create a full-site RSS subscription to update the full-site. XML document

Source: Internet
Author: User

Introduction: This is a detailed page on which Dede uses the Free List to create a full-site RSS subscription to update the entire site. XML document. It introduces PHP, related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 344022 'rolling = 'no'>

Dede uses the Free List to create a full-site RSS subscription to update the full-site. XML document-published in: Dede technology-Dede tutorial

1. Copy the followingCode(And save it as rss.htm)

<? XML version = "1.0" encoding = "gb2312"?>
& Lt; RSS version = "2.0" & gt;
<Channel>
<Title >{ Dede: Global. pai_webname/} </title>
<Link> http://598080707.net </link>
<Description >{ Dede: Global. pai_description/} </description>
<Language> ZH-CN </language>
<Generator> {Dede: Global. cmd_webname/} </generator>
<Webmaster> {Dede: Global. pai_adminemail/} </Webmaster>
{Dede: arclist ROW = '000000' Col = '1' titlelen = '000000' orderby = 'pubdate '}
<Item>
<Link> http://598080707.net [field: arcurl/] </link>
<Title> <! [CDATA [[field: title function = 'html2text (@ me) '/]> </title>
<Author> [field: writer/] </author>
<Category> [field: typename/] </Category>
<Pubdate> [field: pubdate function = strftime ('% Y-% m-% d', @ me)/] </pubdate>
<Guid> http://598080707.net [field: arcurl/] </GUID>
<Description> <! [CDATA [[field: description function = 'html2text (@ me) '/]... <br/> <B> Article Category </B>: [field: typename/] <br/> <a href = "http://598080707.net [field: arcurl/] "target =" _ blank "> read the full text </a> | <a target =" _ blank "href =" http://wpa.qq.com/msgrd? V = 3 & uin = 598080707 & Site = QQ & menu = yes "> webmaster QQ: 598080707 </a>]> </description>
</Item>
{/Dede: arclist}
</Channel>
</RSS>

2. Upload the new rss.htm document template to the/templets/default/directory. Dede tutorial-598080707.net
 

3. log on to the management background of zhimeng (/Dede by default), and click "core"> "channel model"> "Free List Management" in the left-side navigation pane.

4. (Click) Add a list.

5. Fill in the new list information, Dede technology-598080707.net
 


6. In fact, the following content is not important. You can enter it at will, as long as you can submit it. We will continue to fill in all the options to be filled in below,

7. Click "Save a list". Now we return to the "add list" Page. Then, pay attention to the right and click "the update in the middle ".


8. click "Update" to go to another page. Then, click "generate html" to generate an HTML file. After the HTML file is updated, the following message is displayed: Create successfully:/RSS. xml click here rss. the XML hyperlink will open RSS. the XML address also contains the displayed content,


8. The tutorials are all over here. We can put this in the header or bottom of the website to facilitate search engine crawling, which is of great help to improve indexing!

Post information: Dede technology bar | classification: Dede tutorial | Address: http://598080707.net/1/63.html

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/344022.html pageno: 5.

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.