Re: Including files (without a web server)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Including files (without a web server)

From: Andy Dingley <dingbat@codesmiths.com>
Date: Thu Feb 09 2006 - 22:58:20 CET

On 9 Feb 2006 03:21:39 -0800, griffithsj_520@hotmail.com wrote:

>What this will do is to provide a list of most recent changes to the
>software we're shipping. The idea is that there would be an un-ordered
>list <ul/> with a list of changes (not sure of final desired mark-up).

Use RSS. Excellent for this sort of task.

RSS 1.0 is more extensible than the others.

> This "changes"
>file would then be "included" in some way into a parent file that
>contains all the branding and other information.

XSLT. Put the "branding" in the stylesheet and the "content" in the
RSS/XML. The a couple of lines of Perl / JScript / shell script calls an
XSLT engine and makes a HTML page out of the results.
Received on Mon May 1 03:13:13 2006