This commit is contained in:
Jan-Erik Rediger 2013-09-17 19:56:55 +02:00
commit 6c1e914eb7
4 changed files with 88 additions and 0 deletions

15
README.md Normal file
View File

@ -0,0 +1,15 @@
# [planet.ctdo.de](http://planet.ctdo.de)
* Verwendete Software: <https://github.com/rubys/venus>
* Feeds: <http://planet.ctdo.de/planet.ctdo.opml>
## 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

5
build.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
cd /home/ctdoplanet/planet
python venus/planet.py planet.ctdo.de.ini
rsync -a html/* ~/public_html/_p/

53
planet.ctdo.de.ini Normal file
View File

@ -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

15
planet.ctdo.opml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1.1">
<head>
<title>planet.ctdo.de</title>
<dateCreated>Tue, 17 Sep 2013 19:31:00 +0200</dateCreated>
<dateModified>Tue, 17 Sep 2013 19:31:00 +0200</dateModified>
</head>
<body>
<outline text="Chaostreff Dortmund" type="rss" htmlUrl="http://www.chaostreff-dortmund.de/" xmlUrl="http://www.chaostreff-dortmund.de/feed/"/>
<outline text="smashs hideout" type="rss" htmlUrl="http://blogs.flashfingaz.de/smash/" xmlUrl="http://blogs.flashfingaz.de/smash/?feed=rss2"/>
<outline text="blog.darkhawk.de" type="rss" htmlUrl="http://blog.darkhawk.de/" xmlUrl="http://blog.darkhawk.de/?feed=rss2"/>
<outline text="Ennos Testwelt" type="rss" htmlUrl="http://enno.verbrennung.org/" xmlUrl="http://enno.verbrennung.org/feed/"/>
<outline text="Die Schatenseite: Weblog" type="rss" htmlUrl="http://blog.schatenseite.de/" xmlUrl="http://blog.schatenseite.de/feed/"/>
</body>
</opml>