1. xemacs
  2. xemacsweb

Commits

adriana  committed 5e00f5d

[xemacsweb PATCH] New About/Website.content, batch-psgml-validate.el change, minor changes <uwvhd8k5m.fsf@ecf.teradyne.com>

  • Participants
  • Parent commits 40c81f9
  • Branches default

Comments (0)

Files changed (7)

File About/ChangeLog

View file
  • Ignore whitespace
+2000-08-19  Adrian Aichner  <aichner@ecf.teradyne.com>
+
+	* Website.content: New, documenting XEmacs website on sourceforge.
+
 2000-08-18  Adrian Aichner  <aichner@ecf.teradyne.com>
 
 	* created.content: Remove empty lines in genpage % directives to

File About/Website.content

View file
  • Ignore whitespace
+%title%
+XEmacs Website on Sourceforge
+%author%
+Adrian Aichner
+%main%
+            <h1>XEmacs Website on Sourceforge</h1>
+            <p>
+              This website started out as a copy of the XEmacs site
+              hosted by tux.org.  Here is a list of key features the
+              new site provides:</p>
+            <ul>
+              <li><p>All site content is under CVS control</p></li>
+              <li><p>CVS commits update the website automatically</p></li>
+              <li><p>HTML document changes are validated against their
+                  DTD automatically</p></li>
+              <li><p>All intra-site links are relative to allow site
+                  mirroring and link-tesing in developers working
+                  directory</p></li>
+              <li><p>Website development model is fully in line with
+                  XEmacs development model</p></li>
+              <li><p>Site update <a href="../logs/">logs</a> are available via HTTP</p></li>
+            </ul>

File ChangeLog

View file
  • Ignore whitespace
+2000-08-19  Adrian Aichner  <aichner@ecf.teradyne.com>
+
+	* batch-psgml-validate.el (batch-psgml-validate-buffer): Find DTD
+	as suggested by Jerry James <james@eecs.ukans.edu> in
+	http://www.xemacs.org/list-archives/xemacs-beta/200008/msg00251.html
+	* template.html: Add link to website documentation.
+
 2000-08-18  Adrian Aichner  <aichner@ecf.teradyne.com>
 
 	* index.content: Remove empty lines in genpage % directives to

File Documentation/ChangeLog

View file
  • Ignore whitespace
+2000-08-19  Adrian Aichner  <aichner@ecf.teradyne.com>
+
+	* index.content: Fix HMTL error I introduced.
+
 2000-08-18  Adrian Aichner  <aichner@ecf.teradyne.com>
 
 	* packageGuide.content: Remove empty lines in genpage % directives

File Documentation/index.content

View file
  • Ignore whitespace
               <li><a href="http://www.emacs.org/FAQ/faq_toc.html">FSF/GNU Emacs FAQ</a></li>
               <li><a href="http://www.ccs.neu.edu/software/contrib/gnus/">Gnus FAQ</a></li>
               <li><a href="http://www.wonderworks.com/vm/FAQ.html">VM FAQ</a></li>
+            </ul>

File batch-psgml-validate.el

View file
  • Ignore whitespace
       (setq new-result-begin (point))
       (insert
        (format
-        "<!DOCTYPE HTML PUBLIC \"%s\">\n"
-        (sgml-entity-text
-         (sgml-lookup-entity
-          "HTML.Version"
-          (sgml-dtd-parameters sgml-dtd-info)))))
+        "%s\n"
+        ;; As suggested in
+        ;; http://www.xemacs.org/list-archives/xemacs-beta/200008/msg00251.html
+        (save-excursion
+          (goto-char (point-min))
+          (sgml-with-parser-syntax
+           (let (start)
+             (sgml-skip-upto "MDO")
+             (setq start (point))
+             (sgml-skip-upto-mdc)
+             (forward-char 1)
+             (buffer-substring start (point)))))))
       (html-quote-region new-result-begin (point))
       (insert
-       ", PSGML "
+       "<br>Automatically validated by PSGML "
        psgml-version ", "
        emacs-version ".</small>\n"))
     (when indent

File template.html

View file
  • Ignore whitespace
               <a href="<!-- _GP_ relPath(qq{About/Y2Kstatement.html}) -->">Year 2000 Statement</a><br>
               <img src="<!-- _GP_ relPath(qq{Images/blank.gif}) -->" width="5" height="1" alt="">
               <a href="<!-- _GP_ relPath(qq{Develop/devTeam.html}) -->">Who Wrote XEmacs?</a><br>
+              <a href="<!-- _GP_ relPath(qq{About/Website.html}) -->">Website</a><br>
             </font>
             <br>
             <font size="3"><strong>Getting XEmacs</strong></font><br>
           <!-- spacer row -->
           <td colspan="6" bgcolor="#CCCCCC"><img src="<!-- _GP_ relPath(qq{Images/blank.gif}) -->" width="1" height="10" alt=""></td></tr>
     </table>
-    <small>Conform with &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
-      , PSGML 1.2.1, 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid.</small>
+    <small>Conform with &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
+      "http://www.w3.org/TR/REC-html40/loose.dtd"&gt;
+      <br>Automatically validated by PSGML 1.2.1, 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid.</small>
   </body>
 </html>