[MKDoc-commit] [1.6] Search results tweaked to display the URL as 1.8 does and also the

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Wed Dec 14 12:57:53 GMT 2005


Log Message:
-----------
[1.6] Search results tweaked to display the URL as 1.8 does and also the <span>
that wrapped the description has been removed for XHTML validity since it will
now have a <p> in it due this this change:
https://lists.webarch.co.uk/pipermail/mkdoc-commit/2005-December/001071.html

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/search:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/search/Attic/en.html,v
retrieving revision 1.1.2.19
retrieving revision 1.1.2.20
diff -Ltemplates/search/en.html -Ltemplates/search/en.html -u -r1.1.2.19 -r1.1.2.20
--- templates/search/en.html
+++ templates/search/en.html
@@ -283,23 +283,19 @@
             petal:content="result/title"
           >Some Result</a>
         </dt>
-        <dd> 
-          <span
-            lang="en"
-            xml:lang="en"
-            dir="ltr"
-            petal:attributes="lang result/lang; xml:lang result/lang; dir result/dir"
+        <dd
+          petal:attributes="lang result/lang; xml:lang result/lang; dir result/dir"
+        > 
+          <div
+            petal:omit-tag=""
             petal:content="structure as_html_blocks: result/description"
           >
             This is the description of some interesting document.
-          </span>
+          </div>
           <br />
-          <small>
-          (Score: 
-            <em 
-              petal:content="result/score"
-            >100%</em>)
-          </small>
+          <small 
+            petal:content="result/uri"
+          >http://www.example.org/blah/blah/</small>
         </dd>
       </dl>
   


More information about the MKDoc-commit mailing list