X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a7ce70a6990a73847000b4a6ac65366ebd5a1483..3a04e96389def78bcb873a4487b85f4d75653199:/doc/plugins/tag/discussion.mdwn diff --git a/doc/plugins/tag/discussion.mdwn b/doc/plugins/tag/discussion.mdwn index 683045426..ad6b8d6ff 100644 --- a/doc/plugins/tag/discussion.mdwn +++ b/doc/plugins/tag/discussion.mdwn @@ -1,4 +1,4 @@ -I'd like to modify this plugin such that the tag pages are automatically created and populated with a list of relevant posts. The content of the tag page is simply `"\[[inline pages="link(tag/$tag)"]]`. The tag plugin will have to determine whether a page for the given tag already exists, and if not use that Markdown fragment to generate it. +I'd like to modify this plugin such that the tag pages are automatically created and populated with a list of relevant posts. The content of the tag page is simply `"\[[!inline pages="link(tag/$tag)"]]`. The tag plugin will have to determine whether a page for the given tag already exists, and if not use that Markdown fragment to generate it. There are clearly many ways to do this, but any opinions on which is the cleanest? @@ -9,3 +9,28 @@ of `refresh()`. The hook could add the tag pages and re-run `refresh()`, taking appropriate care to avoid looping forever. --[[Joey]] + +Thanks. That works fine. + +--Ben + +@Ben: could you publish the code for that? + +--[[David_Riebenbauer]] + +AOLMODE=true echo "I too would really like this feature, which would make cgi free life much +better" --[[DavidBremner]] + +Please make the actual text used a template some way or another. I may want `map` instead of `inline`. --[[madduck]] + + +See [[todo/auto-create tag pages according to a template]] + +-- Jeremy Schultz + +`tag_autocreate` can now enable this. --[[Joey]] + + +# Auto-remove tag pages? + +When zero pages are tagged with a particular tag, its page could be auto-removed. Would that make sense? Doesn't look like this is already implemented. --[[user/svetlana]]