Revision: 1502 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1502&view=re... Author: dmaphy Date: 2010-08-04 20:55:41 +0000 (Wed, 04 Aug 2010)
Log Message: ----------- website: write plugin names to geany-plugins-listing.html with first letter in upper case
Modified Paths: -------------- www/staging/gencontent.sh
Modified: www/staging/gencontent.sh =================================================================== --- www/staging/gencontent.sh 2010-08-04 20:54:24 UTC (rev 1501) +++ www/staging/gencontent.sh 2010-08-04 20:55:41 UTC (rev 1502) @@ -116,7 +116,8 @@
if [ $? -eq 0 ]; then # ... if yes, ... # ... add it to the navigation ... - echo "<li><a href="index.php?site=$i">$i</a></li>" >> $CONTENTDIR"geany-plugins-listing.html" + title=`echo ${i} | sed 's/([a-z])([a-zA-Z0-9]*)/\u\1\2/g'` + echo "<li><a href="index.php?site=$i">${title}</a></li>" >> $CONTENTDIR"geany-plugins-listing.html" continue # ... and jump to the next one fi;
@@ -128,7 +129,8 @@ # TODO: there is still output from rst2html to the shell, that ideally should'nt be # TODO: newer versions of rst2html may face problems with the configuration files encoding $RST2HTML -s --config=$CONTENTDIR"rst2html_config.conf" $SOURCESDIR$i/README | tee .README.html >> $LOGFILE 2>&1 - echo "<li><a href="index.php?site=$i">$i</a></li>" >> $CONTENTDIR"geany-plugins-listing.html" + title=`echo ${i} | sed 's/([a-z])([a-zA-Z0-9]*)/\u\1\2/g'` + echo "<li><a href="index.php?site=$i">${title}</a></li>" >> $CONTENTDIR"geany-plugins-listing.html"
if [ $? -ne 0 ]; then echo -e "$RST2HTML exited with $?.\n\n"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.