#!/bin/sh
# 1 - Launch CVS->XML (needs CVS ssh setup on the computer) - takes some 40 minutes to comlete
# 2 - then create elphelcvs.rss
# 3 - upload to remote server
DIRNAME=`dirname $0`
echo "Launching CVS update and creating XML files for each project (cvs2blog.php)"
$DIRNAME/cvs2blog.php
ls -all $DIRNAME/*.xml

echo "RSS feed creation for all projects combined (cvsxml2rss.php)"
#./cvsxml2rss.php p=elphel353-7.1,elphel353-7.2,elphel353-8.0,elphel353-7.1-community,prod353,fpga d=2008-08-01 tofile
#./cvsxml2rss.php tofile
#./cvsxml2rss.php p="elphel353-7.1" ftp="feeds.elphel.com,feeds@elphel.com,qZrMlEhyG93R,/,"
$DIRNAME/cvsxml2rss.php ftp="feeds.elphel.com,feeds@elphel.com,qZrMlEhyG93R,/,"

ls -all $DIRNAME/*.rss
