Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of generating XML with DEDE5.7 single-page document

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you the method of using DEDE5.7 single-page documents to generate XML. I hope you will gain a lot after reading this article. Let's discuss it together.

How to generate XML with DEDE5.7 single-page documents?

The method of generating XML with DEDE5.7 single-page document

1. Create a new template you want to generate (suffix htm)

Example:

two。 Make a separate page and generate the xml file

Channel management-- > individual page management-- > add a page

Page name: dede generate xml

Template file name: the new htm name created in step 1

File name: xc.xml

(the path here is filled in according to the actual path)

Whether to compile: yes

Page content: novice note: the code should be entered in the source file (code). Do not enter in the editor!

For example, the content of the line you want to cycle through

Then:

{dede:arclist row='8' titlelen='36' imgheight='' type='3'} {/ dede:arclist}

3. Replace the newly created htm template content in step 1.

According to the content of the loop in the second step

Then

{dede:field name='body'/} after reading this article, I believe you have a certain understanding of the method of using DEDE5.7 single-page documents to generate XML. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report