Leo<HTML>

File Tags

Tags - Referenz
Tag Syntax
Include Tag
Macro Tags
Menu Tags
Locale Tags
Char Tag
File Tags
    Beschreibung
    File Tag
    Filelist Tag
Image Tag
Delete Tag
Init System
Der Interpreter
Eigene Tags
Index

Quellen von file.html:
  
     
 
<include file="top.lhhtml"> 
 
<lconf pos="/file" pagename="file"> 
 
<section link="/file/description" local="description"> 
 
<locale> 
  <locale language="de"> 
 
Oftmals ist es notwendig Links auf lokale Dateien zu erstellen, 
die dann heruntergeladen werden. Aber der Name dieser Datei kann sich 
auch immer wieder ändern. z.B.: Die tar Datei dieses Projektes ändert 
sich immer wieder. Momentan lautet der Name so: <code>leohtml-1.0.0.tar.gz</code>. 
Aber nöchste Woche kann schon eine neue Versoin veröffetlicht werden dessen Dateiname 
dann <code>leohtml-1.0.1.tar.gz</code> lautet.<br> 
Normalerweise müßte man in der HTML Datei jedesmal des Link ändern. Nicht so bei den File 
Tags. Bei ihnen kann ein shell ähnlicher, oder gar ein Regulärer Ausdruck 
verwendet werden um den Link zu setzten. 
 
  </locale> 
  <locale language="en"> 
 
Quiet often it is necessary to link a local file on you page. This file can 
be downloaded. But the name of this file can be chenged from time to time. 
e.g.: The name of the tar file of this project actually is <code>leohtml-1.0.0.tar.gz</code>. 
But next week it can be <code>leohtml-1.0.1.tar.gz</code>.<br> 
Normally you have to update the link at your page. By using the file tags this can 
be avoided, cause you can specify the file name by a shell likewise syntax, or a regular expression. 
 
 
  </locale> 
</locale> 
 
</section> 
 
<!-- ************************ --> 
 
<section link="/file/file" local="file"> 
 
<definition title="File Tag Definition"> 
<include file="file.def"> 
</definition> 
 
<br> 
<br> 
 
<faq title="expr Option"> 
 
<locale> 
  <locale language="de"> 
 
Ein Ausdruck, der die Datei beschreibt. Ist die <b>regex</b> Option gesetzt 
wird dieser Ausdruck hier als Regulärer Ausdruck interpetiert. 
<br><br> 
Wenn nicht, dann der Audruck zum Beispiel so lauten: <code>"leohtml-*.tar.gz"</code>. 
Es dürfen auch mehrere '*' verwendet werden. 
 
  </locale> 
  <locale language="en"> 
 
An expression that describes the file. If the <b>regex</b> option is set 
the expression will be interpreted as a regular expression. 
<br><br> 
If not, the expression can be like that: <code>"leohtml-*.tag.gz"</code>. 
You can alsp use more than one '*'. 
 
  </locale> 
</locale> 
 
</faq> 
 
<!-- ********************* --> 
 
<faq title="origdir Option"> 
 
<lang de text="Das Verzeichnis in dem sich die Datei befindet, relativ zu der Source-HTML Datei."> 
<lang en text="The directory where the file is located, relativ to the creation html file."> 
 
</faq> 
 
<!-- ******************** --> 
 
<faq title="publicdir Option"> 
 
<lang de text="Das Verzeichnis in dem sich die Datei befindet, relativ zu der veröffentlichten HTML Datei."> 
<lang en text="The directory where the file is located, relativ to the public html file."> 
 
</faq> 
 
<!-- ******************* --> 
 
<faq title="title Option"> 
 
<lang de text="Wird diese Option nicht verwedet, so wird der Dateiname als Titel für den Link verwendet."> 
<lang en text="If this option is not set the name of the file will be used as the title of the link."> 
 
</faq> 
 
<!-- ****************** --> 
 
<faq title-en="size and date Option" title-de="size und date Option"> 
 
<lang de text="Wenn die Datum und Dateigröße berechnet werden sollen, dann müssen diese Optionen gesetzt werden."> 
<lang en text="If the file date and file size has to be calculated, this option has to be set."> 
 
</faq> 
 
<!-- ****************** --> 
 
<faq title="sorttype Option"> 
 
<locale> 
  <locale language="en"> 
 
If the <b>regex</b> option is not set, you can specify which sort type should be used for 
sorting the files. 
Allowed values are: <code>none</code> (the default), <code>lexical</code>, <code>numerical</code> 
and <code>date</code>. 
 
  </locale> 
  <locale language="de"> 
 
Wenn die <b>regex</b> Option nicht gesetzt ist kann festgelegt werden, welche Sortierungsart  
für die gefundenen Dateien verwendet werden sollen. Erlaubte Werte sind: 
<code>none</code> (der default Wert), <code>lexical</code>, <code>numerical</code> 
und <code>date</code>. 
 
  </locale> 
</locale> 
 
</faq> 
 
<!-- ********************* --> 
 
<faq title="sort Option"> 
 
<locale> 
  <locale language="de"> 
 
Wenn die <b>regex</b> Option nicht gesetzt ist kann hier festgelegt werden, wie  
die Dateien nun sortiert werden sollen. Erlaubte Werte sind: 
<code>none</code> (der dafault Wert), <code>highest</code>, <code>lowest</code> 
und eine Zahl, wenn die XXX'te Datei vwerdet werden soll. 
 
  </locale> 
  <locale language="en"> 
 
