I want to be able to parse subpage names into "path" and "basename"

For example, given the page named "/LabStaff/RobSealock" or "/DailyNotes/2009-11-09" I want to be able to automatically obtain the "basenames" "RobSealock" and "2009-11-09".

I want to be able to do this so I can make use of the basenames in templates, specifically to include a command such as <<FullSearch(Basename())>> on a page of daily notes or in my address book. This way, when I click on a daily notes page I'll automatically see other page in which I've included a <<Date(2009-11-04T22:48:15Z)>> variable. Similarly, when I click on a page in my address book, I'll automatically see all other pages on which the person's name appears.

Discussion

basename sounds for me in your example like the last subpage name. As basename I would understand the prefix e.g. DailyNotes or LabStaff -- ReimarBauer 2009-11-05 16:03:44


CategoryFeatureRequest

MoinMoin: FeatureRequests/PathNameFunctions (last edited 2009-11-05 16:03:45 by ReimarBauer)