I would suggest too using a PTV, but using same name for PTV (so that one can use only one pagelist to grab the data)<div>(So, only one ref PTV for each page)<br><div><br>pageA we have (:ref:question1:)<br>pageB we have (:ref:question2:)</div>
<div><br>Then, on pageC try to extract variables with a pagelist + a custom format</div><div><br>Something like this should work :</div><div><br>#format ref (special format for extracting ref data as : Page3 → question1)</div>
<div><br>[[#ref]]<br>*'''[[({=$Group}/){=$Name}]]''' &#8594; {=$:ref}<br>[[#finref]]<br><br></div><div>(:pagelist Group=Test $:ref=- order=$:ref fmt=#ref:)<br><br></div><div>Other way would be to look at textextract cookbook.</div>
<div>Maybe <a href="http://www.pmwiki.org/wiki/Cookbook/DataSections">http://www.pmwiki.org/wiki/Cookbook/DataSections</a> ? (untested)</div><div><br></div><div>Gilles.</div><div><br><br>2010/8/11 Randy Brown <<a href="mailto:alongkiss@aprivatespot.com">alongkiss@aprivatespot.com</a>><br>
><br>> I'm not sure what you want, but this might be helpful.<br>><br>> You can put page text variables on your data pages like this:<br>><br>> (:Question125: This is question 125:)<br>> (:Question126: This is question 126:)<br>
><br>> and then on your listing page create a local pagelist template and pagelist markup like this (untested):<br>><br>> (:pagelist fmt=#ListQuestion Question=Question125 $:Question125=- :)<br>> (:pagelist fmt=#ListQuestion Question=Question126 $:Question126=- :)<br>
> etc.<br>><br>> (:if false:)<br>> [[#ListQuestion]]<br>> * [[PageToLinkTo | {$Question} ]]<br>> [[#ListQuestionend]]<br>> (:ifend:)<br>><br>> The result should be something like this:<br>><br>
> * This is question 125<br>> * This is question 126<br>><br>> I don't believe you can currently use wildcards for page text variables, and it's not listed on the current road map. You might want to make a PITS entry to request it.<br>
><br>> Of course, if you don't n<br>><br>> Hope that helps,<br>><br>> Randy<br>><br>><br>> On Aug 10, 2010, at 5:33 PM, Markus Heinzer wrote:<br>><br>> > Hello all<br>> ><br>
> > Is there a recipe doing something like this:<br>
> ><br>> > I write into wikipages something like (:ref Question125:) and (:ref Question126:) and so on.<br>> > A pagelist then lists all occurences of (:ref something:) and lists them up as links:<br>> > Question125><br>
> > Question126><br>> > ....<br>><br>><br>> _______________________________________________<br>> pmwiki-users mailing list<br>> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br><br><br>--<br>---------------------------------------<br>| A | de la langue française<br>
| B | <a href="http://www.languefrancaise.net/">http://www.languefrancaise.net/</a><br>| C | <a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a><br>---------------------------------------</div></div>