#!/bin/sh

#
#  if usename/password provided, fetch fresh copy
#
if [ $# -eq 2 ]
then
    url='http://www.w3.org/2000/09/dbwg/details?group=38435&order=name&former=1'
    wget --http-user="$1" --http-passwd="$2" -O acknowledgements.html $url 
fi

xsl=acknowledgements.xsl

xsltproc --stringparam participating 1 $xsl acknowledgements.html | tee acknowledgements-current.txt

# broken, orgname is missing
#xsltproc --stringparam participating 0 $xsl acknowledgements.html

# so hand edited
echo
echo "fixed:"
cat acknowledgements-previous.txt 

exit

