summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlumiru <lumiru@users.noreply.github.com>2017-04-19 23:49:25 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2017-04-19 23:49:25 +0200
commite43b5e3235c6151448503783a74adec90ff8e8ce (patch)
tree5432432338fd7aa9940e6d3f1400dd31cb2e88d5
parent92d4496ecaad2619cd2700d3ea959d6c9e9761f7 (diff)
downloadftr-site-config-e43b5e3235c6151448503783a74adec90ff8e8ce.tar.gz
ftr-site-config-e43b5e3235c6151448503783a74adec90ff8e8ce.zip
Some site configuration and access mode matching (#290)
* Add configuration for dailymotion, interview magazine, it's foss, le vent se lève, le monde informatique, stackexchange, the linux documentation project, turnoff.us * Set same file mode on each file * Rename stackexchange.com.txt to .stackexchange.com.txt
-rw-r--r--.stackexchange.com.txt4
-rw-r--r--[-rwxr-xr-x]canonrumors.com.txt0
-rw-r--r--[-rwxr-xr-x]cn.reuters.com.txt0
-rw-r--r--dailymotion.com.txt12
-rw-r--r--[-rwxr-xr-x]derbund.ch.txt0
-rw-r--r--[-rwxr-xr-x]dn.pt.txt0
-rw-r--r--[-rwxr-xr-x]habrahabr.ru.txt0
-rw-r--r--[-rwxr-xr-x]heise.de.txt0
-rw-r--r--[-rwxr-xr-x]hipertextual.com.txt0
-rw-r--r--interviewmagazine.com.txt4
-rw-r--r--itsfoss.com.txt6
-rw-r--r--lvsl.fr.txt3
-rw-r--r--mobile.lemondeinformatique.fr.txt6
-rw-r--r--[-rwxr-xr-x]srf.ch.txt0
-rw-r--r--[-rwxr-xr-x]stockholmsfria.se.txt0
-rw-r--r--[-rwxr-xr-x]tagesanzeiger.ch.txt0
-rw-r--r--ted.com.txt11
-rw-r--r--tldp.org.txt6
-rw-r--r--[-rwxr-xr-x]toolinux.com.txt0
-rw-r--r--turnoff.us.txt3
20 files changed, 55 insertions, 0 deletions
diff --git a/.stackexchange.com.txt b/.stackexchange.com.txt
new file mode 100644
index 0000000..c9d44b1
--- /dev/null
+++ b/.stackexchange.com.txt
@@ -0,0 +1,4 @@
+title: //title
+body: //div[@id='question']//div[contains(@class,'post-text')] | //div[@id='answers-header']//h2 | //div[contains(@class,'accepted-answer')]//div[contains(@class,'post-text')]
+
+test_url: http://cstheory.stackexchange.com/questions/14811/what-is-the-enlightenment-im-supposed-to-attain-after-studying-finite-automata/14818#14818
diff --git a/canonrumors.com.txt b/canonrumors.com.txt
index c22cf4f..c22cf4f 100755..100644
--- a/canonrumors.com.txt
+++ b/canonrumors.com.txt
diff --git a/cn.reuters.com.txt b/cn.reuters.com.txt
index 28f1047..28f1047 100755..100644
--- a/cn.reuters.com.txt
+++ b/cn.reuters.com.txt
diff --git a/dailymotion.com.txt b/dailymotion.com.txt
new file mode 100644
index 0000000..0cad808
--- /dev/null
+++ b/dailymotion.com.txt
@@ -0,0 +1,12 @@
+title: //title
+body: //iframe
+
+replace_string(<![CDATA[): _
+replace_string(]]>): _
+
+single_page_link: //link[@type='application/xml+oembed']
+
+prune: no
+tidy: no
+
+http://www.dailymotion.com/video/x1vk5oh_before-they-were-on-game-of-thrones_people
diff --git a/derbund.ch.txt b/derbund.ch.txt
index 1363eff..1363eff 100755..100644
--- a/derbund.ch.txt
+++ b/derbund.ch.txt
diff --git a/dn.pt.txt b/dn.pt.txt
index 051b8cb..051b8cb 100755..100644
--- a/dn.pt.txt
+++ b/dn.pt.txt
diff --git a/habrahabr.ru.txt b/habrahabr.ru.txt
index 6753835..6753835 100755..100644
--- a/habrahabr.ru.txt
+++ b/habrahabr.ru.txt
diff --git a/heise.de.txt b/heise.de.txt
index cc80203..cc80203 100755..100644
--- a/heise.de.txt
+++ b/heise.de.txt
diff --git a/hipertextual.com.txt b/hipertextual.com.txt
index 2cb7ca5..2cb7ca5 100755..100644
--- a/hipertextual.com.txt
+++ b/hipertextual.com.txt
diff --git a/interviewmagazine.com.txt b/interviewmagazine.com.txt
new file mode 100644
index 0000000..a9d4f8c
--- /dev/null
+++ b/interviewmagazine.com.txt
@@ -0,0 +1,4 @@
+title: //title
+body: //div[contains(@class, 'block')]
+
+test_url: http://www.interviewmagazine.com/film/spike-jonze \ No newline at end of file
diff --git a/itsfoss.com.txt b/itsfoss.com.txt
new file mode 100644
index 0000000..c698678
--- /dev/null
+++ b/itsfoss.com.txt
@@ -0,0 +1,6 @@
+title: //h1
+body: //article[contains(@class,'type-post')]/div[@itemprop='text']
+strip: //a[@rel='dofollow']
+strip: //div[contains(@class,'zem_rp_wrap')]
+strip: //div[@id='shr_canvas2']
+test_url: https://itsfoss.com/fix-gvfsd-smb-high-cpu-ubuntu/
diff --git a/lvsl.fr.txt b/lvsl.fr.txt
new file mode 100644
index 0000000..90a532e
--- /dev/null
+++ b/lvsl.fr.txt
@@ -0,0 +1,3 @@
+title: //h1[contains(@class,'entry-title')]
+body: //div[contains(@class,'body-content')]
+test_url: http://lvsl.fr/peuple-manifestant-saez-a-t-pondu-hexagone
diff --git a/mobile.lemondeinformatique.fr.txt b/mobile.lemondeinformatique.fr.txt
new file mode 100644
index 0000000..24aec5c
--- /dev/null
+++ b/mobile.lemondeinformatique.fr.txt
@@ -0,0 +1,6 @@
+title: //h2
+body: div[@id='illustration'] | //p
+prune: no
+tidy: no
+
+test_url: http://mobile.lemondeinformatique.fr/actualites/lire-les-datacenters-d-apple-google-et-facebook-eco-responsables-selon-greenpeace-le-monde-informatique-57122.html
diff --git a/srf.ch.txt b/srf.ch.txt
index d07a905..d07a905 100755..100644
--- a/srf.ch.txt
+++ b/srf.ch.txt
diff --git a/stockholmsfria.se.txt b/stockholmsfria.se.txt
index ee87483..ee87483 100755..100644
--- a/stockholmsfria.se.txt
+++ b/stockholmsfria.se.txt
diff --git a/tagesanzeiger.ch.txt b/tagesanzeiger.ch.txt
index 45c5cd0..45c5cd0 100755..100644
--- a/tagesanzeiger.ch.txt
+++ b/tagesanzeiger.ch.txt
diff --git a/ted.com.txt b/ted.com.txt
new file mode 100644
index 0000000..fe71e9e
--- /dev/null
+++ b/ted.com.txt
@@ -0,0 +1,11 @@
+title: //title
+body: //div[@class='talk-article__body talk-transcript__body'] | //div[@class='media__image media__image--thumb talk-link__image']
+
+strip_id_or_class: talk-transcript__para__time
+
+single_page_link: //a[@id='hero-transcript-link']
+
+#prune: no
+tidy: no
+
+test_url: http://www.ted.com/talks/andrew_solomon_how_the_worst_moments_in_our_lives_make_us_who_we_are
diff --git a/tldp.org.txt b/tldp.org.txt
new file mode 100644
index 0000000..7dd5cdb
--- /dev/null
+++ b/tldp.org.txt
@@ -0,0 +1,6 @@
+title: //title
+body: //h2 | //p | //ul
+prune: no
+tidy: no
+
+test_url: http://www.tldp.org/HOWTO/Plug-and-Play-HOWTO-7.html \ No newline at end of file
diff --git a/toolinux.com.txt b/toolinux.com.txt
index 3f1a840..3f1a840 100755..100644
--- a/toolinux.com.txt
+++ b/toolinux.com.txt
diff --git a/turnoff.us.txt b/turnoff.us.txt
new file mode 100644
index 0000000..f90ba55
--- /dev/null
+++ b/turnoff.us.txt
@@ -0,0 +1,3 @@
+title: //h1[@class='post-title']
+body: //article[@class='post-content']
+test_url: https://turnoff.us/geek/the-depressed-developer-13/