nspages
nspages copied to clipboard
Tag Listing
This is a feature request to add Tags to the options to list a set of tagged pages
Eg
<nspages -tags -include:animals:four_legs -exclude:gerbils:hamsters>
To show all pages tagged four_legs and animals but not hamsters and gerbils.
Have not considered in the above example the difference between AND / OR in the include statement, but it's probably something that would need to be included to cover, tags of (animal [reptile|mammal])
Hi,
what do you mean by tag? Is it related to this plugin https://www.dokuwiki.org/plugin:tag ?
Yes that's the one
thanks for this information.
It indeed feels like an interesting feature.
However I must admit that I'm not too sure when I will have time to work on it. I'm afraid it won't be any time soon... :-/
That being said I would gladly accept pull request! :) (I guess a way to work on such pull request would be to mimic the way the -pregOn
and -pregOff
options are implemented, just adapting the value on which the filter is done)
Unfortunately I am not a programmer so wouldn't know where to start
Update on my previous message (in case a developer interested in this feature arrives here): I had a look at the tag plugin, and it may be a bit more complex to implement this feature that what I said because it does not seem so trivial to retrieve the tags of a given page (unless I missed something)