Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > d8544620e4ac7bee48ddb48c85d55709 > files > 331

ikiwiki-3.20190228-1.mga7.noarch.rpm

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>embed</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" href="../style.css" type="text/css" />

<link rel="stylesheet" href="../local.css" type="text/css" />










</head>
<body>

<div class="page">

<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">

<a href="../index.html">ikiwiki</a>/ 

<a href="../plugins.html">plugins</a>/ 

</span>
<span class="title">
embed

</span>
</span>



</div>









</div>





<div id="pagebody">

<div id="content" role="main">
<p><span class="infobox">
Plugin: embed<br />
Author: <span class="createlink">Joey</span><br />
Included in ikiwiki: yes<br />
Enabled by default: no<br />
Included in <a href="./goodstuff.html">goodstuff</a>: no<br />
Currently enabled: no<br />
</span></p>

<p>This plugin allows embedding content from external sites on 
wiki pages.</p>

<p>Normally, the <a href="./htmlscrubber.html">htmlscrubber</a> does not allow the tags that are used for
embedding content from external sites, since <code>&lt;iframe&gt;</code>, <code>&lt;embed&gt;</code>, and
<code>&lt;object&gt;</code> tags can be used for various sorts of attacks. This plugin
allows such tags to be put on a page, if they look like they are safe.</p>

<p>In the examples below, the parts of the html that you can change are denoted
with "XXX"; everything else must appear exactly as shown to be accepted by the
plugin.</p>

<p><strong>This plugin is deprecated.</strong> Rather than relying on these complex lists
of safe content, which constantly fall out of date, you're recommended to
configure the <a href="./htmlscrubber.html">htmlscrubber</a> to not scrub some pages, which only trusted
users can edit. Then you can embed anything from anywhere on those pages.
See <a href="../tips/embedding_content.html">embedding content</a> for details and examples.
This plugin's lists of safe embedded content will not be maintained, and 
the plugin will be removed in a future  release.</p>

<h2>google maps</h2>

<p>Use html like this to embed a map:</p>

<pre><code>&lt;iframe width="XXX" height="XXX" frameborder="XXX" scrolling="XXXX" marginheight="XXXX" marginwidth="XXXX" src="http://maps.google.com/?XXX"&gt;&lt;/iframe&gt;
</code></pre>

<p>(This method only allows embeddeding a simple map. To use the full
<a href="http://www.google.com/apis/maps/">Google Maps API</a> from ikiwiki, including
drawing points and GPS tracks on the map, try the <a href="./contrib/googlemaps.html">googlemaps</a>
plugin.)</p>

<h2>youtube</h2>

<p>Use html like this to embed a video:</p>

<pre><code>&lt;object width="XXX" height="XXX"&gt;&lt;param name="movie" value="http://www.youtube.com/v/XXX"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;
&lt;embed src="http://www.youtube.com/v/XXX" type="application/x-shockwave-flash" wmode="transparent" width="XXX" height="XXX"&gt;&lt;/embed&gt;&lt;/object&gt;
</code></pre>

<h2>google video</h2>

<p>Use html like this to embed a video:</p>

<pre><code>&lt;embed style="width:XXXpx; height:XXXpx;" id="XXX" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?XXX" flashvars=""&gt;&lt;/embed&gt;
</code></pre>

<h2>google calendar</h2>

<p>Use html like this to embed a calendar:</p>

<pre><code>&lt;iframe src="http://www.google.com/calendar/embed?XXX" style="border-width:XXX" width="XXX" frameborder="XXX" height="XXX"&gt;&lt;/iframe&gt;
</code></pre>

</div>







</div>

<div id="footer" class="pagefooter" role="contentinfo">

<div id="pageinfo">




<div class="tags">
Tags:

<a href="./type/html.html" rel="tag">type/html</a>

</div>








<div class="pagedate">
Last edited <span class="date">Tue Feb 26 23:01:54 2019</span>
<!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> -->
</div>

</div>


<!-- from ikiwiki -->
</div>

</div>

</body>
</html>