Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [10-2007 Date Index] [Date Next] || [Thread Prev] [10-2007 Thread Index] [Thread Next]

[dokuwiki] Re: Get page information from syntax plugin

  • From: Dustin Butler <dustin@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 06 Oct 2007 14:30:38 -0500
YC Chan wrote:
IMHO, I think it is not possible to know what "Section" a syntax plugin is called,
unless you pass additional information to it
E.g. adding a text containing the anchor of the section.
What (other) information do you like to get ?

Maily the section name is what I'm after. I haven't dug into the lexer/parser stuff, bit over me. My idea for a plug-in is something like

<item>One</item>
<item>Two</item>

I was going to use the text as a "key" when storing information about this item outside the wiki. These keys may repeat on the page but not in a section. That is why I would like to use the section + item name as a key for storing data for this plug-in

Thanks,
Dustin

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.