marker for implicit progns changed; bigger tildes in index; various additions, correc...
[clqr.git] / fetch-news.sh
blob1afe6cb17e9ea969256db816a056d2ea33521590
1 #!/bin/bash
3 # Fetch news and prune them for inclusion by html/index.php
5 /usr/bin/wget -q -O news-clqr.tmp \
6 'http://developer.berlios.de/export/projnews.php?group_id=9765&limit=7&flat=1&show_summaries=1' \
7 > /dev/null
8 /bin/sed -e "s/ &nbsp; - &nbsp; <a href=\"\/\/developer.berlios.de\/projects\/clqr\/\">Common Lisp Quick Reference<\/a>//g"\
9 -e "s/<a [^>]*>//g" -e "s/<\/a>//g"\
10 -e "s/<b>/<h5>/g" -e "s/<\/b>/<\/h5>/g" \
11 -e "s/<i>/<i>[/g" -e "s/<\/i>/]<\/i>/g" \
12 -e "s/<div .*<\/div>//g" -e "s/<hr [^>]*>/<p>/g"\
13 -e "s/^[ \t\]*//g" -e "s/&nbsp;&nbsp;&nbsp;//g"\
14 news-clqr.tmp > /home/groups/clqr/htdocs/news-clqr.html
15 /bin/rm news-clqr.tmp
16 cp /home/groups/ftp/pub/clqr/clqr/REVISION.tex /home/groups/clqr/htdocs/release-revision.txt
17 cp /home/groups/ftp/pub/clqr/clqr/DATE.tex /home/groups/clqr/htdocs/release-date.txt