You are here: Foswiki>Tasks Web>Item1128 (05 Feb 2010, BryanThale)Edit Attach

Item1128: Enhance CounterPlugin

pencil
Priority: Normal
Current State: Being Worked On
Released In:
Target Release:
Applies To: Extension
Component: CounterPlugin
Branches:
Reported By: WillNorris
Waiting For: WillNorris
Last Change By: BryanThale
  • added better (imho) tag name, PAGE_COUNTER
  • converted to use tag registration handlers
  • keeps track of counter per topic
  • can render the counter for any topic
  • improved docs and examples

-- WillNorris - 23 Feb 2009

possible further developments:
  • rest handler to read the counter from an AJAX request or SSI
  • counter for site as well as individual page counts
  • optimization? force counts on only certain pages? (eg, "home", like some publish plugin's includetopics and excludetopics)
  • file counter as a tie (to allow alternate stores like db, topic meta-data, topic form data, external file)
  • perhaps move to pub, if "required" for external websites to "load" the data

-- WillNorris - 23 Feb 2009

Another possibility:
  • Make optionally session-aware so counter is only incremented the first time the page is viewed during a session so that simple page reloads don't bump the counter

-- BryanThale - 05 Feb 2010

ItemTemplate edit

Summary Enhance CounterPlugin
ReportedBy WillNorris
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component CounterPlugin
Priority Normal
CurrentState Being Worked On
WaitingFor WillNorris
Checkins CounterPlugin:afd2abf7168a
ReleasedIn
Topic revision: r4 - 05 Feb 2010, BryanThale
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy