|
Boost-Commit : |
From: ghost_at_[hidden]
Date: 2007-12-06 11:00:39
Author: vladimir_prus
Date: 2007-12-06 11:00:38 EST (Thu, 06 Dec 2007)
New Revision: 41788
URL: http://svn.boost.org/trac/boost/changeset/41788
Log:
Add Google Analytics tracking code for the uploaded docs.
Text files modified:
trunk/tools/build/v2/roll.sh | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/roll.sh
==============================================================================
--- trunk/tools/build/v2/roll.sh (original)
+++ trunk/tools/build/v2/roll.sh 2007-12-06 11:00:38 EST (Thu, 06 Dec 2007)
@@ -56,6 +56,15 @@
chmod -R u+w *
# Upload docs to sourceforge
-perl -pi -e 's%<!-- sf logo -->%%' index.html doc/*.html
+x=`cat <<EOF
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+</script>
+<script type="text/javascript">
+_uacct = "UA-2917240-2";
+urchinTracker();
+</script>
+EOF`
+echo $x
+perl -pi -e "s|</body>|$x</body>|" doc/*.html
scp -r doc example boost_build.png *.html hacking.txt vladimir_prus_at_[hidden]:/home/groups/b/bo/boost/htdocs/boost-build2
scp ../userman.pdf vladimir_prus_at_[hidden]:/home/groups/b/bo/boost/htdocs/boost-build2/doc
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk