summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-05-29 00:04:58 -0700
committerFiveFilters.org <fivefilters@fivefilters.org>2013-05-29 00:04:58 -0700
commit6145162e4fca1c0b944e5ac67cecbdc18c57a9b8 (patch)
treefde0ccd7154c169ccd9b457e022ea5bad9f0df40
parent16be41b4125a167e9d16aec61b7f31237dc49c8c (diff)
parent33e2ad374ad047a42d1a8e01b13b03396933d561 (diff)
downloadftr-site-config-6145162e4fca1c0b944e5ac67cecbdc18c57a9b8.tar.gz
ftr-site-config-6145162e4fca1c0b944e5ac67cecbdc18c57a9b8.zip
Merge pull request #9 from timgws/master
Five more new filters
-rw-r--r--.chicagotribune.com.txt8
-rw-r--r--itwire.com.txt5
-rw-r--r--lifestyle.inquirer.net.txt7
-rw-r--r--livescience.com.txt20
-rw-r--r--newswise.com.txt17
5 files changed, 57 insertions, 0 deletions
diff --git a/.chicagotribune.com.txt b/.chicagotribune.com.txt
new file mode 100644
index 0000000..55a9ed2
--- /dev/null
+++ b/.chicagotribune.com.txt
@@ -0,0 +1,8 @@
+date: //span[@class='pubdate']
+author: //div[@id='mod-article-byline']/span[3]
+body: //div[@id='area-article-first-block'] | //div[@id='mod-a-body-after-first-para']
+strip_id_or_class: byline
+
+strip: //div[@id='mod-article-byline']
+
+test_url: http://www.chicagotribune.com/classified/automotive/used/chi-auto-refinance-pros-cons-20130513,0,4116070.story
diff --git a/itwire.com.txt b/itwire.com.txt
new file mode 100644
index 0000000..72b4106
--- /dev/null
+++ b/itwire.com.txt
@@ -0,0 +1,5 @@
+author: //a[@rel="author"]
+date: //li[@class="itemDateCreated"]
+strip: //div[contains(@class, 'legend-rounded')]
+
+test_url: http://www.itwire.com/it-industry-news/market/59661-ibm-looks-to-high-value-solutions-to-meet-changing-demands
diff --git a/lifestyle.inquirer.net.txt b/lifestyle.inquirer.net.txt
new file mode 100644
index 0000000..25d544a
--- /dev/null
+++ b/lifestyle.inquirer.net.txt
@@ -0,0 +1,7 @@
+title: //h1[@class='singlePageTitle']
+
+strip: //p[contains(text(), 'Follow Us')]
+strip: //p/strong[contains(text(), 'Recent Stories:')]
+strip: //div[@id="sharefeature"]
+
+test_url: http://lifestyle.inquirer.net/100223/dusting-your-ceiling-fan
diff --git a/livescience.com.txt b/livescience.com.txt
new file mode 100644
index 0000000..5275d34
--- /dev/null
+++ b/livescience.com.txt
@@ -0,0 +1,20 @@
+title: //div[@class="album_title"]//h1
+author: substring-before(//div[@class='by_line'], ',')
+date: substring-after(substring-before(//div[@class="album_time"], ' Time'), 'Date: ')
+body: //div[@class="about_text"]
+
+strip: //div[@class='large_popper']
+strip: //span[contains(@id, 'mag_glass')]
+strip: //span[contains(@class, 'img_overlay')]
+strip: //td//span
+strip: //div[@class="center_adsense"]
+strip: //div[@class="article_info"]//div[@class='asset_section']
+strip: //div[@class="article_additional"]
+strip: //div[contains(@style, 'overflow:hidden')]
+strip: //div[@class="aa_text"]
+strip: //div[@id='nointelliTXT']
+
+prune: no
+autodetect_on_failure: no
+
+test_url: http://www.livescience.com/34569-why-flowers-close-at-night-nyctinasty.html
diff --git a/newswise.com.txt b/newswise.com.txt
new file mode 100644
index 0000000..10120ea
--- /dev/null
+++ b/newswise.com.txt
@@ -0,0 +1,17 @@
+prune: no
+tidy: no
+
+title: //h1/a[2]
+body: //div[@id="main"]
+author: //span[@id="articlesource"]
+date: //span[contains(@class, 'releasedate')]
+
+strip: //div[@class="inst-logo"]
+strip: //h1[1]
+
+strip_id_or_class: addthis
+strip_id_or_class: released
+strip_id_or_class: skiptranslate
+strip_id_or_class: flash
+
+test_url: http://www.newswise.com/articles/first-heat-wave-of-season-puts-elderly-at-risk