Format 1: html full featured
http://main.linuxfocus.org/ common/linkus/linkushtml_full.html:
This is a full featured html file. You fetch it periodically with
curl, lynx -dump or wget and then just use normal apache Server Side Includes
(<!--#include virtual="linkushtml_full.html" -->)
or php
(<?php include ("linkushtml_full.html"); ?>)
The example box you see on the left would e.g look
in html as follows. The main part of this html code
just produces this box arround it.
<TABLE cellspacing="1" cellpadding="1"
border="0" width="250" align="left"
bgcolor="#111111">
<TR>
<TD>
<TABLE cellspacing="1" cellpadding="1"
border="0" align="CENTER"
bgcolor="#BEBEBE" width="100%"
<TR>
<TD>
<TABLE cellspacing="1"
cellpadding="3" border="0"
bgcolor="#FFFFFF" align="CENTER"
width="100%">
<TR>
<TD bgcolor="#113366">
<FONT color="#FFFFFF" size=
"+1"><!-- TABLE HEAD -->
<I>LinuxFocus.org </I>
<!-- END TABLE HEAD -->
</FONT> </TD></TR>
<TR><TD>
<!--#include virtual="linkushtml_full.html" -->
</TD></TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
|
Format 2: html English pages only
LinuxFocus.org
|
LinuxFocus.org September 2004 articles
|
|
|
http://main.linuxfocus.org/ common/linkus/linkushtml.html:
This is similar to the above format but contains only links to
the English articles. You fetch it periodically with
curl, lynx -dump or wget and then just use normal apache Server Side Includes
(<!--#include virtual="linkushtml.html" -->)
or php
(<?php include ("linkushtml.html"); ?>)
The example box you see on the left shows how it looks like.
This file format is as well easy to post process with e.g perl or other
scripts as it is
just one "<a href=..." per line.
|
Format 3: full text file
http://main.linuxfocus.org/common/linkus/linkusbase.txt:
This file is for further processing with e.g perl. It is one
article per line. You get the URLs to languages other than English
by replacing the word "English" in the URL with the language name.
Format 4: rss
http://main.linuxfocus.org/common/linkus/linkus.rss:
This file is for further processing with e.g perl XML::RSS. RSS is
a file format commonly used on the internet to distribute links to other
sites. It was invented by Netscape.
Format 5: text ampersand seperated
http://main.linuxfocus.org/common/linkus/linkus.txt:
This file is for further processing with e.g perl. Fields span over
several lines and are seperated by two ampersands.
|
|