Kylie - A Lightweight Web Browser
#!/bin/sh
# If the file oldnews.shtml is present, it will contain a list of
# all the release notes. In that case we only need to list the most
# recent one here.
oldnews()
{
f=`echo $news|cut -f 1 -d ' '`
s=`basename $f .shtml | cut -c 6-`
echo "News in $s"
echo ""
echo "Old news"
echo " "
exit
}
test -n "$QUERY_STRING" || exit
dir=/var/www/vhosts/"$QUERY_STRING"
cd "$dir" || exit
echo "Content-type: text/html"
echo
news=`ls -t news-*.shtml`
c1="#99ccff"
c2="#ffffff"
bgcolor="$c1"
test -f oldnews.shtml && oldnews
echo " "
for f in $news; do
s=`basename $f .shtml | cut -c 6-`
echo ""
echo "News in $s"
echo " | "
if test "$bgcolor" = "$c1"; then
bgcolor="$c2"
else
bgcolor="$c1"
fi
done
echo " "
It's small, fast and cute: it's Kylie!
More screenshots
Actually, Kylie is a web browser. It does text, images, tables and
soon forms. It doesn't do css, frames or scripting. And it's neither
fast nor cute. That's why it is version 0.0.x.
Dependencies
Kylie requires the Mowitz library. In addition,
the Netpbm collection of graphics tools is necessary to view images.
I am Ulric Eriksson, ulric@siag.nu.
There is a mailing list.
To subscribe, send mail to
majordomo@siag.nu
with the message body:
subscribe kylie
Change log
Download source
Mowitz source
Freshmeat project page
More stuff
#!/bin/sh
echo "Content-type: text/html"
echo
echo ""
Ulric Eriksson - March 2002 - ulric@siag.nu
|