From f6fab048b73e0b2d1deb2c3c93703fdacf4b5e22 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 29 Aug 2015 00:16:10 -0600 Subject: [PATCH] Update domain name to kpe.io --- debian/control | 6 +++--- debian/copyright | 2 +- debian/upload.sh | 2 +- debian/watch | 2 +- doc/readme.html | 4 ++-- doc/readme.lml | 8 ++++---- downloads.lisp | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) mode change 100755 => 100644 debian/upload.sh diff --git a/debian/control b/debian/control index 7658d77..53aee04 100644 --- a/debian/control +++ b/debian/control @@ -5,9 +5,9 @@ Maintainer: Kevin M. Rosenberg Build-Depends-Indep: dh-lisp Build-Depends: debhelper (>> 7.0.0) Standards-Version: 3.8.3.0 -Homepage: http://lml2.b9.com/ -Vcs-Git: git://git.b9.com/lml2.git -Vcs-Browser: http://git.b9.com/?p=lml2.git +Homepage: http://lml2.kpe.io/ +Vcs-Git: git://git.kpe.io/lml2.git +Vcs-Browser: http://git.kpe.io/?p=lml2.git Package: cl-lml2 Architecture: all diff --git a/debian/copyright b/debian/copyright index 53df345..3803f4d 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,7 @@ Debian Copyright Section ======================== -Upstream Source URL: http://files.b9.com/lml2 +Upstream Source URL: http://files.kpe.io/lml2 Upstream Authors: Kevin M. Rosenberg John Federaro, Franz Inc Debian Maintainer: Kevin M. Rosenberg diff --git a/debian/upload.sh b/debian/upload.sh old mode 100755 new mode 100644 index da8f692..525c7fe --- a/debian/upload.sh +++ b/debian/upload.sh @@ -1,3 +1,3 @@ #!/bin/bash -e -dup lml2 -Ufiles.b9.com -D/home/ftp/lml2 -C"(umask 022; cd /opt/apache/htdocs/lml2; make install)" -su $* +dup lml2 -Ufiles.kpe.io -D/home/ftp/lml2 -C"(umask 022; cd /opt/apache/htdocs/lml2; make install)" -su $* diff --git a/debian/watch b/debian/watch index 110187c..b12f069 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,3 @@ version=3 -http://files.b9.com/lml2/lml2-([\d\.]*)\.tar\.gz +http://files.kpe.io/lml2/lml2-([\d\.]*)\.tar\.gz diff --git a/doc/readme.html b/doc/readme.html index e1ff2f7..97da184 100644 --- a/doc/readme.html +++ b/doc/readme.html @@ -1,7 +1,7 @@ -LML2 README

LML2 Documentation

Overview

LML2 is a Common Lisp package for generating HTML and XHTML documents. LML2 is based on:

The home page for LML2 is http://lml2.b9.com/.

Prerequisites

Differences between LML2 and LML

The syntax and HTML generation for LML2 are based on Franz's htmlgen macro. Personally, I like the syntax of LML better than LML2, but there are advantages of Franz's approach:

  • Faster compilation and runtime HTML generation
  • Behavior of tags is extensible

Differences between LML2 and htmlgen

  • LML2 is XHTML compatible with close tags so that (html :hr) now produces '<hr />'
  • Lowercase tag names so that (html ((:p class 'a))) now produces '<p class="a"></p>
  • Addition of new tags such as :insert-file, :nbsp, :jscript
  • Removal of the if* macro from the htmlgen.lisp source code
  • Incorporation of LML's standard site macro and other helper functions.
  • Addition of special attribute tags (:if :when :optional :format :format
  • Automatic quoting of attribute values for non-string values
  • Post macroexpansion code walker to collape sequential write-string calls

Installation

The easiest way to install LML is to use the Debian GNU/Linux operating system. You can then use the command apt-get install cl-lml2 to automatically download and install the LML2 package.

On a non-Debian system, you need to have ASDF installed to load the system definition file. You will need to change the source +LML2 README

LML2 Documentation

Overview

LML2 is a Common Lisp package for generating HTML and XHTML documents. LML2 is based on:

The home page for LML2 is http://lml2.kpe.io/.

Prerequisites

Differences between LML2 and LML

The syntax and HTML generation for LML2 are based on Franz's htmlgen macro. Personally, I like the syntax of LML better than LML2, but there are advantages of Franz's approach:

  • Faster compilation and runtime HTML generation
  • Behavior of tags is extensible

Differences between LML2 and htmlgen

  • LML2 is XHTML compatible with close tags so that (html :hr) now produces '<hr />'
  • Lowercase tag names so that (html ((:p class 'a))) now produces '<p class="a"></p>
  • Addition of new tags such as :insert-file, :nbsp, :jscript
  • Removal of the if* macro from the htmlgen.lisp source code
  • Incorporation of LML's standard site macro and other helper functions.
  • Addition of special attribute tags (:if :when :optional :format :format
  • Automatic quoting of attribute values for non-string values
  • Post macroexpansion code walker to collape sequential write-string calls

Installation

The easiest way to install LML is to use the Debian GNU/Linux operating system. You can then use the command apt-get install cl-lml2 to automatically download and install the LML2 package.

On a non-Debian system, you need to have ASDF installed to load the system definition file. You will need to change the source pathname in the system file to match the location where you have installed LML.

Usage

Currently, there is no documentation on the functions provided by LML2. However, the source code is instructive and there are example files included in the LML2 package.

Examples

Iteration
(html
    (:i "The square of the first five integers are: ")
    (:b (loop as x from 1 to 5 
-           doing (html  (:princ (* x x))))))
The square of the first five integers are: 1 4 9 16 25

View this page's LML2 source.

\ No newline at end of file + doing (html (:princ (* x x))))))The square of the first five integers are: 1 4 9 16 25

View this page's LML2 source.

\ No newline at end of file diff --git a/doc/readme.lml b/doc/readme.lml index 3fe668f..0d308b9 100644 --- a/doc/readme.lml +++ b/doc/readme.lml @@ -16,19 +16,19 @@ (:h1 "LML2 Documentation") (:h2 "Overview") (:p - ((:a :href "http://lml2.b9.com") "LML2") + ((:a :href "http://lml2.kpe.io") "LML2") " is a Common Lisp package for generating HTML and XHTML documents." " LML2 is based on:") (:ul - (:li ((:a :href "http://lml.b9.com") "LML") " by " + (:li ((:a :href "http://lml.kpe.io") "LML") " by " ((:a :href "mailto:kevin@rosenberg.net") "Kevin Rosenberg")) (:li "htmlgen by " ((:a :href "http://www.franz.com") "Franz, Inc."))) (:p "The home page for LML2 is " - ((:a :href "http://lml2.b9.com/") "http://lml2.b9.com/") + ((:a :href "http://lml2.kpe.io/") "http://lml2.kpe.io/") ".") (:h2 "Prerequisites") @@ -91,7 +91,7 @@ :hr (:p "View this page's " - ((:a :href "http://lml2.b9.com/") "LML2") + ((:a :href "http://lml2.kpe.io/") "LML2") " " ((:a :href "readme.lml") "source") ".") diff --git a/downloads.lisp b/downloads.lisp index 33d8615..6509fee 100644 --- a/downloads.lisp +++ b/downloads.lisp @@ -66,7 +66,7 @@ (defun display-footer (dl-data) (when (dl-data-signed dl-data) (lml-princ "

GPG Public Key

") - (lml-princ "Use this key to verify file signtatures")) + (lml-princ "Use this key to verify file signtatures")) (lml-princ "")) (defun print-sect-title (title dl-data) -- 2.34.1