Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag Listing #126

Open
GitWonder opened this issue Aug 14, 2022 · 5 comments
Open

Tag Listing #126

GitWonder opened this issue Aug 14, 2022 · 5 comments

Comments

@GitWonder
Copy link

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])

@gturri
Copy link
Owner

gturri commented Aug 15, 2022

Hi,

what do you mean by tag? Is it related to this plugin https://www.dokuwiki.org/plugin:tag ?

@GitWonder
Copy link
Author

Yes that's the one

@gturri
Copy link
Owner

gturri commented Aug 15, 2022

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)

@GitWonder
Copy link
Author

Unfortunately I am not a programmer so wouldn't know where to start

@gturri
Copy link
Owner

gturri commented Aug 15, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants