southdii(a)onid.orst.edu wrote:
Hi,
I am setting up a Wiki that organizes information on a series of books. I
want the site to still be accessible to those who have not read all the
books, so I am adding a spoiler extension. For example, <book2> Spoilers
about book 2 </book>, if the person's cookie says they haven't read book2,
the spoilers will not be in the page.
how about instead of an extension allowing something like:
<span class="spoiler book2">spoil!</span>
Then you could hide it with some quite simple CSS.
I still want all the wiki tags within the spoilers to
be parsed. How would
I use a Parser object to make sure the stuff inside the tags show up
exactly how they would if the tags weren't there?
Thanks,
Ian