From e43b5e3235c6151448503783a74adec90ff8e8ce Mon Sep 17 00:00:00 2001 From: lumiru Date: Wed, 19 Apr 2017 23:49:25 +0200 Subject: Some site configuration and access mode matching (#290) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .stackexchange.com.txt | 4 ++++ canonrumors.com.txt | 0 cn.reuters.com.txt | 0 dailymotion.com.txt | 12 ++++++++++++ derbund.ch.txt | 0 dn.pt.txt | 0 habrahabr.ru.txt | 0 heise.de.txt | 0 hipertextual.com.txt | 0 interviewmagazine.com.txt | 4 ++++ itsfoss.com.txt | 6 ++++++ lvsl.fr.txt | 3 +++ mobile.lemondeinformatique.fr.txt | 6 ++++++ srf.ch.txt | 0 stockholmsfria.se.txt | 0 tagesanzeiger.ch.txt | 0 ted.com.txt | 11 +++++++++++ tldp.org.txt | 6 ++++++ toolinux.com.txt | 0 turnoff.us.txt | 3 +++ 20 files changed, 55 insertions(+) create mode 100644 .stackexchange.com.txt mode change 100755 => 100644 canonrumors.com.txt mode change 100755 => 100644 cn.reuters.com.txt create mode 100644 dailymotion.com.txt mode change 100755 => 100644 derbund.ch.txt mode change 100755 => 100644 dn.pt.txt mode change 100755 => 100644 habrahabr.ru.txt mode change 100755 => 100644 heise.de.txt mode change 100755 => 100644 hipertextual.com.txt create mode 100644 interviewmagazine.com.txt create mode 100644 itsfoss.com.txt create mode 100644 lvsl.fr.txt create mode 100644 mobile.lemondeinformatique.fr.txt mode change 100755 => 100644 srf.ch.txt mode change 100755 => 100644 stockholmsfria.se.txt mode change 100755 => 100644 tagesanzeiger.ch.txt create mode 100644 ted.com.txt create mode 100644 tldp.org.txt mode change 100755 => 100644 toolinux.com.txt create mode 100644 turnoff.us.txt 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 old mode 100755 new mode 100644 diff --git a/cn.reuters.com.txt b/cn.reuters.com.txt old mode 100755 new mode 100644 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(): _ + +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 old mode 100755 new mode 100644 diff --git a/dn.pt.txt b/dn.pt.txt old mode 100755 new mode 100644 diff --git a/habrahabr.ru.txt b/habrahabr.ru.txt old mode 100755 new mode 100644 diff --git a/heise.de.txt b/heise.de.txt old mode 100755 new mode 100644 diff --git a/hipertextual.com.txt b/hipertextual.com.txt old mode 100755 new mode 100644 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 old mode 100755 new mode 100644 diff --git a/stockholmsfria.se.txt b/stockholmsfria.se.txt old mode 100755 new mode 100644 diff --git a/tagesanzeiger.ch.txt b/tagesanzeiger.ch.txt old mode 100755 new mode 100644 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 old mode 100755 new mode 100644 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/ -- cgit v1.3.1