aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/pagespec_aliases/discussion.mdwn
blob: 2c51b415a3521380ed0e633fec5234311d74b57a (plain)
1
2
3
4
5
6
Something which is similar to aliases is the "trail" concept I use in the [[plugins/contrib/report]] plugin. (Also my "pmap" plugin, but that's only in my "experimental" branch on github).  One can define a "trail" by making a report with the "doscan" option (I should probably change the name of that) and then that page has a "trail" which matches the pagespec in that report.
Then one can reference that page as a "trail" without having to reuse that pagespec.
(It's also very useful in speeding up the processing, because the matching pages have been remembered, and one doesn't have to search for them again).

So, for example, one could make a page "all_images" and have a report (or pmap, which is simpler) like so: