Files
ningbo/动易的标签库/标签库/博客类/博客标签列表.config
T
2026-08-31 16:22:00 +08:00

47 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>博客类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="2903" compatibleVersion="" />
<attributes>
<name>linkOpenType</name>
<datatype>string</datatype>
<default>_blank</default>
<intro>打开方式:默认为新窗口打开</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP @outputQty PE_BG_Tag.* FROM PE_BG_Tag ORDER BY QuoteTimes DESC</LabelSqlString>
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:param name="linkOpenType" />
<xsl:param name="tagLength" />
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<a><xsl:attribute name="href">
<xsl:value-of select="pe:InstallDir()"/>blog/search.aspx?searchtype=3&amp;Keyword=<xsl:value-of select="TagName"/>
</xsl:attribute>
<xsl:attribute name="target">
<xsl:value-of select="$linkOpenType"/>
</xsl:attribute>
<xsl:value-of select="pe:CutText(TagName,$tagLength,'')"/>
</a>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<datatype>supersql</datatype>
<default>30</default>
<intro>显示标签数</intro>
</attributes>
<attributes>
<name>tagLength</name>
<datatype>string</datatype>
<default>15</default>
<intro>标签长度</intro>
</attributes>
</root>