Permalink
Browse files

Yahoo Developer Network instrumentation updated to use Yahoo! Web Ana…

…lytics.
  • Loading branch information...
1 parent 912e5bb commit 8d6efc5539c59b52369615f1f5151e527b938ca9 Adam Moore committed May 14, 2009
Showing with 11 additions and 4 deletions.
  1. +1 −0 bin/const.py
  2. +2 −1 bin/yuidoc_generate.py
  3. +8 −3 template/main.tmpl
View
@@ -40,6 +40,7 @@
GUESSEDTYPE='guessedtype'
HASEVENTS='hasevents'
HOST='host'
+IGNORE_PATTERNS = ('*.pyc','CVS','^.git','.svn')
LONGNAME='longname'
LOGCONFIG='yuidoclog.conf'
METHOD='method'
View
@@ -62,9 +62,10 @@ def _mkdir(newdir):
try:
shutil.rmtree(targetdir)
except: pass
+ # requires 2.6
+ # shutil.copytree(fullname, targetdir, ignore=shutil.ignore_patterns(const.IGNORE_PATTERNS))
shutil.copytree(fullname, targetdir)
-
self.showprivate = showprivate
f=open(os.path.join(inpath, datafile))
View
@@ -676,9 +676,14 @@
ALL_YUI_PROPS = $allprops;
</script>
#if $ydn
-<!--MyBlogLog instrumentation-->
-<script type="text/javascript"
-src="http://track2.mybloglog.com/js/jsserv.php?mblID=2007020704011645"></script>
+<!-- Yahoo! Web Analytics - All rights reserved -->
+<script type="text/javascript" src="http://d.yimg.com/mi/ywa.js"></script>
+<script type="text/javascript">
+YWA.getTracker("10001025849223").submit();
+</script>
+<noscript>
+<div><img src="http://a.analytics.yahoo.com/p.pl?a=10001025849223&amp;js=no" width="1" height="1" alt="" /></div>
+</noscript>
#end if
</body>
</html>

0 comments on commit 8d6efc5

Please sign in to comment.