Changeset 672 for trunk/tools/mkannounce


Ignore:
Timestamp:
Jun 12, 2006, 9:55:14 AM (14 years ago)
Author:
bcornec
Message:

merge -r651:671 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mkannounce

    r652 r672  
    6464rm -f $TMP/mindi.ann $TMP/mondo.ann
    6565
     66vi $TMP/announce.tmp
    6667# Store it in DB for Web pages generation
    6768$TOOLHOME/mkannounce.pl $TMP/announce.tmp
    6869# Then deliver it on the Web
    69 #$TOOLHOME/livwww www
     70$TOOLHOME/livwww www
     71cat > $TMP/announce.hdr << EOF
     72<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
     73
     74<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="en" lang="en">
     75  <head>
     76  </head>
     77  <body>
     78  <p>
     79EOF
     80cat > $TMP/announce.ftr << EOF
     81</body>
     82</html>
     83EOF
     84# Mail it to mr ML
     85cat $TMP/announce.hdr $TMP/announce.tmp $TMP/announce.ftr | w3m -dump -T text/html > $TMP/mondo.ann.txt
     86export EMAIL="bruno@mondorescue.org"
     87export TMPDIR=$TMP
     88cat $TMP/mondo.ann.txt | mutt -s "`head -1 $TMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de
     89rm -rf $TMP
Note: See TracChangeset for help on using the changeset viewer.