[pmwiki-users] Including a file with PmWiki markup

Tamara Temple tamouse.lists at gmail.com
Tue Jun 14 23:28:44 CDT 2011


On Jun 14, 2011, at 9:22 PM, Michael Benjamin wrote:

>
> How can I include a file containing PmWiki markup into a page?
> For example, I'm looking to include a file such as:
>
> ------------------------- file foobar.txt
> !! Introduction
> Hello World
> [[<<]]
> Good bye
> ------------------------
>
> I've tried (:includefile:) and even (:includeupload), but both just
> include the text verbatim without converting [[<<]] to a newline etc,
> or the !! as a section heading.
>
> Thanks,
> Mike

Hmm... I can see why you might not want to do that -- it can present  
possibly sercurity holes if one isn't careful. If you do include  
files, make sure they aren't in your server document tree  or are  
otherwise protected.




More information about the pmwiki-users mailing list