[pmwiki-users] Include static HTML

Chris Cox ccox at endlessnow.com
Tue Jul 13 12:40:22 CDT 2010


On Tue, 2010-07-13 at 09:26 -0700, pmwiki at 911networks.com wrote:
> >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')))");
> 
> Sorry, but I'm not sure that I understand. Mostly because I didn't
> expand on my situation:
> 
> 1. I have static web pages generated by Arles[1], images with
> titles/keywords...
> 2. It generates an index.html, then each image has its own web page,
> with annotation and navigation for next/previous...
> 3. My pagestore is: 'wiki.d/{$Group}/{$FullName}' so I store
> everything by group.
> 
> so are you saying that I should include the index.html source inside
> the (:html:) (:htmlend:)?
> 
> But then where do I store the individual pages?
> 
> [1] http://digitaldutch.com/arles/
> 

For including complex websites, I'd use the original plan... includeURL
or includeSite recipe.

I think we use includeSite... includes the remote website inside of a
frame.  Reasonable solution.





More information about the pmwiki-users mailing list