LinuxFocus uses a meta file html article format as internal article format. Look a the links below to see how it works. To convert and syntax check the artikles in meta file format you need the lfparser program. Please note that this program checks the LinuxFocus specific html tags. It does not check whether or not your article body contains correct html according to W3 specs.
Please note that there are 2 templates for this meta file format.
One has the heading TranslationInfo and the other and older version
New compilers can handle both formats, but the new one with TranslationInfo is the prefered version and should be used for all development from now on.
lfparser articleXXX.meta.shtml > articleXXX.shtmlThis will generate the file articleXXX.shtml The XXX in the above case must be replaced by the appropriate article number. Using option -l, lfparser can also generate html code adapted to specific languages. You can specify the E.g for German (de) you can use the command:
lfparser -l de articleXXX.meta.shtml > articleXXX.shtmlFor new articles (named meta.shtml and .shtml) you can as well save some typing and just run:
lfparser XXXThis causes lfparser to search for a file called articleXXX.meta.shtml in the current directory, read this file and write to articleXXX.shtml.
# comment line lang = de # this entry makes de=german the default language style = 2 # 2=new style, 1 would be old style #
Page Maintained by: Guido Socher <guido(at)linuxfocus.org>