]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/google/discussion.mdwn
patch for googleform.tmpl to produce valid XHTML
[git.ikiwiki.info.git] / doc / plugins / google / discussion.mdwn
1 This plugin uses the googleform.tmpl
2 which produces valid HTML but invalid XHTML.
3 This is not very good since the default ikiwiki
4 templates produce XHTML instead of HTML.
6 To produces valid XHTML, you need to edit
7 googleform.tmpl (in e.g. /usr/share/ikiwiki/templates):
10     --- googleform.tmpl.orig    2009-02-13 02:47:00.000000000 -0600
11     +++ googleform.tmpl 2009-02-13 02:47:40.000000000 -0600
12     @@ -1,6 +1,6 @@
13      <form method="get" action="http://www.google.com/search" id="searchform">
14       <div>
15     -  <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden">
16     -  <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text">
17     +  <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden" />
18     +  <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text" />
19       </div>
20      </form>
22 Just tow tiny changes.