| 1 | = Google sitemap generator = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This plugin will handle requests of the URL /sitemap.xml and will produce XML suitable 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's suitable for dynamic sites with lots of different URLs for basically the same content. |
| 6 | |
| 7 | The plugin will notify Google by sending a PING request to their site whenever content on your trac has changed. For now, wiki pages are supported in the sitemap, but tickets will eventually follow. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for GoogleSitemapPlugin are |
| 12 | [report:9?COMPONENT=GoogleSitemapPlugin here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=GoogleSitemapPlugin&owner=datenimperator new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:googlesitemapplugin here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out GoogleSitemapPlugin from [http://trac-hacks.org/svn/googlesitemapplugin here] using Subversion, or [source:googlesitemapplugin browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | This is how a sitemap XML could look like: |
| 28 | |
| 29 | {{{ |
| 30 | #!xml |
| 31 | <?xml version="1.0" encoding="UTF-8"?> |
| 32 | <urlset> |
| 33 | <url> |
| 34 | <loc>http://localhost/wiki/ImageTest</loc> |
| 35 | <lastmod>2006-11-07 15:37:07.961000</lastmod> |
| 36 | <changefreq>daily</changefreq> |
| 37 | </url> |
| 38 | </urlset> |
| 39 | }}} |
| 40 | |
| 41 | More about the document format can be found [https://www.google.com/webmasters/sitemaps/docs/en/protocol.html here]. |
| 42 | |
| 43 | == Recent Changes == |
| 44 | |
| 45 | [[ChangeLog(googlesitemapplugin, 3)]] |
| 46 | |
| 47 | == Author/Contributors == |
| 48 | |
| 49 | '''Author:''' [wiki:datenimperator] [[BR]] |
| 50 | '''Contributors:''' |