Commit ec27e434 authored by David Byers's avatar David Byers
Browse files

Reorganized all files.

parent 11e85912
DefaultType text/plain
DefaultType text/css
CVSROOT=$$USER@cvs.lysator.liu.se:/cvsroot/lyskom-elisp-client
#TARGET=/lysator/www/projects/lyskom/klienter/elisp
TARGET=/var/www/lyskom
LANG=sv
DOCDIR = ../doc
all:
./bin/mkindex index-template.xml items
cvs -d $(CVSROOT) co -d $(TARGET) lyskom-elisp-client/web/files
mkdir $(TARGET)/doc
cp $(DOCDIR)/NEWS* $(TARGET)/doc
mv index.en.html $(TARGET)
mv index.sv.html $(TARGET)
ln -sf index.$(LANG).html $(TARGET)/index.html
#!/bin/sh
template=$1
items=$2
en_inverse="\([^e]\|e[^n]\)*"
sv_inverse="\([^s]\|s[^v]\)*"
lang_inverse="\([^<]\|<[^/]\|</[^l]\|</l[^a]\|</la[^n]\|</lan[^g]\|</lang[^>]\)*"
# Make a swedish version without content
function extract_language () {
lang="$1"
inverse="$2"
cat $template | \
sed "s,<lang id=\"$inverse\">$lang_inverse</lang>,,g" |\
sed "s,<lang id=\"$lang\">,,g" |\
sed "s,</lang>,,g" |\
sed "/<!-- CONTENT -->/ r /tmp/elisp-client-items.sv" \
> index.$lang.html
}
function get_lines () {
file=$1
key=$2
grep -i "^$key=" $file | cut -d= -f2-
}
function get_items() {
lang=$1
output="/tmp/elisp-client-items.$lang"
echo > $output
for file in `grep "^SORT" $items/* | sort -n -t= -r -k 2 | cut -d: -f1` ; do
if [ -r "$file" -a -z "`grep '^OLD' $file`" ] ; then
title=`get_lines $file "$lang.TITLE"`
text=`get_lines $file "$lang.TEXT"`
fi
echo '<div class="item">' >> $output
echo "<h2>$title</h2>" >> $output
echo "$text" >> $output
echo "</div>" >> $output
done
}
get_items sv
get_items en
extract_language sv "$sv_inverse"
extract_language en "$en_inverse"
body {
font-family: sans-serif;
font-size: 9pt;
margin-top: 20px;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 20px;
background: #ffffff;
color: #000000;
}
a:link { color: #0000ee; }
a:visited { color: #551a8b; }
a:active { color: #ff0000; }
.icon {
border: 0px;
}
div.item {
border-bottom: 1px solid black;
}
table.box {
background: #f0f0ff;
border: 1px solid #0000e0;
width: 100%;
padding: 0px;
margin: 0px;
border-collapse: collapse;
}
td.boxtitle {
background: #e0e0ff;
padding: 4px;
border: 0px;
margin: 0px;
}
td.boxmain {
padding: 4px;
border: 0px;
margin: 0px;
}
td.body {
padding-top: 0px;
padding-left: 20px;
padding-right: 30px;
padding-bottom: 0px;
margin: 0px;
}
table.main {
padding: 0px;
margin: 0px;
width: 100%;
border-collapse: collapse;
}
table.title {
padding: 0px;
margin: 0px;
width: 100%;
border-top: 1px solid black;
border-bottom: 1px solid black;
margin-bottom: 30px;
}
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="elisp-client.css" type="text/css"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
<html>
<head>
<title>
<lang id="sv">Elispklienten fr LysKOM</lang>
<lang id="en">The LysKOM Elisp Client</lang>
</title>
<link rel="stylesheet" type="text/css" href="elisp-client.css" />
</head>
<body>
<table class="title">
<tr valign="middle">
<td align="left">
<h1>
<i>
<lang id="sv">Elispklienten fr LysKOM</lang>
<lang id="en">The LysKOM Elisp Client</lang>
</i>
</h1>
</td>
<td align="right">
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo-icon.gif" alt="" /></a>
<a href="/Main.html"><img class="icon" src="http://www.lysator.liu.se/icons/wwwlysator.gif" alt="" /></a>
<a href="/lyskom/"><img class="icon" src="http://www.lysator.liu.se/icons/lyskom.gif" alt="" /></a>
<img class="icon" src="http://www.lysator.liu.se/icons/elispclient.gif" alt="" />
<br />
<lang id="sv"><a href="index.en.html">[In English]</a></lang>
<lang id="en"><a href="index.sv.html">[P svenska]</a></lang>
</td>
</tr>
</table>
<table class="main">
<colgroup>
<col width="35%" />
<col width="*" />
</colgroup>
<tr valign="top">
<td>
<!-- Facts box -->
<table class="box">
<tr>
<td class="boxtitle">
<b>
<lang id="sv">Faktaruta</lang>
<lang id="en">Quick Facts</lang>
</b>
</td>
</tr>
<tr valign="top">
<td class="boxmain">
<b>
<lang id="sv">Initiativtagare:</lang>
<lang id="en">Founder:</lang>
</b>
<br />
<a href="http://www.lysator.liu.se/~ceder/">Per Cederqvist</a> <a href="mailto:ceder@lysator.liu.se">&lt;ceder@lysator.liu.se&gt;</a>
<br /><br />
<b>
<lang id="sv">Underhllare:</lang>
<lang id="en">Maintaners:</lang>
</b>
<br />
<a href="http://www.lysator.liu.se/~byers/">David Byers</a> <a href="mailto:byers@lysator.liu.se">&lt;byers@lysator.liu.se&gt;</a><br />
Johan Sundstrm <a href="mailto:jhs@lysator.liu.se">&lt;jhs@lysator.liu.se&gt;</a><br />
Ulrik Haugen <a href="mailto:qha@lysator.liu.se">&lt;qha@lysator.liu.se&gt;</a><br />
<a href="http://joel.rosdahl.net/">Joel Rosdahl</a> <a href="mailto:joel@lysator.liu.se">&lt;joel@lysator.liu.se&gt;</a>
<br /><br />
<b>Version:</b>
0.47 (Augusti 2002)
<br /><br />
<b>Status:</b>
<br />
Stabil<br />
Utvecklas aktivt<br />
Anvnds mycket
<br /><br />
<b>
<lang id="sv">Systemkrav:</lang>
<lang id="en">Requirements:</lang>
</b>
<br />
Gnu Emacs 21.x
<lang id="sv">(rekommenderas)</lang>
<lang id="en">(recommended)</lang>
<br />
Gnu Emacs 20.7<br />
XEmacs 21.4
</td>
</tr>
</table>
<br />
<!-- Links box -->
<table class="box" cellspacing="0">
<tr>
<td class="boxtitle">
<b>
<lang id="sv">Lnkar</lang>
<lang id="en">Links</lang>
</b>
</td>
</tr>
<tr valign="top">
<td class="boxmain">
<b>Download:</b>
<br />
<table border="0" cellspacing="2" cellpadding="0" width="100%">
<tr valign="top">
<td>
<lang id="sv">Alla versioner (FTP):</lang>
<lang id="en">All versions (FTP):</lang>
</td>
<td>
<a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/">Lysators FTP</a>
</td>
</tr>
<tr valign="top">
<td colspan="2">
<br /><i>Version 0.47:</i>
</td>
</tr>
<tr valign="top">
<td>
<lang id="sv">Alla sprk:</lang>
<lang id="en">All languages:</lang>
</td>
<td><a href="lyskom-all-0.47.tar.gz">tarfil</a>, <a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-all-0.47.zip">zipfil</a></td>
</tr>
<tr valign="top">
<td>
<lang id="sv">Svenska:</lang>
<lang id="en">Swedish:</lang>
</td>
<td><a href="lyskom-swedish-0.47.tar.gz">tarfil</a>, <a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-swedish-0.47.zip">zipfil</a></td>
</tr>
<tr valign="top">
<td>
<lang id="sv">Engelska:</lang>
<lang id="en">English:</lang>
</td>
<td><a href="lyskom-english-0.47.tar.gz">tarfil</a>, <a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-english-0.47.zip">zipfil</a></td>
</tr>
<tr valign="top">
<td>
<lang id="sv">Linuxpaket:</lang>
<lang id="en">Linux packages:</lang>
</td>
<td>
<!-- a href="lyskom-elisp-client_0.47-1_all.deb" -->Debian<!-- /a --><br />
<!-- a href="lyskom-elisp-client_0.47.rpm" -->RedHat RPM<!-- /a -->
</td>
</tr>
</table>
<br /><br />
<b>
<lang id="sv">Dokumentation (frldrad)</lang>
<lang id="en">Documentation (obsolete)</lang>
</b>
<br />
<a href="lyskom-manual.html">
Nybrjarintroduktion till LysKOM</a><br />
<a href="lyslat.html">Lisas lathund fr kommandon i elispklienten</a><br />
<a href="elisp-client.html">Den fullstndiga dokumentationen</a><br />
<a href="elisp-faq.html">Ofta stllda frgor om elispklienten</a><br />
<br /><br />
<b>Bugzilla:</b>
<br />
<a href="http://bugzilla.lysator.liu.se/">http:&#47;&#47;bugzilla.lysator.liu.se&#47;</a>
<br /><br />
<b>CVS:</b>
<br />
<a href="http://cvs.lysator.liu.se/viewcvs/viewcvs.cgi/?cvsroot=lyskom-elisp-client">Lysator ViewCVS</a>
<br /><br />
<b>
<lang id="sv">Alla NEWS-filer:</lang>
<lang id="en">All NEWS files:</lang>
</b>
<br />
<a href="doc/NEWS-0.47">0.47</a>
<a href="doc/NEWS-0.46.1">0.46.1</a>
<a href="doc/NEWS-0.46">0.46</a>
<a href="doc/NEWS-0.45.1">0.45.1</a>
<a href="doc/NEWS-0.45">0.45</a>
<a href="doc/NEWS-0.44.1">0.44.1</a>
<a href="doc/NEWS-0.44">0.44</a>
<a href="doc/NEWS-0.43">0.43</a>
<a href="doc/NEWS-0.42">0.42</a>
<a href="doc/NEWS-0.41">0.41</a>
<a href="doc/NEWS-0.40">0.40</a>
<a href="doc/NEWS-0.39">0.39</a>
</td>
</tr>
</table>
</td>
<td class="body">
<!-- CONTENT -->
</td>
</tr>
<tr>
<td colspan="3" align="right">
<p>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
<img src="vcss.png" alt="Valid CSS 1.0" class="icon" />
</a>
<a href="http://validator.w3.org/check/referer">
<img src="valid-xhtml10.png" alt="Valid XHTML 1.0" class="icon" />
</a>
</p>
</td>
</tr>
</table>
</body>
</html>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
<html>
<head>
<title>The LysKOM Elisp Client</title>
<style type="text/css">
body {
font-family: sans-serif;
font-size: 9pt;
margin-top: 20px;
margin-left: 10px;
margin-right: 30px;
margin-bottom: 30px;
background: #ffffff;
color: #000000;
}
a:link { color: #0000ee; }
a:visited { color: #551a8b; }
a:active { color: #ff0000; }
.icon {
border: 0px;
}
</style>
</head>
<body>
<p style="border-top: 1px solid"></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="middle">
<td align="left">
<h1>
<i>The LysKOM Elisp Client</i>
</h1>
</td>
<td align="right">
<a href="/"><img class="icon" src="http://www.lysator.liu.se/icons/lyslogo-icon.gif" alt="" /></a>
<a href="/Main.html"><img class="icon" src="http://www.lysator.liu.se/icons/wwwlysator.gif" alt="" /></a>
<a href="/lyskom/"><img class="icon" src="http://www.lysator.liu.se/icons/lyskom.gif" alt="" /></a>
<img class="icon" src="http://www.lysator.liu.se/icons/elispclient.gif" alt="" />
<br />
<a href="index.sv.html">[P svenska]</a>
</td>
</tr>
</table>
<p style="border-top: 1px solid"><br /></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<colgroup>
<col width="35%" />
<col width="*" />
</colgroup>
<tr valign="top">
<td>
<!-- Facts box -->
<table cellspacing="0" cellpadding="1" border="0" style="background: #0000e0" width="100%">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="3" width="100%" style="background: #e0e0ff">
<tr valign="top">
<td>
<b>Quick facts</b>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="3" width="100%" style="background: #f0f0ff">
<tr valign="top">
<td>
<b>Founder:</b><br />
<a href="http://www.lysator.liu.se/~ceder/">Per Cederqvist</a> <a href="mailto:ceder@lysator.liu.se">&lt;ceder@lysator.liu.se&gt;</a>
<br /><br />
<b>Maintainers:</b><br />
<a href="http://www.lysator.liu.se/~byers/">David Byers</a> <a href="mailto:byers@lysator.liu.se">&lt;byers@lysator.liu.se&gt;</a><br />
Johan Sundstrm <a href="mailto:jhs@lysator.liu.se">&lt;jhs@lysator.liu.se&gt;</a><br />
Ulrik Haugen <a href="mailto:qha@lysator.liu.se">&lt;qha@lysator.liu.se&gt;</a><br />
<a href="http://joel.rosdahl.net/">Joel Rosdahl</a> <a href="mailto:joel@lysator.liu.se">&lt;joel@lysator.liu.se&gt;</a>
<br /><br />
<b>Version:</b>
0.47 (August 2002)
<br /><br />
<b>Status:</b>
<br />
Stable<br />
Actively maintained<br />
Large user base
<br /><br />
<b>Requirements:</b>
<br />
Gnu Emacs 21.x (recommended)<br />
Gnu Emacs 20.7<br />
XEmacs 21.4
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<!-- Links box -->
<table cellspacing="0" cellpadding="1" border="0" style="background: #0000e0" width="100%">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="3" width="100%" style="background: #e0e0ff">
<tr valign="top">
<td>
<b>Lnkar</b>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="3" width="100%" style="background: #f0f0ff">
<tr valign="top">
<td>
<b>Download:</b>
<br />
<table border="0" cellspacing="2" cellpadding="0" width="100%">
<tr valign="top">
<td>All versions:</td>
<td>
<a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/">Lysators FTP</a>
</td>
</tr>
<tr valign="top">
<td colspan="2">
<br /><i>Version 0.47:</i>
</td>
</tr>
<tr valign="top">
<td>All languages: </td>
<td><a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-all-0.47.tar.gz">tarfil</a>, <a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-all-0.47.zip">zipfil</a></td>
</tr>
<tr valign="top">
<td>Swedish: </td>
<td><a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-swedish-0.47.tar.gz">tarfil</a>, <a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-swedish-0.47.zip">zipfil</a></td>
</tr>
<tr valign="top">
<td>English: </td>
<td><a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-english-0.47.tar.gz">tarfil</a>, <a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/lyskom-english-0.47.zip">zipfil</a></td>
</tr>
<tr valign="top">
<td>Linux packages: </td>
<td><a href="ftp://ftp.lysator.liu.se/pub/lyskom/elisp-client/debian/lyskom-elisp-client_0.47-1_all.deb">Debian</a></td>
</tr>
</table>
<br /><br />
<b>Documentation (obsolete):</b>
<br />
<a href="lyskom-manual.html">Nybrjarintroduktion till LysKOM</a><br />
<a href="lyslat.html">Lisas lathund fr kommandon i elispklienten</a><br />
<a href="elisp-client.html">Den fullstndiga dokumentationen</a><br />
<a href="elisp-faq.html">Ofta stllda frgor om elispklienten</a><br />
<br /><br />
<b>Bugzilla:</b>
<br />
<a href="http://bugzilla.lysator.liu.se/">http:&#47;&#47;bugzilla.lysator.liu.se&#47;</a>
<br /><br />
<b>CVS:</b>
<br />
<a href="http://cvs.lysator.liu.se/viewcvs/viewcvs.cgi/?cvsroot=lyskom-elisp-client">Lysator ViewCVS</a>
<br /><br />
<b>All NEWS-files (swedish only):</b>
<br />
<a href="doc/NEWS-0.47">0.47</a>
<a href="doc/NEWS-0.46.1">0.46.1</a>
<a href="doc/NEWS-0.46">0.46</a>
<a href="doc/NEWS-0.45.1">0.45.1</a>
<a href="doc/NEWS-0.45">0.45</a>
<a href="doc/NEWS-0.44.1">0.44.1</a>
<a href="doc/NEWS-0.44">0.44</a>
<a href="doc/NEWS-0.43">0.43</a>
<a href="doc/NEWS-0.42">0.42</a>
<a href="doc/NEWS-0.41">0.41</a>
<a href="doc/NEWS-0.40">0.40</a>
<a href="doc/NEWS-0.39">0.39</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="width: 10px">
&nbsp;
</td>
<td>
<h2>Version 0.47 released</h2>
<p>
<i>August 2002</i> &bull; Version 0.47 of the LysKOM elisp
client is now available (see the links to the left). This
version is fully compatible with the Emacs versions listed
under the system requirements, and works with somewhat
reduced functionality in Gnu Emacs 19.34.
</p>
<p>
See the <a href="doc/NEWS-0.47">NEWS file for 0.47</a>
(swedish only) for more information on the new and
improved features in this version.
</p>
<p style="border-top: 1px solid" />
<h2>Bug reports in bugzilla</h2>
<p>
<i>June 2002</i> &bull; Since some time all bug reports
and feature requests for the elisp client are listed in <a
href="http://bugzilla.lysator.liu.se/">Lysator's
bugzilla</a>.
</p>
<p>
Use bugzilla to vote for your favorite bug and to report
new bugs and suggest enhancements.
</p>
</td>
</tr>
<tr>
<td colspan="3" align="right">
<p>
<a href="http://jigsaw.w3.org/css-validator/validator-uri.html">