I imagine it would not be that difficult to create something like this inside lenya, where you increment a counter in an xml file each time the page is visited. That would then be very easy to display.
You could introduce some logic in the pipeline to check ip address etc. if you we're recording visits rather than hits. In fact, that would probably be quite a neat feature for lenya. Regards Vik sac sha wrote: > HI > > I agree with what Micheal is saying. > I know about the softwares or sites which provides the functionality but > I do not want to go for third party software. > > Please suggest. > > Thanks > Sac > > On Fri, Dec 12, 2008 at 6:06 PM, Michael Wechner > <[email protected] <mailto:[email protected]>> wrote: > > Andreas Hartmann schrieb: > > sac sha schrieb: > > Hi > > do you really want to count each page view, without > restriction to IP addresses? > > > Not really. Just a specific page view on the website. > And I am not so clear about "without restriction to IP > addresses". I want to count views from any user. > > > I mean if you intend to count every page view from every single > user. If you view your page 20 times a day while developing, > you'd have 20 more views. With an IP address check, you'd count > this as one visit (note the difference between visit and view/hit). > > > well, something like Google analytics or some other traffic analyzer > does all this anyway and I would advise to use some existing software, > but I think Sac's question is really how to integrate/display the > resulting information and as I said before it's about how can this > information be accessed and where exactly shall it be aggregated > with the rest of the content. > > Cheers > > Michael > > > -- Andreas > > > > > Thanks > Sac > > On Fri, Dec 12, 2008 at 4:08 PM, Andreas Hartmann > <[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > Hi Sac, > > sac sha schrieb: > > Is there any way to change the value of global > variable in > publication-sitemap? In that case I can declare a global > variable and on every request I will increment that > value by one. > > > do you really want to count each page view, without > restriction to > IP addresses? > > -- Andreas > > > > I am trying to apply second method meanwhile. > > What ya say?? > > Sac > > On Fri, Dec 12, 2008 at 2:55 PM, Michael Wechner > <[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>>> wrote: > > sac sha schrieb: > > Hi > > As far as I know the google analytics > increases your > rating in > search and it also provides web statistics but > bot sure > whether > we can access those stats to display on a web > page. Is > there any > way that I can display a visit counter to the > user like > "YOU ARE > VISITOR NO: xxxx" on my page > > > ok. It means you need to access this information from > somewhere and > then aggregate it with the rest of the content, > which is normally > done within the publication-sitemap > > through google analytics? > > > generally yes, if you are able to somehow access > this information > (e.g. HTTP GET), but I don't know how easy it is > with Google > > HTH > > Michael > > > Great thanks. > Sac > > > On Fri, Dec 12, 2008 at 3:30 AM, Michael Wechner > <[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>>>> wrote: > > sac sha schrieb: > > Hi All > > Is there any way that I can embedd page > visit > counter in my > website page? > > > you mean something like Google analytics? > If so, then > you just > need to the Google analytics code snippet > add to the > appropriate > XSLT of your publication. > > HTH > > Michael > > > Thanks in advance > Sac > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>>> > > For additional commands, e-mail: > [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>>> > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> > For additional commands, e-mail: > [email protected] <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> > > > > > -- Andreas Hartmann, CTO > BeCompany GmbH > http://www.becompany.ch > Tel.: +41 (0) 43 818 57 01 > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > For additional commands, e-mail: > [email protected] <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > <mailto:[email protected]> > For additional commands, e-mail: [email protected] > <mailto:[email protected]> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
