I'm trying to get a list of page IDs and page names (from the first H1 tag) for an extension, so I can build an HTML element from that data. I'm probably not using dokuwiki's search functions properly, because I can only get one result with this:
search_universal(
$pagelist,
'/usr/share/webapps/dokuwiki/wikis/wiccawicci.com',
'/tarot/reviews/',
'f',
2,
array(
"depth" => 2,
"listfiles" => True
)
);
This puts the following in $pagelist
:
array(1) {
[0]=>
array(6) {
["id"]=>
string(13) "tarot:reviews"
["ns"]=>
string(5) "tarot"
["perm"]=>
int(255)
["type"]=>
string(1) "f"
["level"]=>
int(2)
["open"]=>
bool(true)
}
}
How can I get the data I'm looking for? The target namespace tarot:reviews contains files only.