The Spring 2012 season of CACAO has started!

Help:Embedding iframes

From GONUTS
Jump to: navigation, search

iframes are HTML elements that allow designers to embed the content of one website into another. The <iframe> tag is usually not allowed in wikis because a user could embed a malicious website in a wiki page.

GONUTS allows a limited number of types of iframes from a "white list". The following types of sites can be embedded by using the following syntax:

<iframe_embed>
 type
 parameter 1
 parameter 2
 etc.
 </iframe_embed>

Where type is a predefined value telling the wiki where to get the embedded website, and following lines hold parameters passed to the either the iframe or the embedded website.

Types

Currently there are only a couple of allowed types. More can be added if there is demand.

cnn

embeds the CNN.com home page. parameters

Example:

<iframe_embed>
cnn
< iframe_embed >

coveritlive

embeds a Cover It Live scheduled live chat. parameters

Example:

<iframe_embed>
coveritlive
2b9f76c002
< iframe_embed >
Personal tools
Namespaces
Variants
Actions
Navigation
Cacao
Journal Clubs
page contributors
Toolbox