[pmwiki-users] Include static HTML

Chris Cox ccox at endlessnow.com
Tue Jul 13 11:05:31 CDT 2010


On Tue, 2010-07-13 at 07:56 -0700, pmwiki at 911networks.com wrote:
> Hi,
> 
> I'm trying to include static HTML web pages into my web pages. I've
> looked at cookbook/includeurl unsuccessfully.
> 
> 1. Where do I place the static hml files? I have tried creating a
> group Static in the wiki.d, but...
> 2. Should I do something else for the html files?
> 

Not sure if the following is perfect, but it works...


Markup(
  'html',
  'fulltext',
  '/\\(:html:\\)(.*?)\\(:htmlend:\\)/esi',
  "'<:block>'.Keep(str_replace(array('&gt;', '&lt;', '&amp;'),
  array('>', '<', '&'), PSS('$1')))");





More information about the pmwiki-users mailing list