Hello,

I try to include (transclude in Moin  language) the relevant part of a
wiki page in a static shmtl page.

I use the following line (SSI syntax):

<!--#exec cmd="/usr/bin/wget -O - -nd -nH
http://wiki.tldp.org/FrontPage?action=content"; -->

when I use

<!--#exec cmd="/usr/bin/wget -O - -nd -nH
http://wiki.tldp.org/FrontPage"; -->

it works perfectly (the hole wiki page is inserted)

but with the ?action=content, I have nothing inserted.

If I use the wget line in an xterm, I get

Connecting to xxxxxx|IP|:80... connected.
HTTP request sent, awaiting response... 403 FORBIDDEN
14:56:48 ERROR 403: FORBIDDEN.

what can I do?

the wget approach is not optimal :-(. Do you see any other way?
according to this page (http://moinmo.in/HelpOnActions) this command
if just ade for what I want.


content
for transclusion into static web pages, this action emits the pure
page content, without any <html>, <head>, or <body> tags.

thanks
jdd
-- 
jdd for the Linux Documentation Project
http://wiki.tldp.org
http://www.dodin.net


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to