leibler / dokuwiki-plugin-todo

DokuWiki ToDo Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: create todos based on pages in a namespace

vchrizz opened this issue · comments

Hi,

would it be somehow possible to create several todos at once instead of just a single todo every time?
I've got following schema in my wiki:
nodes/location1
nodes/location2
nodes/location3
nodes/location4
nodes/location5

Now I have some tasks to do which apply to every location.
So for every task, i create another page (e.g. todos/locationupdate201701) with a list of todos:

<todo>location1</todo>
<todo>location2</todo>
<todo>location3</todo>
<todo>location4</todo>
<todo>location5</todo>

For this little example its ok to write a single todo for every location/page, but with 10 and more it gets unhandy. Especially if locations/pages are added or removed. So it would be nice to have something like:
<todo list>nodes</todo>
what would automatically create a todo for every page from the namespace 'nodes'. Text could be the page-id or the first header.

cheers

(i know the background to this request because i'm in the same mesh network community and we already had a private discussion)

I'd suggest to create a template for creating new pages.
Put the todos which you want to have for every node into the template.
Once you create a new page (node/location) then you will get the todos on that page.

this is better than have one page with all todos for all your nodes.
You can easily output a list of all todos on such a page

Right now there is no feature to have recurrent todos.
This is not as easy to create or just to substitute dates in existing todos.

basically at the moment im working already with a template as suggested but if nodes/locations are added or removed (from the namespace) its unhandy with many items to remember to keep the template updated.

the idea is to create a todo for every page that exists within a namespace(like the nspages plugin creates a list of available pages, just that for every page you get a new todo), so you would not need to remember to update the template too.
simply use specified namespace and create a todo for every page found.

dont get me wrong, (within specified namespace) i dont want to list all available todos, i want to create a todo for every page.
think of this, you want to cleanup your namespace every now and then, so you need to check every page (e.g. for typos).

im not talking about recurring tasks, i understand that this wouldn't be easy to implement.

So this would be like a page listing, but with todos?