]> sipb.mit.edu Git - ikiwiki.git/commitdiff
and someone already thought of tag-page auto-creation
authorhttp://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web>
Fri, 25 Dec 2009 19:56:19 +0000 (19:56 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Fri, 25 Dec 2009 19:56:19 +0000 (19:56 +0000)
doc/ikiwiki/directive/pagestats/discussion.mdwn

index 001217cf14556ae6faa5906fe18b809d3a369bb8..d72b4058db015282a51026f5bea2cbe21b1cc4b5 100644 (file)
@@ -11,6 +11,5 @@ Thanks
 
 > I think it would require a different approach to what "tags" are, and/or what "pagestats" are.  The pagestats plugin gives statistical information about *pages*, so it requires the pages in question to exist before it can get information about them.  The tags plugin creates links to tag *pages*, with the expectation that a human being will create said pages and put whatever content they want on them (such as describing what the tag is about, and a map linking back to the tagged pages).
 
 
 > I think it would require a different approach to what "tags" are, and/or what "pagestats" are.  The pagestats plugin gives statistical information about *pages*, so it requires the pages in question to exist before it can get information about them.  The tags plugin creates links to tag *pages*, with the expectation that a human being will create said pages and put whatever content they want on them (such as describing what the tag is about, and a map linking back to the tagged pages).
 
-> The approach that [PmWiki](http://www.pmwiki.org) takes is that it enables the optional auto-creation of (empty) pages which match a particular "group" (set of sub-pages); thus one could set all the "tags/*" pages to be auto-created, creating a new tags/foo page the first time the \[[!tag foo]] directive is used.  I'm not sure how this could be done in ikiwiki.
-
+> The approach that [PmWiki](http://www.pmwiki.org) takes is that it enables the optional auto-creation of (empty) pages which match a particular "group" (set of sub-pages); thus one could set all the "tags/*" pages to be auto-created, creating a new tags/foo page the first time the \[[!tag foo]] directive is used. See [[todo/auto-create_tag_pages_according_to_a_template]] for more discussion on this idea.
 > -- [[KathrynAndersen]]
 > -- [[KathrynAndersen]]