Re: [pmwiki-users] Include static HTML

2010-07-15 Thread Laatz, Erek
Hi,

I use cookbook/includeurl on our intranet site successfully. I have
placed includeurl.php in the cookbook directory and have added the line

   include_once("$FarmD/cookbook/includeurl.php");

into my config.php.

After that I've placed the static pages into the webservers htdocs
directory structure (not in the pmwiki directory!) and have included the
URL like

(:includeurl http://foo.bar/static-html/index.html height=550px:)

I have even tested: it works also e.g. for image galleries with complex
forward- and backlinks

It's (in my opinion) not so complex like described below ;-)

Best regards,

Erek

Am 13.07.2010 19:40, schrieb Chris Cox:
> On Tue, 2010-07-13 at 09:26 -0700, pmw...@911networks.com wrote:
>>> Not sure if the following is perfect, but it works...
>>>
>>> Markup(
>>>  'html',
>>>  'fulltext',
>>>  '/\\(:html:\\)(.*?)\\(:htmlend:\\)/esi',
>>>  "'<:block>'.Keep(str_replace(array('>', '<', '&'),
>>>  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.
> 
> 
> 
> ___
> pmwiki-users mailing list
> pmwiki-users@pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Include static HTML

2010-07-13 Thread Chris Cox
On Tue, 2010-07-13 at 09:26 -0700, pmw...@911networks.com wrote:
> >Not sure if the following is perfect, but it works...
> >
> >Markup(
> >  'html',
> >  'fulltext',
> >  '/\\(:html:\\)(.*?)\\(:htmlend:\\)/esi',
> >  "'<:block>'.Keep(str_replace(array('>', '<', '&'),
> >  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.



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Include static HTML

2010-07-13 Thread pmwiki
>Not sure if the following is perfect, but it works...
>
>Markup(
>  'html',
>  'fulltext',
>  '/\\(:html:\\)(.*?)\\(:htmlend:\\)/esi',
>  "'<:block>'.Keep(str_replace(array('>', '<', '&'),
>  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/

-- 
Thanks
http://www.911networks.com
When the network has to work

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Include static HTML

2010-07-13 Thread Chris Cox
On Tue, 2010-07-13 at 07:56 -0700, pmw...@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('>', '<', '&'),
  array('>', '<', '&'), PSS('$1')))");



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Include static HTML

2010-07-13 Thread pmwiki
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?

-- 
Thanks
http://www.911networks.com
When the network has to work

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users