From 6c1e914eb7979a2dd09a398cfa318149023a255a Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Tue, 17 Sep 2013 19:56:55 +0200 Subject: [PATCH] init --- README.md | 15 +++++++++++++ build.sh | 5 +++++ planet.ctdo.de.ini | 53 ++++++++++++++++++++++++++++++++++++++++++++++ planet.ctdo.opml | 15 +++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 README.md create mode 100755 build.sh create mode 100644 planet.ctdo.de.ini create mode 100644 planet.ctdo.opml diff --git a/README.md b/README.md new file mode 100644 index 0000000..1dd3a99 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# [planet.ctdo.de](http://planet.ctdo.de) + +* Verwendete Software: +* Feeds: + +## Neue Feeds + +Alle Feeds in der `planet.ctdo.opml` eintragen und in `/home/ctdoplanet/public_html/` ablegen. + +## Cron + + PATH=/usr/local/bin:/usr/bin:/bin + MAILTO=badboy@ctdo.de + + 30 * * * * /home/ctdoplanet/planet/build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..f6c5d88 --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cd /home/ctdoplanet/planet +python venus/planet.py planet.ctdo.de.ini +rsync -a html/* ~/public_html/_p/ diff --git a/planet.ctdo.de.ini b/planet.ctdo.de.ini new file mode 100644 index 0000000..a5dcdd9 --- /dev/null +++ b/planet.ctdo.de.ini @@ -0,0 +1,53 @@ +# Planet configuration file + +# Every planet needs a [Planet] section +[Planet] +# name: Your planet's name +# link: Link to the main page +# owner_name: Your name +# owner_email: Your e-mail address +name = ctdo planet +link = http://planet.ctdo.de/ +owner_name = ctdo +owner_email = badboy@ctdo.de + +# cache_directory: Where cached feeds are stored +# log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL +cache_directory = /home/ctdoplanet/planet/cache/ +log_level = INFO + +# The following provide defaults for each template: +# output_theme: "theme" of the output +# output_dir: Directory to place output files +# items_per_page: How many items to put on each page +output_theme = asf +output_dir = /home/ctdoplanet/planet/html +items_per_page = 60 + +# If non-zero, all feeds which have not been updated in the indicated +# number of days will be marked as inactive +activity_threshold = 90 + +# filters to be run +filters = excerpt.py + +# Don't let any one feed monopolize the output (symptom often occurs when +# somebody 'migrates' their weblog. +new_feed_items = 4 + +bill_of_materials: + .htaccess + favicon.ico + robots.txt + +# filter parameters +[excerpt.py] +omit = img p br +width = 500 + +# add memes to output +[index.html.xslt] + +# subscription list +[http://planet.ctdo.de/planet.ctdo.opml] +content_type = opml diff --git a/planet.ctdo.opml b/planet.ctdo.opml new file mode 100644 index 0000000..79d0639 --- /dev/null +++ b/planet.ctdo.opml @@ -0,0 +1,15 @@ + + + + planet.ctdo.de + Tue, 17 Sep 2013 19:31:00 +0200 + Tue, 17 Sep 2013 19:31:00 +0200 + + + + + + + + +