4.3. paperboyd: The paperboy daemon/batch processor

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:

This is a very simple explanation, look at the paperboyd manual page for more information.