If the <b>regex</b> option is not set, you can specify how the files should be sorted. 
Allowed value are: <code>none</code> (the default), <code>highest</code>, <code>lowest</code> 
and a number if the XXX'th file should be used. 
 
  </locale> 
</locale> 
 
</faq> 
 
<!-- ********************** --> 
 
<faq title="ignore Option"> 
 
<lang de text="Wie <b>expr</b>, jedoch werden die mit diesem Ausdruck gefundene Dateien ignoriert."> 
<lang en text="Same as <b>expr</b>, but the files that are found with this option will be ignored."> 
 
</faq> 
 
<!-- *********************** --> 
 
 
<faq title="format Option"> 
 
<locale> 
  <locale language="de"> 
 
Der verwendete Format String. Der Default Format string ist: <code>"NAME SIZE DATE"</code>. 
Ein etwas schönerer Format String währe: <code>"NAME (SIZEk) (DATE)"</code>. 
 
  </locale> 
  <locale language="en"> 
 
The used format string. The default value is: <code>"NAME SIZE DATE"</code>. 
A little bit nicer would be: <code>"NAME (SIZEk) (DATE)"</code>. 
 
  </locale> 
</locale> 
 
</faq> 
 
<!-- ********************** --> 
 
<faq title="regex Option"> 
 
<locale> 
  <locale language="de"> 
 
Wenn das <b>regex</b> Flag gesetzt ist, dann werden alle Ausdrücke, 
also das <b>expr</b> und das <b>ignore</b> Feld als reguläre Ausdrücke interpretiert.  
Diese Feature wird durch die <ixlib> bereitgestellt. Um es nutzen zu können muß <leohtml> 
mit <ixlib> Unterstützung compiliert worden sein.  
<br><br> 
 
  </locale> 
  <locale language="en"> 
 
If the <b>regex</b> flag is set, all expresions, that means the <b>expr</b> and <b>ignore</b> fields  
are interpreted as regular expression. The regual expresions are supported by <ixlib>.  
You have to compile <leohtml> with <ixlib> support for using these feature.  
<br><br> 
 
  </locale> 
</locale> 
 
<br> 
 
<example mode="fixed" title-en="<ixlib> says:" title-de="<ixlib> sagt zu den regulären Ausdrücken"> 
  Backref numbering starts at \0.  
 
  ReplaceAll does not set the MatchIndex/MatchGlobal members. 
  
  What is there is compatible with perl5. (See man perlre or 
  http://www.cpan.org/doc/manual/html/pod/perlre.html) 
  However, not everything is there. Here's what's missing: 
  
  <ul> 
    <li> \Q-\E,\b,\B,\A,\Z,\z 
    <li> discerning between line and string 
    <li> (?#comments) 
    <li> (?:clustering) 
    <li> (?=positive lookahead assumptions) 
    <li> (?!negative lookahead assumptions 
    <li> (?<=positive lookbehind assumptions) 
    <li> (? 
    <li> (?>independent substrings) 
    <li> modifiers such as "case independent" 
    </ul> 
</example> 
 
</faq> 
 
<!-- ********************* --> 
 
<faq title="nowarning Option"> 
 
<locale> 
  <locale language="de"> 
 
Wenn du nicht weißt, was diese Option bedeuted, dann sie 
im <link path="/image"> tag nach. Dort ist sie genau beschrieben. 
 
  </locale> 
  <locale language="en"> 
 
A detailed description of this flag you will find there: <link path="/image">. 
 
  </locale> 
</locale> 
 
</faq> 
 
</section> 
 
<!-- *********************** --> 
 
<section link="/file/filelist" local="filelist"> 
 
<locale> 
  <locale language="en"> 
 
 
The <code>filelist</code> tag is very similar to the <code>file</code> tag. 
With the filelist tag you include a whole list of files. You specify  
the files as you do it with the file tag. but not only one file will be choosen,  
the whole list will be taken.  
<br><br> 
 
For the different exercises we need different parameters.  
So we use the sort option to specify how the list should be sorted.  
The valid modes are <code>none</code> (the default), <code>up</code> and <code>down</code>. 
All other parameters haven't changed. 
 
  </locale> 
  <locale language="de"> 
 
Das <code>filelist</code> Tag ist dem <code>file</code> sehr ähnlich. 
Mit dem <code>filelist</code> Tag können ganze Listen von Dateien 
eingebunden werden. 
<br><br> 
 
Das <code>filelist</code> Tag unterscheidet sich in nur einer Option 
von dem <code>file</code> tag: die <b>sort</b> Option. Erlaubte Werte sind: 
<code>none</code> (der default Wert), <code>up</code> und <code>down</code>. 
Alle anderen Parameter haben sich nicht verändert. 
 
  </locale> 
</locale> 
 
<definition title="Filelist Tag Definition"> 
<include file="filelist.def"> 
</definition> 
 
<br><br> 
 
<locale> 
  <locale language="de"> 
 
Das <code>filelist</code> Tag kann auch dazu benutzt werden eine Image-Gallary 
zu generieren. Wie das Funktioniert ist in den Beispielen beschrieben: 
<a href="../doc-de.html">Dokumentation</a> 
 
  </locale> 
  <locale language="en"> 
 
The <code>filelist</code> can be used to generate an image gallary. 
How this works is described in the Examples: <a href="../doc-en.html">Ducumentation</a>. 
 
  </locale> 
</locale> 
 
</section> 
 
                  
    



Diese Seite wurde von King Leo kreiert. Seitengenerator Leo<HTML> Version 0.99.0 .