forum: PageSpec results from independent checkout: call for help

master
JoeRayhawk 2010-10-20 06:57:06 +00:00 committed by Joey Hess
parent 9b832df0d2
commit 372ed18f28
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
I'd like to be able to do PageSpec matches independent of the Ikiwiki checkout, but at best I'm currently restricted to copying over and using whatever is in the indexdb with this approach:
perl -MIkiWiki -le '$config{wikistatedir}=".ikiwiki"; IkiWiki::loadindex(); print foreach pagespec_match_list("", shift)' "bugs/*"
I get the impression there's a way to build up enough state to run pagespec matches without doing any rendering, but I don't know how. Any ideas? -- JoeRayhawk