Skip to content
Branch: master
Find file History
wilbur ma
wilbur ma update readme
Latest commit 9c3e831 Dec 25, 2012
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
img
lang
README.md
documentation.txt add all the sitemaps plugin files Dec 24, 2012
readme-ar_AR.txt
readme-it_IT.txt
readme.txt add all the sitemaps plugin files Dec 24, 2012
readme.txt.original
screenshot-1.gif
screenshot-2.gif
screenshot-3.gif
sitemap-core.php
sitemap-core.php.new
sitemap-core.php.orig add all the sitemaps plugin files Dec 24, 2012
sitemap-core.php.original
sitemap-qtranslate.php add all the sitemaps plugin files Dec 24, 2012
sitemap-ui.php
sitemap.php
sitemap.php.original
sitemap.xsl add all the sitemaps plugin files Dec 24, 2012

README.md

针对Google XML Sitemaps v3 for qTranslate的修改

修改内容和使用方法

修改sitemap-core.php,使其在生成分类目录(category)和标签(tag)页的url时也添加lastmod,如下

<url>
    <loc>http://blog.atime.me/tag/ssh/</loc> 
    <lastmod>2012-12-11T08:44:37+00:00</lastmod> 
    <changefreq>weekly</changefreq> 
    <priority>0.3</priority> 
</url> 

如果使用Google XML Sitemaps v3 for qTranslate3.2.8.1版本,可以直接使用patch文件。

不足之处

  • 删除文章(post)和页面(page)时,无法删除对应的页面缓存,也无法更新包含删除文章或页面的缓存(比如文章存档,月归档,标签和文章分类页面)等,请手动删除对应的缓存。
You can’t perform that action at this time.