glmxndr
glmxndr

Reputation: 46616

Trac wiki page list

I create some documentation in the Trac wiki. I set these pages to all start with the same pattern (like "MyDoc..."). I want to retrieve from Trac all the wiki page links for the pages starting with this pattern.

Is there a way to do so ?

Upvotes: 3

Views: 1303

Answers (2)

glmxndr
glmxndr

Reputation: 46616

How I did it : GET the wiki/TitleIndex page, look for each <a href="..."/>, analyze the content of href attribute and if matching my pattern, add the link to the list.

Upvotes: 0

Oliver Giesen
Oliver Giesen

Reputation: 9469

Just use the [[TitleIndex]] macro. See documentation. In your example it should be:

[[TitleIndex(MyDoc)]]

Upvotes: 10

Related Questions