From b3e8115c95c79859c2893ac73e9f0bab0db31594 Mon Sep 17 00:00:00 2001 From: "http://www.openid.albertlash.com/openid/" Date: Fri, 18 Jun 2010 20:47:31 +0000 Subject: --- doc/todo/Google_Sitemap_protocol.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/todo/Google_Sitemap_protocol.mdwn') diff --git a/doc/todo/Google_Sitemap_protocol.mdwn b/doc/todo/Google_Sitemap_protocol.mdwn index 057a88b72..6657c9350 100644 --- a/doc/todo/Google_Sitemap_protocol.mdwn +++ b/doc/todo/Google_Sitemap_protocol.mdwn @@ -45,3 +45,13 @@ On [Google Webmaster tools](https://www.google.com/webmasters/tools) you can sub [Google should grok feeds as sitemaps.](http://www.google.com/support/webmasters/bin/answer.py?answer=34654) Or rather [[plugins/inline]] should be improved to support the [sitemap protocol](http://sitemaps.org/protocol.php) natively. -- [[Hendry]] + + +Took me a minute to figure this out so I figured I'd share the steps I took: + +* Added rss=>1 and allowrss=>1 to my setup file +* Created a new page where the RSS would be created with this content, replacing "first_page" with the page in my wiki with the earliest date: + +
+\[\[!inline  pages="* and !*/Discussion and created_after(first_page)" archive="yes" rss="yes" ]]
+
-- cgit v1.2.3 From 4833f486b6ca759e1bcd8acc19e13ef4a0a6063f Mon Sep 17 00:00:00 2001 From: "http://www.openid.albertlash.com/openid/" Date: Fri, 18 Jun 2010 20:48:10 +0000 Subject: don't need to escape the inline tag if its in pre tag --- doc/todo/Google_Sitemap_protocol.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/todo/Google_Sitemap_protocol.mdwn') diff --git a/doc/todo/Google_Sitemap_protocol.mdwn b/doc/todo/Google_Sitemap_protocol.mdwn index 6657c9350..12ac8d036 100644 --- a/doc/todo/Google_Sitemap_protocol.mdwn +++ b/doc/todo/Google_Sitemap_protocol.mdwn @@ -53,5 +53,5 @@ Took me a minute to figure this out so I figured I'd share the steps I took: * Created a new page where the RSS would be created with this content, replacing "first_page" with the page in my wiki with the earliest date:
-\[\[!inline  pages="* and !*/Discussion and created_after(first_page)" archive="yes" rss="yes" ]]
+[[!inline  pages="* and !*/Discussion and created_after(first_page)" archive="yes" rss="yes" ]]
 
-- cgit v1.2.3 From 16ff593ab78409fc3c2482aeb2903e9a3d83b581 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Jun 2010 13:16:31 -0400 Subject: Revert "don't need to escape the inline tag if its in pre tag" This reverts commit 4833f486b6ca759e1bcd8acc19e13ef4a0a6063f. Being in a pre does not stop an inline directive from working. --- doc/todo/Google_Sitemap_protocol.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/todo/Google_Sitemap_protocol.mdwn') diff --git a/doc/todo/Google_Sitemap_protocol.mdwn b/doc/todo/Google_Sitemap_protocol.mdwn index 12ac8d036..6657c9350 100644 --- a/doc/todo/Google_Sitemap_protocol.mdwn +++ b/doc/todo/Google_Sitemap_protocol.mdwn @@ -53,5 +53,5 @@ Took me a minute to figure this out so I figured I'd share the steps I took: * Created a new page where the RSS would be created with this content, replacing "first_page" with the page in my wiki with the earliest date:
-[[!inline  pages="* and !*/Discussion and created_after(first_page)" archive="yes" rss="yes" ]]
+\[\[!inline  pages="* and !*/Discussion and created_after(first_page)" archive="yes" rss="yes" ]]
 
-- cgit v1.2.3 From 9b845ea8132f5677c7466b8747333afba54017b9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Jun 2010 13:17:33 -0400 Subject: one slash is enough to escape --- doc/todo/Google_Sitemap_protocol.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/todo/Google_Sitemap_protocol.mdwn') diff --git a/doc/todo/Google_Sitemap_protocol.mdwn b/doc/todo/Google_Sitemap_protocol.mdwn index 6657c9350..2cf7c61e3 100644 --- a/doc/todo/Google_Sitemap_protocol.mdwn +++ b/doc/todo/Google_Sitemap_protocol.mdwn @@ -53,5 +53,5 @@ Took me a minute to figure this out so I figured I'd share the steps I took: * Created a new page where the RSS would be created with this content, replacing "first_page" with the page in my wiki with the earliest date:
-\[\[!inline  pages="* and !*/Discussion and created_after(first_page)" archive="yes" rss="yes" ]]
+\[[!inline  pages="* and !*/Discussion and created_after(first_page)" archive="yes" rss="yes" ]]
 
-- cgit v1.2.3 From e32bce464305fd8314d8324169a2079516548faf Mon Sep 17 00:00:00 2001 From: BerndZeimetz Date: Wed, 23 Jun 2010 18:44:52 +0000 Subject: It is possible to use google-sitemapgen to create google sitemaps for ikiwiki. --- doc/todo/Google_Sitemap_protocol.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/todo/Google_Sitemap_protocol.mdwn') diff --git a/doc/todo/Google_Sitemap_protocol.mdwn b/doc/todo/Google_Sitemap_protocol.mdwn index 2cf7c61e3..ea8ee7f03 100644 --- a/doc/todo/Google_Sitemap_protocol.mdwn +++ b/doc/todo/Google_Sitemap_protocol.mdwn @@ -34,6 +34,9 @@ for an example. You will probably need to strip out the metadata variables I >>>[xtermin.us rather than localhost](http://xtermin.us/git/?p=website.git;a=blob;f=plugins/googlesitemap.pm) is 404 now. >>> -- weakish + +Although it is not able to read the meta-data from files, using google-sitemapgen [works well for me](http://bzed.de/posts/2010/06/creating_a_google_sitemap_for_ikiwiki/) to create a sitemap for my ikiwiki installation. -- [[bzed|BerndZeimetz]] + There is a [sitemap XML standard](http://www.sitemaps.org/protocol.php) that ikiwiki needs to generate for. # Google Webmaster tools and RSS -- cgit v1.2.3