The macro isn't working for me, because it cannot find the event-log. Shouldn't the line

    filename ="./data/event-log"

be changed into

    filename = macro.request.rootpage.getPagePath('event-log', isfile=1)

That works for me. -- BenjaminVrolijk 2005-07-15 13:27:03


I think you use MoinMoin.macro.PageHits.PageHits, because he read hits from cache of log files

-- PavelSergeev 2005-09-07 16:36:10

Probably the code could be exchanged, I'll look on that -- ReimarBauer 2005-09-07 17:04:41


This macro only works on WikiName page. It does not work on pages whose names contain space or non-ascii characters. -- RuxLi 2006-05-01 04:10:03

Hits-1.5.3-4 uploaded bug fixed for quoting pagenames and some parts refactored -- ReimarBauer 2006-05-01 16:34:01

quoting used was different

Hits-1.5.3-5 uses the same quoting as was used for the log file

Hits-1.5.3-6 uses a bit different logic now see examples

Hits-1.5.3-7 bug fix only pagename=page& should be counted in the past refering pages were counted too. This was always wrong!

MoinMoin: MacroMarket/Hits/OldDiscussion (last edited 2007-10-29 19:15:39 by localhost)