nspages icon indicating copy to clipboard operation
nspages copied to clipboard

Feature Request: Customized page ID option for sorting

Open tofighi opened this issue 7 years ago • 1 comments

That would be great that we can add a custom ID to each page, and will sort it based on that ID. I mean, for each page/ns, we can add a custom tag such as <id?10>, or <id?name> and the sorting function sorts based on that. This way, we will have the power of giving arbitrary page order regardless of the name or original page id.

tofighi avatar Nov 21 '17 17:11 tofighi

It indeed seems an interesting idea! I'm afraid I won't have time to work on it any time soon, but if someone if willing to implement it I could give pointers and I would be glad to review a pull request.

gturri avatar Nov 24 '17 06:11 gturri

I'm just realizing that it is now possible to do that:

  • with the meta plugin one can add arbitrary metadata to a page. It could be used to register a sort order
  • then nspages -sortByMetadata option can be used to sort based on this

gturri avatar May 07 '23 12:05 gturri