<h3>Metafox linking capabilities</h3>
<p>
This is list of possible linking tags optionally used in Metafox content text fields.
<p><b>Article linking</b>
<blockquote>
<p>Links article with defined ID or key.
<p><code>
<article-link <i>ARTICLE-ID</i>><br>
<article-link <i>ARTICLE-ID</i>><u>text to link</u></article-link>
</code>
</blockquote>
<p><b>Section linking</b>
<blockquote>
<p>Links section with defined ID or key.
<p><code>
<section-link <i>SECTION-ID</i>><br>
<section-link <i>SECTION-ID</i>><u>text to link</u></section-link>
</code>
</blockquote>
<p><b>Author linking</b>
<blockquote>
<p>Links author with defined ID or key.
<p><code>
<author-link <i>AUTHOR-ID</i>><br>
<author-link <i>AUTHOR-ID</i>><u>text to link</u></author-link>
</code>
</blockquote>
<p><b>Repository file linking</b>
<blockquote>
<p>Links file or image in the upload repository.
<p><code>
<image-link <i>path/to/image.png</i>><br>
<image-link <i>path/to/image.png</i>><u>text to link</u></image-link><br>
<repository-link <i>path/to/repository/file</i>><br>
<repository-link <i>path/to/repository/file</i>><u>text to link</u></repository-link>
</code>
</blockquote>
<p><b>E-mail address linking</b>
<blockquote>
<p>Make e-mail address clickable.
<p><code>
<mail-link <i>mail@example.com</i>><br>
<mail-link <i>mail@example.com</i>><u>text to link</u></mail-link><br>
</code>
</blockquote>
<p><b>Common URL linking</b>
<blockquote>
<p>Create common URL link, link to repository file or link to portal file or directory.
<p><code>
<link <i>path/to/repository/file</i>><br>
<link <i>path/to/repository/file</i>><u>text to link</u></link><br>
<link <i>/path/to/portal/directory/</i>><br>
<link <i>/path/to/portal/directory/</i>><u>text to link</u></link><br>
<link <i>http://example.com/link.html</i>><br>
<link <i>http://example.com/link.html</i>><u>text to link</u></link>
</code>
</blockquote>
<p><b>Extern URL linking</b>
<blockquote>
<p>Creates extern URL link, relative link or link to portal file or
directory. This kind of link will be always opened in new browser
window.
<p><code>
<extern-link <i>path/to/relative/link.html</i>><br>
<extern-link <i>path/to/relative/link.html</i>><u>text to link</u></extern-link><br>
<extern-link <i>/path/to/portal/directory/</i>><br>
<extern-link <i>/path/to/portal/directory/</i>><u>text to link</u></extern-link><br>
<extern-link <i>http://example.com/link.html</i>><br>
<extern-link <i>http://example.com/link.html</i>><u>text to link</u></extern-link>
</code>
</blockquote>
<p><b>Image displaying</b>
<blockquote>
<p>Displays image from the repository.
<p><code>
<image <i>path/to/image.png</i>><br>
<image <i>path/to/image.png</i>><u>image alt text</u></image><br>
<image <i>http://example.com/image.png</i>><br>
<image <i>http://example.com/image.png</i>><u>image alt text</u></image>
</code>
</blockquote>
<p><b>Flash animations</b>
<blockquote>
<p>Displays flash animation from the repository.
<p><code>
<flash <i>path/to/flash.swf</i> width="30" height="15"><br>
<flash <i>path/to/flash.swf</i> width="30" height="15"><u>flash alt text</u></flash><br>
<flash <i>http://example.com/flash.swf</i> width="30" height="15"><br>
<flash <i>http://example.com/flash.swf</i> width="30" height="15"><u>flash alt text</u></flash>
</code>
</blockquote>
<p>Note, that particular ID, file or link definition cannot be quoted. Text to
link cannot contain any HTML tag, even <code><</code> and <code>></code>
characters are forbidden.
<p>Furthermore, every tag can be enriched by adding appropriate HTML attributes
vith values after particular ID, file or link definition. This is especially
useful with <code><flash></code> tag, since it would not work
without <code>width</code> and <code>height</code> attributes.
<p>Please note, that such attributes with their values cannot contain
<code>></code> character, as it is described in all HTML version
specifications.
<ul>
<li><code><image <i>path/to/image.png</i> alt="Image" border="0" width="280"></code></li>
<li><code><article-link <i>ARTICLE-ID</i> target="_top"></code></li>
</ul>
Platon Group <platon@platon.sk> http://platon.sk/
|