WHAT IS YANF?
-------------
	
Yanf fetches news from sites that use the format of the backends 
from Slashdot, Freshmeat, 32bitsonline, Segfault, Packetstorm,
Linuxtelephony, Linuxtoday, Linuxapps, Bebits, Geeknews, Linux2000,
Bebits, Securityfocus. It also supports backends in the rss/rdf format and
the daily static cartoon from Userfriendly. Finally it puts the news in
a web page.
It's configurable from a config file, in which you can add new sites, remove
the ones that you dont like, etc.

USAGE
-----

./yanf configfile [filename.html]
If you dont specify a filename, yasor will use the default filename (defined in
include/setup.h).

CONFIGFILE FORMAT
-----------------

[global]
start = $FIELD_SUPPORTED_FOR_START
end = $FIELD_SUPPORTED_FOR_START
persite = $FIELD_SUPPORTED_FER_SITE

[NAME OF THE SITE]
url = http://foobar.com
type = SUPPORTED_FILE_TYPE
output = Field1: $ONE_OF_THE_FIELDS_FOR_THE_FILE_TYPE\nField2: $ANOTHER_ONE

[NAME OF ANOTHER SITE]
url = foo
type = bar
max = 6
output = Field1: $ONE_OF_THE_FIELDS_FOR_THE_FILE_TYPE\nField2: $ANOTHER_ONE
...

The value of start in [global] will be the first thing putted in the outputfile,
the value of end will be the last thing and the value of persite will be putted
before the value of ouput of every site. '\n' is replaced with a new line.

These fields are supported for start and end: $DATE and $VERSION. $VERSION is the
version number of yanf.
These fields are supported for persite: $NAME and $host

SUPPORTED FILE TYPES
--------------------

+----------+----------------------------+--------------------------------------+
|   TYPE   |        EXAMPLE FILE	|          SUPPORTED FIELDS	       |
+----------+----------------------------+--------------------------------------+
| rdf	   | exampeles/rdf	 	| $TITLE, $DESCRIPTION, $LINK          |
+----------+----------------------------+--------------------------------------+
| 32bitson | examples/32bitsonline.txt  | $TITLE, $LINK		               |
+----------+----------------------------+--------------------------------------+
| bebits   | examples/bebits.txt	| $TITLE, $VERSION, $LINK              |
+----------+----------------------------+--------------------------------------+
| fresh    | examples/freshmeat.txt     | $TITLE, $DATE, $LINK	               |
+----------+----------------------------+--------------------------------------+
| gnews    | examples/geeknews.txt	| $TITLE, $DESCRIPTION, $LINK          |
+----------+----------------------------+--------------------------------------+
| ltoday   | examples/linuxtoday.txt    | $TITLE, $DATE, $LINK                 |
+----------+----------------------------+--------------------------------------+
| pstorm   | examples/packetstorm.txt   | $TITLE, $DESCRIPTION, $DATE, $LINK   |
+----------+----------------------------+--------------------------------------+
| ufie     | examples/ufie.html         | $PICNAME			       |
+----------+----------------------------+--------------------------------------+
| secfocus | examples/securityfocus.xml | $TITLE, $TYPE, $LINK	               |
+----------+----------------------------+--------------------------------------+
| l2k	   | examples/linux2000.txt     | $TITLE, $LINK                        |
+----------+----------------------------+--------------------------------------+
| segfault | examples/segfault.txt      | $TITLE, $TYPE, $AUTHOR, $EMAIL,      |
|          |                            | $DATE, $LINK                         |
+----------+----------------------------+--------------------------------------+
| slash    | examples/slashdot.txt      | $TITLE, $AUTHOR, $DATE, $LINK, $DEPT |
|          |                            | $DEPT, $TYPE, $SECTION	       |
+----------+----------------------------+--------------------------------------+

NOTES
-----

You can change the user agent before compiling, editing
include/setup.h. There is an example config file in bin/

If you find a bug or have any suggestions, please send me a mail to yanf@gmx.net

BUGS
----

* Packetstorm changed the backend format.
								-Gaston Kleiman