Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

IncludeSite

Summary: Include an entire page in a wiki page
Version: 2005-05-08
Prerequisites:
Status:
Maintainer:
Categories: Includes
Discussion: IncludeSite-Talk

Question

How can I include a complete page in a wiki page?

Answer

First, be sure you're aware of the security and possible copyright risks of letting the content of other (arbitrary!) URLs appear in your pages.

Once you've gotten past that hurdle, download includeSite.phpΔ and put it into cookbook/includeSite.php

Add the following line into your config.php

 include_once("cookbook/includeSite.php");

the following code adds a (:includeSite http://...:) markup that lets you embed the contents of other pages into a wiki page.

Notes

Supported (optional) fields are:

  • height = default/pixels/%
  • width = default/pixels/%
  • border = default/pixels
  • scroll = default/yes/no
  • align = default/left/right/center

See Also

Contributors

Comments

See discussion at IncludeSite-Talk

User notes +2: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on December 05, 2014, at 09:37 AM