热点报道 发表于 2008-10-10 14:29:53

vivvo 搜索引擎优化的title头部代码优化

作者:柳华芳<head>
        <base href="{VIVVO_URL}" />
        <title><vte:if test="{PAGE_TITLE}">
                <vte:value select="{PAGE_TITLE}" />-</vte:if><vte:if test="{article}">
                <vte:value select="{article.get_title}" />-<vte:foreach item="crumb" from="{article.get_breadcrumb}">-<vte:value select="{crumb.get_category_name}" />
                </vte:foreach></vte:if><vte:value select="{VIVVO_WEBSITE_TITLE}" /><vte:if test="{TITLE} neq ''"> - <vte:value select="{TITLE}" /></vte:if></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="generator" content="Vivvo 4" />
        <meta name="generation-time" content="$generation_time$" />
        <link rel="search" type="application/opensearchdescription+xml" href="{VIVVO_URL}openSearch.php" title="{VIVVO_WEBSITE_TITLE}" />
        {$meta_names__}
        {$rss__}
        {$css__}
        {$scripts__}
</head>
页: [1]
查看完整版本: vivvo 搜索引擎优化的title头部代码优化