Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 28. marec 2024

Súbor: [Platon] / Metafox / doc / linking.html (stiahnutie) (ako text)

Revízia 1.3, Fri Jul 7 09:15:48 2006 UTC (17 years, 8 months ago) by nepto


Zmeny od 1.2: +6 -2 [lines]

Implemented Pages (Articles with zero datetime)

<h3>Metafox linking capabilities</h3>

<p>
This is list of possible linking tags optionally used in Metafox content text fields.

    <p><b>Article/Page linking</b>
    <blockquote>
    <p>Links article/page with defined ID or key.
    <p><code>
&lt;article-link&nbsp;<i>ARTICLE-ID</i>&gt;<br>
&lt;article-link&nbsp;<i>ARTICLE-ID</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/article-link&gt;
    </code>
    <p><code>
&lt;page-link&nbsp;<i>PAGE-ID</i>&gt;<br>
&lt;page-link&nbsp;<i>PAGE-ID</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/page-link&gt;
    </code>
    </blockquote>
    
    <p><b>Section linking</b>
    <blockquote>
    <p>Links section with defined ID or key.
    <p><code>
&lt;section-link&nbsp;<i>SECTION-ID</i>&gt;<br>
&lt;section-link&nbsp;<i>SECTION-ID</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/section-link&gt;
    </code>
    </blockquote>

    <p><b>Author linking</b>
    <blockquote>
    <p>Links author with defined ID or key.
    <p><code>
&lt;author-link&nbsp;<i>AUTHOR-ID</i>&gt;<br>
&lt;author-link&nbsp;<i>AUTHOR-ID</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/author-link&gt;
    </code>
    </blockquote>

    <p><b>Repository file linking</b>
    <blockquote>
    <p>Links file or image in the upload repository.
    <p><code>
&lt;image-link&nbsp;<i>path/to/image.png</i>&gt;<br>
&lt;image-link&nbsp;<i>path/to/image.png</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/image-link&gt;<br>
&lt;repository-link&nbsp;<i>path/to/repository/file</i>&gt;<br>
&lt;repository-link&nbsp;<i>path/to/repository/file</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/repository-link&gt;
    </code>
    </blockquote>

    <p><b>E-mail address linking</b>
    <blockquote>
    <p>Make e-mail address clickable.
    <p><code>
&lt;mail-link&nbsp;<i>mail@example.com</i>&gt;<br>
&lt;mail-link&nbsp;<i>mail@example.com</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/mail-link&gt;<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>
&lt;link&nbsp;<i>path/to/repository/file</i>&gt;<br>
&lt;link&nbsp;<i>path/to/repository/file</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/link&gt;<br>
&lt;link&nbsp;<i>/path/to/portal/directory/</i>&gt;<br>
&lt;link&nbsp;<i>/path/to/portal/directory/</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/link&gt;<br>
&lt;link&nbsp;<i>http://example.com/link.html</i>&gt;<br>
&lt;link&nbsp;<i>http://example.com/link.html</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/link&gt;
    </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>
&lt;extern-link&nbsp;<i>path/to/relative/link.html</i>&gt;<br>
&lt;extern-link&nbsp;<i>path/to/relative/link.html</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/extern-link&gt;<br>
&lt;extern-link&nbsp;<i>/path/to/portal/directory/</i>&gt;<br>
&lt;extern-link&nbsp;<i>/path/to/portal/directory/</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/extern-link&gt;<br>
&lt;extern-link&nbsp;<i>http://example.com/link.html</i>&gt;<br>
&lt;extern-link&nbsp;<i>http://example.com/link.html</i>&gt;<u>text&nbsp;to&nbsp;link</u>&lt;/extern-link&gt;
    </code>
    </blockquote>

    <p><b>Image displaying</b>
    <blockquote>
    <p>Displays image from the repository.
    <p><code>
&lt;image&nbsp;<i>path/to/image.png</i>&gt;<br>
&lt;image&nbsp;<i>path/to/image.png</i>&gt;<u>image&nbsp;alt&nbsp;text</u>&lt;/image&gt;<br>
&lt;image&nbsp;<i>http://example.com/image.png</i>&gt;<br>
&lt;image&nbsp;<i>http://example.com/image.png</i>&gt;<u>image&nbsp;alt&nbsp;text</u>&lt;/image&gt;
    </code>
    </blockquote>

    <p><b>Flash animations</b>
    <blockquote>
    <p>Displays flash animation from the repository.
    <p><code>
&lt;flash&nbsp;<i>path/to/flash.swf</i>&nbsp;width="30"&nbsp;height="15"&gt;<br>
&lt;flash&nbsp;<i>path/to/flash.swf</i>&nbsp;width="30"&nbsp;height="15"&gt;<u>flash&nbsp;alt&nbsp;text</u>&lt;/flash&gt;<br>
&lt;flash&nbsp;<i>http://example.com/flash.swf</i>&nbsp;width="30"&nbsp;height="15"&gt;<br>
&lt;flash&nbsp;<i>http://example.com/flash.swf</i>&nbsp;width="30"&nbsp;height="15"&gt;<u>flash&nbsp;alt&nbsp;text</u>&lt;/flash&gt;
    </code>
    </blockquote>

<p>Note, that particular ID, file or link definition cannot be quoted. Text to
link cannot contain any HTML tag, even <code>&lt;</code> and <code>&gt;</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&nbsp;<code>&lt;flash&gt;</code>&nbsp;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>&gt;</code> character, as it is described in all HTML version
specifications.

<ul>
    <li><code>&lt;image <i>path/to/image.png</i> alt="Image" border="0" width="280"&gt;</code></li>
    <li><code>&lt;article-link <i>ARTICLE-ID</i> target="_top"&gt;</code></li>
</ul>


Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok