You feed the paperboy daemon (paperboyd) a configuration file to make it work. An example is shown here:
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE paperboy-config SYSTEM "file:///usr/local/lib/paperboy/paperboy_config.dtd"> <paperboy-config> <!-- The path above is the default one for installation --> <template alias="tutorial1"> <path>tutorial1.xsl</path> <output-file>winterkoninkje.html</output-file> <feed> <url>http://collab.freegeek.org/~wren/rss/blog.rss</url> <save-path>blog.rss</save-path> </feed> <feed> <!-- join this feed to the last --> <url>http://collab.freegeek.org/~wren/rss/updates.rss</url> <save-path>updates.rss</save-path> </feed> </template> <template> <alias>tutorial1</alias> <!-- use the alias above --> <output-file>megatokyo.html</output-file> <feed> <url>http://www.megatokyo.com/rss/megatokyo.xml</url> <save-path>megatokyo.xml</save-path> </feed> </template> <template> <alias>tutorial1</alias> <output-file>bbc.html</output-file> <feed> <url>http://news.bbc.co.uk/rss/newsonline_world_edition/technology/rss091.xml</url> <save-path>bbc.xml</save-path> </feed> </template> </paperboy-config>
Basicly, you have various template elements, which contain options passed to paperboy when it is called from paperboyd. So the the template tag has various elements:
alias
output-file - the file it will be output to
feed, which contains the url you will be getting your file from, and save-path, where your xml will save to. You may multiple feed elements to indicate join mode for those files.
This is a very simple explanation, look at the paperboyd manual page for more information.