Commits

Rhys !  committed fef1a8e

now serving xhtml+xml

  • Participants
  • Parent commits 60f1443

Comments (0)

Files changed (2)

File site/booklist_hit2316.shpaml

         tr
             td
                 > input type=checkbox name=item value=4 checked=checked
-            td | User Interface Design & Evaluation
+            td | User Interface Design & Evaluation
             td | Prescribed Text
-            td | Stone & Woodroffe
+            td | Stone & Woodroffe
             td.number | 9780120884360
             td.number | 6
             td.number | $112.95

File site/wrapper.shpaml

 {{py: left_links = (('Home', 'index.php'), ('Academic staff', 'construction.php'), ('Booklists', 'booklists.php'), ('Second-hand textbooks', 'construction.php'), ('Product list', 'product_list.php'), ('Request an item', 'construction.php'), ('Contact us', 'construction.php'), ('Locations', 'construction.php'), ('Information', 'construction.php')) }}
-<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
+<?php
+    header('Content-Type: application/xhtml+xml; charset=utf-8');
+    echo '<?xml version="1.0" encoding="utf-8"?>';
+    echo "\n";
+?>
 <!DOCTYPE html>
 html xmlns=http://www.w3.org/1999/xhtml xml:lang=en
     head
         > link rel=stylesheet href={{self.stylesheet}}.css
       {{endif}}
         > link rel="shortcut icon" type=image/x-icon href=http://www.swinburne.edu.au/favicon.ico
-        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
-        <script src="jquery.cookie.js"></script>
-        <script src="global.min.js"></script>
+        > script src=https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
+        > script src=jquery.cookie.min.js
+        > script src=global.min.js
       {{if self.get.script}}
-        <script src="{{self.script}}.js"></script>
+        > script src={{self.script}}.min.js
       {{endif}}
     body
         #midbar