Theme.xml format specification of Z-Blog theme production specification

media coverage zero three hundred and sixty-three

The Theme.xml file of the Z-Blog theme contains some information about the theme. The following describes the content information contained in the Theme.xml file, so that users who want to create themes can easily create themes and Theme.xml files. (ThemeSapper The (TS) plug-in provides an editor for the Theme.xml document. Users who do not know much about XML can generate standard topic information documents through this editor   TS also provides a packager that matches the online installation package version in case of demand.)

 Theme.xml format specification of Z-Blog theme production specification

Sample Document

 <? xml version="1.0" encoding="UTF-8" standalone="yes"?> <theme version="0.1"> <id>Default</id> <name>Default Theme</name> <url> </url> <note>The default theme of Z-Blog</note> <author> <name>zx.asd</name> <url> </url> <email> </email> </author> <source> <name>zx.asd</name> <url> </url> <email> </email> </source> <plugin> <name></name> <note></note> <type></type> <path></path> <include><! [CDATA[]]></include> <level></level> </plugin> <version>1.0</version> <adapted>Z-Blog 1.8</adapted> <pubdate>2005-2-18</pubdate> <modified>2007-7-15</modified> <description><! [CDATA[ <p>The default theme of Z-Blog. All styles in the forum style area are suitable for this theme template</ p> ]]></description> </theme>

Program description

  • Theme indicates that this document is subject information, and its attribute version indicates the version number of this document format.

  • ID, question ID, that is, the directory name where the topic is stored.

  • Name, subject name, both in Chinese and English.

  • Url, the web address of the published topic.

  • Note, introduction to the topic.

  • Author, the subject author.

  • Name, author name.

  • Url, the author's web address.

  • Email, the author's email.

  • Source, the original author of the topic.

  • Name, the name of the original author.

  • Url, the original author's web address.

  • Email, the original author's email.

  • Plugin, the theme comes with a plug-in.

  • Name, plug-in name.

  • Note, plug-in introduction.

  • Type, plug-in type (such as inline, outline).

  • Path, the plug-in home page file (such as main. asp).

  • Include, plug-in includes files, CDATA! (e.g.).

  • Level, plug-in permissions ("1" is administrator, "2" is advanced user, and so on).

  • Version, the version number of the theme itself.

  • Adapted, which is applicable to the blog version of the topic.

  • Pubdate, the release date of the topic.

  • Modified: the last modification date of the topic.

  • Description, detailed description of the topic, HTML can be used, but it is not necessary to use newline tags, CDATA!.

Message from netizens:

I would like to comment:

◎ Welcome to participate in the discussion. Please express your views and exchange your views here.
 Verification Code