Frederic De Groef avatar Frederic De Groef committed 9768c10

made the html xhtml1.1 compatible wherever i could (everything except gehol urls)

Comments (0)

Files changed (4)

templates/course.html

         </p>
         <br/>
         <p>
-            <strong>Reminder:</strong> The files you download and import from this service are frozen snapshots taken from the GeHoL service.
+            <strong>Important reminder:</strong> The files you download and import from this service are frozen snapshots taken from the GeHoL service.
             We hope you find it useful, but we won't be able to notify you of possible schedule changes if they occur.
             We have no technical mean to do so.
 

templates/index.html

             <fieldset style="border:none">
                 <label for="course_mnemo">Put the 8 characters (5 letters, 3 numbers) course mnemonic in the input box below:</label>
                 <br/>
-                <input type="text" class="text" name="course_mnemo" id="course_mnemo" style="width:100%;">
+                <input type="text" class="text" name="course_mnemo" id="course_mnemo" style="width:100%;"/>
                 <div style="text-align:center">
-                    <input type="submit" value="Get schedule" >
+                    <input type="submit" value="Get schedule"/>
                 </div>
             </fieldset>
         </form>
     </div>
 
     <br/><br/>
-    <hr>
+    <hr/>
     <br/><br/>
 
 
             <fieldset style="border:none">
                 <label for="gehol_url">Paste the complete GeHoL URL for your schedule in the input box below (<a href="/questions#geholurl">Wait, what?</a>):</label>
                 <br/>
-                <input type="text" id="gehol_url" name="gehol_url" class="text" style="width:100%">
-                <div style="text-align:center"><input type="submit" value="Get schedule"></div>
+                <input type="text" id="gehol_url" name="gehol_url" class="text" style="width:100%"/>
+                <div style="text-align:center"><input type="submit" value="Get schedule"/></div>
 
             </fieldset>
         </form>

templates/main.html

-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-        "http://www.w3.org/TR/html4/loose.dtd">
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-    <link type="text/css" rel="stylesheet" href="/stylesheets/blueprint/screen.css"  media="screen, projection">
-    <link type="text/css" rel="stylesheet" href="/stylesheets/blueprint/plugins/buttons/screen.css" media="screen, projection">
-    <link rel="stylesheet" href="/stylesheets/blueprint/print.css" type="text/css" media="print">
+    <link type="text/css" rel="stylesheet" href="/stylesheets/blueprint/screen.css"  media="screen, projection"/>
+    <link type="text/css" rel="stylesheet" href="/stylesheets/blueprint/plugins/buttons/screen.css" media="screen, projection"/>
+    <link rel="stylesheet" href="/stylesheets/blueprint/print.css" type="text/css" media="print"/>
     <!--[if  IE ]>
-    <link rel="stylesheet" href="/stylesheets/blueprint/ie.css" type="text/css" media="screen, projection">
+    <link rel="stylesheet" href="/stylesheets/blueprint/ie.css" type="text/css" media="screen, projection"/>
     <![endif]-->
     
     <!-- Google Analytics-->
             <div id="banner">
                 <strong><a href="/"> Gehol Importer </a></strong>
             </div>
-            <hr>
+            <hr/>
         </div>
 
         <!-- dynamic content -->
             <div class="box">
                 {% if gehol_is_down %}
                     <span style="vertical-align:top;">
-                    <img src="/stylesheets/blueprint/plugins/buttons/icons/cross.png" alt="">
+                    <img src="/stylesheets/blueprint/plugins/buttons/icons/cross.png" alt="oh noes"/>
                     GeHoL server is offline.
                     </span>
                     <br/>
                     <br/>
                 {% else %}
                     <span style="vertical-align:top;">
-                        <img src="/stylesheets/blueprint/plugins/buttons/icons/tick.png" alt="">
+                        <img src="/stylesheets/blueprint/plugins/buttons/icons/tick.png" alt=""/>
                         GeHoL server is online
                     </span>
                     <br/>
         <div class="span-24 last">
             <div style="text-align: center;">
                 <br/>
-                <hr>
+                <hr/>
                 <p>
                     Painless layout made possible through the
                     <a href="http://www.blueprintcss.org/">Blueprint CSS framework</a>

templates/questions.html

             Events are then created and converted to <a href="http://en.wikipedia.org/wiki/ICalendar">iCalendar</a> or
             <a href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV</a> files.
             As far as we're concerned, these files are just another way to present the exact same information.
-        </p><p>
+        </p>
+        <p>
             If you won't take our word for it, you can have a look at the source code of our underlying library on this
             <a href="http://bitbucket.org/sevas/geholimport">bitbucket repository</a>.
             You can even contribute, if you're into that sort of things.
             You'll need to go <a href="http://164.15.72.157/GeHoL/horaire_anet.php">here</a> and select the values of interest as you normally would.
             The first two values are mandatory. The third one should be selected only if it makes sense to you. The fourth value won't be used, as we will
             generate events for the whole term. At the end, you should get something like this:
+        </p>
         <p>
             <a href="/media/Horaires.png"><img src="/media/Horaires.png" width="100%" alt="Get yourself a GeHoL URL, for awesome superpowers" /></a>
         </p>
         <h3>Something went wrong, what can I do? </h3>
         <p>
             We tried to test this service with many different sorts of schedules, from every faculty.
-            However, parsing that kind of HTML is very fragile. We're not helped by the fact that the GeHoL/Scientia&reg; service sometimes yields incomplete data.
-            It would help if you could report unsuccessful queries to this address :  <a href="mailto:geholimportapp@gmail.com?subject=Something about Gehol Importer">geholimportapp@gmail.com</a>.
+            However, parsing that kind of HTML is very fragile. We're not helped by the fact that the GeHoL/Scientia&reg;
+            service sometimes yields incomplete data.
+            It would help if you could report unsuccessful queries to this address :
+            <a href="mailto:geholimportapp@gmail.com?subject=Something about Gehol Importer">geholimportapp@gmail.com</a>.
         </p>
     </div>
 
         </p>
         <p>
             <span class="quiet"><i>Updated: the layout should be fixed now. The above remark is still valid, though</i></span>
-        <p/>
+        </p>
     </div>
 
     <div class="faq-entry">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.