Changes between Version 25 and Version 26 of GoogleSitemapPlugin
- Timestamp:
- Oct 4, 2017, 8:50:16 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GoogleSitemapPlugin
v25 v26 5 5 == Description 6 6 7 This plugin produces a site map XML file for submission to the [https://www.google.com/webmasters/sitemaps/docs/en/about.html Google sitemap service]. The sitemap is a way to describe your site's content other than depending on a crawler that follows every link. It is suitable for dynamic sites with lots of different URLs for basically the same content .7 This plugin produces a site map XML file for submission to the [https://www.google.com/webmasters/sitemaps/docs/en/about.html Google sitemap service]. The sitemap is a way to describe your site's content other than depending on a crawler that follows every link. It is suitable for dynamic sites with lots of different URLs for basically the same content and it allows your web site to be found better and searched better. 8 8 9 9 The plugin can be configured to notify Google by sending a PING request to their site when content on your Trac has changed (Trac 0.10 version only). 10 10 For now, wiki pages and tickets are supported in the sitemap. Other things like source code and pages produced by other plugins could also be included. 11 12 This is what a sample sitemap XML could look like: 13 14 {{{#!xml 15 <?xml version="1.0" encoding="UTF-8"?> 16 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" 17 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 18 xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> 19 <url> 20 <loc>http://yourtracurl/tracproject/wiki/WikiStart</loc> 21 <lastmod>2010-11-07T15:37:07Z</lastmod> 22 <changefreq>daily</changefreq> 23 </url> 24 <url> 25 <loc>http://yourtracurl/tracproject/wiki/SomePage</loc> 26 <lastmod>2010-11-07T16:22:35Z</lastmod> 27 <changefreq>daily</changefreq> 28 </url> 29 </urlset> 30 }}} 31 32 More about the document format can be found [https://www.google.com/webmasters/sitemaps/docs/en/protocol.html here]. 11 33 12 34 '''Fork:''' I have made a [https://github.com/trac-hacks/trac-googlesitemapplugin fork on GitHub] with some improvements/fixes. Feel free to [https://github.com/trac-hacks/trac-googlesitemapplugin/issues suggest new features]. … … 54 76 }}} 55 77 56 Restart your web server or Trac server. 78 Restart your web server or Trac server: 79 {{{#!sh 80 $ trac-admin /path/to/env deploy /deploy/path 81 }}} 57 82 58 83 == Configuration … … 75 100 Default: TICKET_CREATE, TICKET_MODIFY, WIKI_CREATE, WIKI_VERSION_DELETE, WIKI_MODIFY, WIKI_RENAME. 76 101 77 == Example78 79 This is what a sample sitemap XML could look like:80 81 {{{#!xml82 <?xml version="1.0" encoding="UTF-8"?>83 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"84 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"85 xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">86 <url>87 <loc>http://yourtracurl/tracproject/wiki/WikiStart</loc>88 <lastmod>2010-11-07T15:37:07Z</lastmod>89 <changefreq>daily</changefreq>90 </url>91 <url>92 <loc>http://yourtracurl/tracproject/wiki/SomePage</loc>93 <lastmod>2010-11-07T16:22:35Z</lastmod>94 <changefreq>daily</changefreq>95 </url>96 </urlset>97 }}}98 99 More about the document format can be found [https://www.google.com/webmasters/sitemaps/docs/en/protocol.html here].100 101 102 == Recent Changes 102 103