You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chatra Nakkawita (JIRA)" <ji...@apache.org> on 2007/08/23 10:54:31 UTC

[jira] Commented: (AXIS2-2790) Having a problem with the JavaScript call (of Google Analytics) on axis2 html after a maven site build

    [ https://issues.apache.org/jira/browse/AXIS2-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522065 ] 

Chatra Nakkawita commented on AXIS2-2790:
-----------------------------------------

In terms of using Maven2.x, it seems the JavaScript call that tracks the downloads altogether is missing on the maven site generated document.

The Google Analytics tracking code too has some characters replaced in the maven generated site doc 

<script type="text/javascript" src="http://www.google-analytics.com/urchin.js">
</script><script type="text/javascript">
_uacct = &quot;UA-1954378-3&quot;; 
urchinTracker();
</script>

should be: 

<script type="text/javascript" src="http://www.google-analytics.com/urchin.js">
</script><script type="text/javascript">
_uacct = "UA-1954378-3"
urchinTracker();
</script>

> Having a problem with the JavaScript call (of Google Analytics) on axis2 html after a maven site build
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2790
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2790
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: documentation, samples, build,site
>         Environment: Windows XP/JDK1.5/Firefox 2.x
>            Reporter: Chatra Nakkawita
>            Assignee: sumedha rubasinghe
>
> The JavaScript call [1] to track a download on click is not correctly displayed after a maven build site using Maven1.x.
> See https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/download/1_2/download.html
> Here you will find 
> <a href="[preferred]/ws/axis2/1_2/axis2-1.2.zip"
>         title="[preferred]/ws/axis2/1_2/axis2-1.2.zip" onClick="javascript:urchinTracker ('/downloads/axis2-1.2.zip'); ">zip</a>
> After a maven site build the JavaScript call will read as :
> <a href="[preferred]/ws/axis2/1_2/axis2-1.2.zip" title="[preferred]/ws/axis2/1_2/axis2-1.2.zip" onclick="javascript:urchinTracker (&apos;/downloads/axis2-1.2.zip&apos;); ">zip</a>
> Diff : 
> onClick="javascript:urchinTracker ('/downloads/axis2-1.2.zip'); " |    onclick="javascript:urchinTracker (&apos;/downloads/axis2-1.2.zip&apos;); "
> Note that the single quotes ( ' ) in the function is converted to &apos;
> How can we make the call remain as : onClick="javascript:urchinTracker ('/downloads/axis2-1.2.zip'); "
> This is required for the tracking of downloads of Google Analytics [2]
> Thanks,
> Chatra
> [1]http://www.google.com/support/analytics/bin/answer.py?answer=27242&topic=7292
> [2]http://www.google.com/support/analytics/bin/answer.py?answer=26908

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org