From 5a5728ef4d0b0291b039cf1942e87cc8d621d00b Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Thu, 11 Apr 2013 15:56:46 +0200 Subject: XPath explanation in README, some new mods --- mods/der-postillon.json | 9 +++++++++ mods/kojote-magazin.json | 9 +++++++++ mods/n24.de.json | 2 +- mods/polizei-brandenburg-hvl.json | 9 +++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 mods/der-postillon.json create mode 100644 mods/kojote-magazin.json create mode 100644 mods/polizei-brandenburg-hvl.json (limited to 'mods') diff --git a/mods/der-postillon.json b/mods/der-postillon.json new file mode 100644 index 0000000..9f01f13 --- /dev/null +++ b/mods/der-postillon.json @@ -0,0 +1,9 @@ +{ + "name": "Der Postillon", + "feed": "http://www.der-postillon.com/feeds/posts/default", + "match": "blogspot/rkEL", + "config": { + "type": "xpath", + "xpath": "div[@itemprop='articleBody']" + } +} diff --git a/mods/kojote-magazin.json b/mods/kojote-magazin.json new file mode 100644 index 0000000..e331d51 --- /dev/null +++ b/mods/kojote-magazin.json @@ -0,0 +1,9 @@ +{ + "name": "Der Kojote", + "feed": "http://www.kojote-magazin.de/feed/rss2", + "match": "kojote-magazin.de", + "config": { + "type": "xpath", + "xpath": "div[@class='post']" + } +} \ No newline at end of file diff --git a/mods/n24.de.json b/mods/n24.de.json index 691c841..670a656 100644 --- a/mods/n24.de.json +++ b/mods/n24.de.json @@ -4,6 +4,6 @@ "match": "n24.de", "config": { "type": "xpath", - "xpath": "div[@class='news']" + "xpath": "div[@class='c2a']" } } diff --git a/mods/polizei-brandenburg-hvl.json b/mods/polizei-brandenburg-hvl.json new file mode 100644 index 0000000..91f63ed --- /dev/null +++ b/mods/polizei-brandenburg-hvl.json @@ -0,0 +1,9 @@ +{ + "name": "Polizei Havelland", + "feed": "http://www.internetwache.brandenburg.de/sixcms/list.php?page=rss_hvl", + "match": "internetwache.brandenburg.de", + "config": { + "type": "xpath", + "xpath": "div[@id='content']/div[@class='box_content']" + } +} -- cgit v1.3.1