-- Got the www scripts working properly.

This commit is contained in:
dfs
1999-10-18 20:08:54 +00:00
parent 76938d27f9
commit d45b590e59
3 changed files with 7 additions and 7 deletions

View File

@@ -3,10 +3,10 @@
# Copyright (C) 1992-1997 by David F. Skoll
# Copyright (C) 1999 by Roaring Penguin Software Inc.
# $Id: Makefile,v 1.11 1999-10-18 19:58:46 dfs Exp $
# $Id: Makefile,v 1.12 1999-10-18 20:08:54 dfs Exp $
# The complete name of your www host. Example: www.mycompany.com
WWWHOST = shevy.skoll.ca
WWWHOST = localhost
# WWWHOST = www.mycompany.com
# The complete path to where the scripts actually live, as seen by

View File

@@ -4,7 +4,7 @@
# Copyright (C) 1992-1997 by David F. Skoll
# Copyright (C) 1999 by Roaring Penguin Software Inc.
# $Id: hebdate.rem-DIST,v 1.6 1999-04-05 17:35:17 dfs Exp $
# $Id: hebdate.rem-DIST,v 1.7 1999-10-18 20:08:55 dfs Exp $
BANNER %
IF !$PSCAL
@@ -161,7 +161,7 @@ ENDIF
IF !$PSCAL
REM 20 ++40 msg Also available: <a HREF="http://your.machine/your.dir/cal_dispatch?hebps">a PostScript calendar</a> (about 35KB) for %m %y, complete with Hebrew dates, Jewish holidays, and moon phases for Ottawa. (This takes a few seconds to generate.)
REM 20 ++40 msg And: <a HREF="http://your.machine/your.dir/cal_dispatch?hebhtml">an HTML version</a> of the above. (No moons, and your browser must handle tables.)
REM 20 ++40 msg And: <a HREF="http://your.machine/your.dir/cal_dispatch?hebhtml">an HTML version</a> of the above. (Your browser must handle tables.)
ELSE
[trigger(moondate(0))] SPECIAL MOON 0
[trigger(moondate(1))] SPECIAL MOON 1

View File

@@ -1,8 +1,8 @@
#!/bin/perl
#!/usr/bin/perl
# rem2html
#
# $Id: rem2html,v 1.9 1999-10-18 19:55:14 dfs Exp $
# $Id: rem2html,v 1.10 1999-10-18 20:08:56 dfs Exp $
#
# A script to convert from the output of "remind -p" to Hyper-Text Markup
# Language (HTML), the text format used in WWW documents. By default, it
@@ -45,7 +45,7 @@ $rem2html_version = "1.0";
# Backgound color -- unfortunately, most Web browsers (as of 14 October 1999)
# do not correctly handle transparency in PNG images, so I had to make the
# moon image background white.
$Options{'bgcolor'} &&= "BGCOLOR\"#FFFFFF\"";
$Options{'bgcolor'} ||= "BGCOLOR=\"#FFFFFF\"";
if (-t STDIN) {
print STDERR "(Rem2HTML: Input should not come from a terminal.)\n";