#!/bin/sh
test $# -ne 2 && echo "usage: $0 title doap" && exit 1
title="$1"
cat <<- _EOF_
$title
_EOF_
sh web/doapheader.sh "$2" | smu
echo "![screenshot of $title](screen.png)"|smu
sh web/doapbutton.sh "$2" | smu
tail -n 12 < README | smu # history
echo "- - -"|smu
sh web/doapfooter.sh "$2" |smu
echo ""