[pmwiki-devel] Creating a page text variable in a recipe

Simon nzskiwi at gmail.com
Mon Sep 28 13:17:58 CDT 2009


I can't change the markup in the recipe, it is an existing markup format for
which many thousands of songs are available in. Plus in future I want to
leave the option of being able to read a "*.crd" file (eg uploaded) and
format it too.:-)

2009/9/28 Petko Yotov <5ko at 5ko.fr>

> On Monday 28 September 2009 10:18:16 Simon wrote:
> > {directives}
> > {title:Song Sung Blue}
> > {subtitle:Neil Diamond}
> > {album:Hot August Night}
> > {start_of_chorus}
> > [C]Song sung [F]blue
> > {end_of_chorus}
>
> Couldn't you just use :
>
> :title:Song Sung Blue
> :subtitle:Neil Diamond
> :album:Hot August Night
>
> instead of the ones in {braces} ? Change your markup parser to recognize
> this.
>
> This way, they will work as regular PageTextVariables from other pages and
> from pagelists.
>
> This could be simpler.
>
> Petko
>



-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20090929/a069e23c/attachment.html 


More information about the pmwiki-devel mailing list