Anyone know if there is a way to include the text of a particular wiki page in a regular HTML page? I just want the text of the page (but converted to HTML, not wiki formatted), not the whole wiki skin. Thanks.
-- Daniel M. Israel dmi1@cornell.edu
On 25/09/2007, Daniel Israel dmi1@hushmail.com wrote:
Anyone know if there is a way to include the text of a particular wiki page in a regular HTML page? I just want the text of the page (but converted to HTML, not wiki formatted), not the whole wiki skin. Thanks.
Grab the content from /URL/to/wiki/index.php?title=Page&action=render. You could, for instance, place this in an <iframe>.
Rob Church
I have a question about this because I wanted to do the same and re-skin a wiki on the fly by placing the content in an iFrame.
The problem with this approach is that every internal link on the page will immediately break back into the full skinned wiki.
I did write some javascript to change ever link on the page but I'm not really happy with this approach. Is there a more wiki method?
Gadget Doctor
On 9/25/07, Rob Church robchur@gmail.com wrote:
On 25/09/2007, Daniel Israel dmi1@hushmail.com wrote:
Anyone know if there is a way to include the text of a particular wiki page in a regular HTML page? I just want the text of the page (but converted to HTML, not wiki formatted), not the whole wiki skin. Thanks.
Grab the content from /URL/to/wiki/index.php?title=Page&action=render. You could, for instance, place this in an <iframe>.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
The Gadget Doctor wrote:
I have a question about this because I wanted to do the same and re-skin a wiki on the fly by placing the content in an iFrame.
The problem with this approach is that every internal link on the page will immediately break back into the full skinned wiki.
I did write some javascript to change ever link on the page but I'm not really happy with this approach. Is there a more wiki method?
Gadget Doctor
Change everything in the skin page (monobook.php)? (ie. effectively making your own skin)
mediawiki-l@lists.wikimedia.org