summaryrefslogtreecommitdiff
path: root/doc/plugins/google
diff options
context:
space:
mode:
authorhttp://weakish.int.eu.org/ <http://weakish.int.eu.org/@web>2009-02-13 04:21:06 -0500
committerJoey Hess <joey@kitenet.net>2009-02-13 04:21:06 -0500
commit206b583c0db7551dd9ec0f36d0f46018fd0f77e2 (patch)
tree3ea8fbdead92a50fec632b27cd3e8cde59351241 /doc/plugins/google
parent442f3ab0aba88b61abecf23c6f9539ea494e9537 (diff)
patch for googleform.tmpl to produce valid XHTML
Diffstat (limited to 'doc/plugins/google')
-rw-r--r--doc/plugins/google/discussion.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/plugins/google/discussion.mdwn b/doc/plugins/google/discussion.mdwn
new file mode 100644
index 000000000..c18157665
--- /dev/null
+++ b/doc/plugins/google/discussion.mdwn
@@ -0,0 +1,22 @@
+This plugin uses the googleform.tmpl
+which produces valid HTML but invalid XHTML.
+This is not very good since the default ikiwiki
+templates produce XHTML instead of HTML.
+
+To produces valid XHTML, you need to edit
+googleform.tmpl (in e.g. /usr/share/ikiwiki/templates):
+
+
+ --- googleform.tmpl.orig 2009-02-13 02:47:00.000000000 -0600
+ +++ googleform.tmpl 2009-02-13 02:47:40.000000000 -0600
+ @@ -1,6 +1,6 @@
+ <form method="get" action="http://www.google.com/search" id="searchform">
+ <div>
+ - <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden">
+ - <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text">
+ + <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden" />
+ + <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text" />
+ </div>
+ </form>
+
+Just tow tiny changes.