<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"	>
<channel>
	<title>Comments on: Surfacing Google Analytics stats in DSpace</title>
	<atom:link href="http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 09:45:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: StuW</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-4906</link>
		<dc:creator>StuW</dc:creator>
		<pubDate>Thu, 28 Jul 2011 13:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-4906</guid>
		<description>@Nikhil
You need to import the class within display-item.jsp...

</description>
		<content:encoded><![CDATA[<p>@Nikhil<br />
You need to import the class within display-item.jsp&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-4608</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Tue, 01 Feb 2011 06:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-4608</guid>
		<description>Hi Nikhil,

I&#039;m afraid that I&#039;m not sure what is causing your error.  Since the dsrun command is working, GoogleAnalyticsHitCounter must exist, so without access to your server I can&#039;t really look to see what is going wrong.  If you want to check it exists in your JSPUI, you can look in [tomcat]/webapps/jspui/WEB_INF/libs/, and run &#039;zipinfo dspace-api-*-SNAPSHOT.jar &#124; grep GoogleAnalyticsHitCounter&#039; to check that the class exists in the dspace-api jar file.

Thanks,


Stuart</description>
		<content:encoded><![CDATA[<p>Hi Nikhil,</p>
<p>I&#8217;m afraid that I&#8217;m not sure what is causing your error.  Since the dsrun command is working, GoogleAnalyticsHitCounter must exist, so without access to your server I can&#8217;t really look to see what is going wrong.  If you want to check it exists in your JSPUI, you can look in [tomcat]/webapps/jspui/WEB_INF/libs/, and run &#8216;zipinfo dspace-api-*-SNAPSHOT.jar | grep GoogleAnalyticsHitCounter&#8217; to check that the class exists in the dspace-api jar file.</p>
<p>Thanks,</p>
<p>Stuart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil George</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-4605</link>
		<dc:creator>Nikhil George</dc:creator>
		<pubDate>Tue, 01 Feb 2011 04:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-4605</guid>
		<description>Hello Stuart,
I think you did&#039;t understand my error, i&#039;ll try to make myself more clear. When i click on an item title to view it, i get &quot;internel server error&quot;. I checked the dspace log and found this error:
An error occurred at line: 286 in the jsp file: /display-item.jsp
GoogleAnalyticsHitCounter cannot be resolved
285:String path = &quot;http://dspace.jubileemission.in/handle/&quot; + item.getHandle();
286:String count = GoogleAnalyticsHitCounter.getPageCount(path);

It&#039;s telling that dspace can&#039;t resolve GoogleAnalyticsHitCounter in line String count = GoogleAnalyticsHitCounter.getPageCount(path);

Please help...i think i&#039;m jst a step away frm implementing the google analytics in  my dspace....please advice....</description>
		<content:encoded><![CDATA[<p>Hello Stuart,<br />
I think you did&#8217;t understand my error, i&#8217;ll try to make myself more clear. When i click on an item title to view it, i get &#8220;internel server error&#8221;. I checked the dspace log and found this error:<br />
An error occurred at line: 286 in the jsp file: /display-item.jsp<br />
GoogleAnalyticsHitCounter cannot be resolved<br />
285:String path = &#8220;http://dspace.jubileemission.in/handle/&#8221; + item.getHandle();<br />
286:String count = GoogleAnalyticsHitCounter.getPageCount(path);</p>
<p>It&#8217;s telling that dspace can&#8217;t resolve GoogleAnalyticsHitCounter in line String count = GoogleAnalyticsHitCounter.getPageCount(path);</p>
<p>Please help&#8230;i think i&#8217;m jst a step away frm implementing the google analytics in  my dspace&#8230;.please advice&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil George</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-4571</link>
		<dc:creator>Nikhil George</dc:creator>
		<pubDate>Fri, 28 Jan 2011 05:05:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-4571</guid>
		<description>Hello,
Thank you Stuart for giving me the previous hint.
I rebuild the dspace, now dsrun command is running fine, but now i ran into another problem that is, wen ever i click on an item it shows &quot;Internal Server Error&quot;, instead of item description.
i checked the dspace log it look&#039;s like this:

An error occurred at line: 286 in the jsp file: /display-item.jsp
GoogleAnalyticsHitCounter cannot be resolved
283: 

I hav my dspace in .../tomcat/web2/ROOT.
Please help..</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Thank you Stuart for giving me the previous hint.<br />
I rebuild the dspace, now dsrun command is running fine, but now i ran into another problem that is, wen ever i click on an item it shows &#8220;Internal Server Error&#8221;, instead of item description.<br />
i checked the dspace log it look&#8217;s like this:</p>
<p>An error occurred at line: 286 in the jsp file: /display-item.jsp<br />
GoogleAnalyticsHitCounter cannot be resolved<br />
283: </p>
<p>I hav my dspace in &#8230;/tomcat/web2/ROOT.<br />
Please help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil George</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-4569</link>
		<dc:creator>Nikhil George</dc:creator>
		<pubDate>Fri, 28 Jan 2011 02:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-4569</guid>
		<description>Yes i first installed all the 3 jar files using mvn install, then i ran mvn package and ant update both was sucessful...i do&#039;t hav a clue abt wat the problem is...please advice..</description>
		<content:encoded><![CDATA[<p>Yes i first installed all the 3 jar files using mvn install, then i ran mvn package and ant update both was sucessful&#8230;i do&#8217;t hav a clue abt wat the problem is&#8230;please advice..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-4558</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Sun, 23 Jan 2011 20:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-4558</guid>
		<description>Hi Nikhil.  Did you run &#039;mvn package&#039;,  &#039;cd dspace/target/dspace-1.6.0-SNAPSHOT-build.dir/&#039;, then &#039;ant update&#039; ?</description>
		<content:encoded><![CDATA[<p>Hi Nikhil.  Did you run &#8216;mvn package&#8217;,  &#8216;cd dspace/target/dspace-1.6.0-SNAPSHOT-build.dir/&#8217;, then &#8216;ant update&#8217; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil George</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-4557</link>
		<dc:creator>Nikhil George</dc:creator>
		<pubDate>Sat, 22 Jan 2011 09:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-4557</guid>
		<description>Hello ,
I made all the files and added all necessary configurations.
Everything went fine until i run
dsrun org.dspace.app.googleanalytics.GoogleAnalyticsHitCounter

I get the following error:

Error in launcher.xml: Invalid class name: org.dspace.app.googleanalytics.GoogleAnalyticsHitCounter.java

I&#039;m running dspace1.6 and JSPUI interface
Please help to rectify this error..

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hello ,<br />
I made all the files and added all necessary configurations.<br />
Everything went fine until i run<br />
dsrun org.dspace.app.googleanalytics.GoogleAnalyticsHitCounter</p>
<p>I get the following error:</p>
<p>Error in launcher.xml: Invalid class name: org.dspace.app.googleanalytics.GoogleAnalyticsHitCounter.java</p>
<p>I&#8217;m running dspace1.6 and JSPUI interface<br />
Please help to rectify this error..</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashidhar Chaturvedi</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-3650</link>
		<dc:creator>Shashidhar Chaturvedi</dc:creator>
		<pubDate>Wed, 22 Sep 2010 06:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-3650</guid>
		<description>Hi Sir,
I am using Dspace 1.6. I want to implement captcha in my JSPUI interface.
Please guide me how can i implement captcha in new user registration page in JSPUI interface.


Thanks
Shashidhar Chaturvedi</description>
		<content:encoded><![CDATA[<p>Hi Sir,<br />
I am using Dspace 1.6. I want to implement captcha in my JSPUI interface.<br />
Please guide me how can i implement captcha in new user registration page in JSPUI interface.</p>
<p>Thanks<br />
Shashidhar Chaturvedi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-3438</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Sat, 03 Apr 2010 18:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-3438</guid>
		<description>Hi,

You need to adjust this command:

C:\dspace\bin&gt;mvn install:install-file -DgroupId=com.google.gdata -DartifactId=gdata-core -Dversion=1.0 -Dfile=gdata-core-1.0.jar -Dpackaging=jar

Change the part that reads &#039;-Dfile=gdata-core-1.0.jar&#039; and add a path. E.g. &#039;-Dfile=C:\dspace-src\dspace-api\src\main\java\org\dspace\app\gdata-core-1.0.jar&#039; - adjust it as appropriate. However, you don&#039;t need to unzip the files in your dspace source directory as they don&#039;t really belong there. Unzip them n a temporary location, then you can delete them once you have run the &#039;mvn install:install-file&#039; command.

Thanks,


Stuart</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You need to adjust this command:</p>
<p>C:\dspace\bin&gt;mvn install:install-file -DgroupId=com.google.gdata -DartifactId=gdata-core -Dversion=1.0 -Dfile=gdata-core-1.0.jar -Dpackaging=jar</p>
<p>Change the part that reads &#8216;-Dfile=gdata-core-1.0.jar&#8217; and add a path. E.g. &#8216;-Dfile=C:\dspace-src\dspace-api\src\main\java\org\dspace\app\gdata-core-1.0.jar&#8217; &#8211; adjust it as appropriate. However, you don&#8217;t need to unzip the files in your dspace source directory as they don&#8217;t really belong there. Unzip them n a temporary location, then you can delete them once you have run the &#8216;mvn install:install-file&#8217; command.</p>
<p>Thanks,</p>
<p>Stuart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Librarian</title>
		<link>http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/comment-page-1/#comment-3437</link>
		<dc:creator>Librarian</dc:creator>
		<pubDate>Fri, 02 Apr 2010 10:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stuartlewis.com/?p=343#comment-3437</guid>
		<description>hi,
I was trying add this, while running mvn commands i get following build error.

after creating directory i have downloaded that google analyticshitcounter.java, saved the gdata-src in [dspace-src]/dspace-api/src/main/java/org/dspace/app/ folder and after that i extracted the gadata-core 1.0.jar to the same app folder then i tried to run command
C:\dspace\bin&gt;mvn install:install-file -DgroupId=com.google.gdata -DartifactId=g
data-core -Dversion=1.0 -Dfile=gdata-core-1.0.jar -Dpackaging=jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: &#039;install&#039;.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [install:install-file] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [install:install-file]
[INFO] Installing C:\dspace\bin\gdata-core-1.0.jar to C:\Documents and Settings\
Administrator\.m2\repository\com\google\gdata\gdata-core\1.0\gdata-core-1.0.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact &#039;com.google.gdata:gdata-core:jar&#039;: Error instal
ling artifact: File C:\dspace\bin\gdata-core-1.0.jar does not exist

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Apr 02 15:53:09 GMT+05:30 2010
[INFO] Final Memory: 3M/254M
[INFO] ------------------------------------------------------------------------
C:\dspace\bin&gt;

kindly let me know as early as possible, what could be the reason i am getiing this error

Thanking you in advance
with regards</description>
		<content:encoded><![CDATA[<p>hi,<br />
I was trying add this, while running mvn commands i get following build error.</p>
<p>after creating directory i have downloaded that google analyticshitcounter.java, saved the gdata-src in [dspace-src]/dspace-api/src/main/java/org/dspace/app/ folder and after that i extracted the gadata-core 1.0.jar to the same app folder then i tried to run command<br />
C:\dspace\bin&gt;mvn install:install-file -DgroupId=com.google.gdata -DartifactId=g<br />
data-core -Dversion=1.0 -Dfile=gdata-core-1.0.jar -Dpackaging=jar<br />
[INFO] Scanning for projects&#8230;<br />
[INFO] Searching repository for plugin with prefix: &#8216;install&#8217;.<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Building Maven Default Project<br />
[INFO]    task-segment: [install:install-file] (aggregator-style)<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] [install:install-file]<br />
[INFO] Installing C:\dspace\bin\gdata-core-1.0.jar to C:\Documents and Settings\<br />
Administrator\.m2\repository\com\google\gdata\gdata-core\1.0\gdata-core-1.0.jar<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[ERROR] BUILD ERROR<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Error installing artifact &#8216;com.google.gdata:gdata-core:jar&#8217;: Error instal<br />
ling artifact: File C:\dspace\bin\gdata-core-1.0.jar does not exist</p>
<p>[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] For more information, run Maven with the -e switch<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Total time: 1 second<br />
[INFO] Finished at: Fri Apr 02 15:53:09 GMT+05:30 2010<br />
[INFO] Final Memory: 3M/254M<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
C:\dspace\bin&gt;</p>
<p>kindly let me know as early as possible, what could be the reason i am getiing this error</p>
<p>Thanking you in advance<br />
with regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>

