diff options
| author | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2016-02-03 02:42:43 +0100 |
|---|---|---|
| committer | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2016-02-03 02:42:43 +0100 |
| commit | 0cf1e4a01d5e6acadfe92d9672a5cf41273254f8 (patch) | |
| tree | a5c6ba82dec26c7da540040004e423f2191e84f7 | |
| parent | c4cbf8be2d63fcb366b45ec29dae849abcf231e0 (diff) | |
| download | ftr-site-config-0cf1e4a01d5e6acadfe92d9672a5cf41273254f8.tar.gz ftr-site-config-0cf1e4a01d5e6acadfe92d9672a5cf41273254f8.zip | |
add & update some websites
| -rw-r--r-- | lalibre.be.txt | 9 | ||||
| -rw-r--r-- | manga-news.com.txt | 7 | ||||
| -rw-r--r-- | phonandroid.com.txt | 9 | ||||
| -rw-r--r-- | techcrunch.com.txt | 11 | ||||
| -rw-r--r-- | techno-science.net.txt | 3 | ||||
| -rw-r--r-- | thenextweb.com.txt | 7 | ||||
| -rw-r--r-- | theverge.com.txt | 6 |
7 files changed, 42 insertions, 10 deletions
diff --git a/lalibre.be.txt b/lalibre.be.txt new file mode 100644 index 0000000..14e467c --- /dev/null +++ b/lalibre.be.txt @@ -0,0 +1,9 @@ +title: //h1[@class='mainContentTitle'] +date: //span[@class='publication']/time/@datetime + +body: //div[@class='articleText'] +strip_id_or_class: rekommenderade +strip_id_or_class: disqus +strip_id_or_class: annonser + +test_url: http://www.lalibre.be/actu/international/emmanuelle-mignon-l-ex-directrice-de-cabinet-de-sarkozy-mise-en-examen-56b10c9d3570b1fc10e24f20 diff --git a/manga-news.com.txt b/manga-news.com.txt new file mode 100644 index 0000000..2fc5464 --- /dev/null +++ b/manga-news.com.txt @@ -0,0 +1,7 @@ +title: //h2[@class='actu-title'] + +body: //div[@class='actu-content'] + +prune: no + +test_url: http://www.manga-news.com/index.php/actus/2016/02/02/Deux-retours-dans-le-planning-des-editions-Pika diff --git a/phonandroid.com.txt b/phonandroid.com.txt new file mode 100644 index 0000000..138cf19 --- /dev/null +++ b/phonandroid.com.txt @@ -0,0 +1,9 @@ +body: //section[@class='content-txt'] +title: //h1[@class='entry-title'] +author: //span[@class='author'] +date: //span[@class='infos']/time/@datetime + +prune: no +test_url: http://www.phonandroid.com/marche-tablettes-encore-pris-belle-claque-2015.html +test_url: http://krugman.blogs.nytimes.com/2012/09/12/a-vote-of-confidence/ +test_url: http://bits.blogs.nytimes.com/2012/01/16/wikipedia-plans-to-go-dark-on-wednesday-to-protest-sopa/ diff --git a/techcrunch.com.txt b/techcrunch.com.txt index 1509c46..64e3e18 100644 --- a/techcrunch.com.txt +++ b/techcrunch.com.txt @@ -1,11 +1,12 @@ -body: //div[contains(@class, 'media-container') or contains(@class, 'body-copy')] +body: //div[@class='rticle-entry text'] -author: //a[@class="name"] +author: //div[@class='byline']/a -date: //div[@class="post-time"] +date: //div[@class="byline"]/time/@datetime -title: //h1[@class="headline"] +title: //h1[@class="tweet-title"] strip_id_or_class: module-crunchbase +strip_id_or_class: aside aside-related-articles # The following is for the mobile site body: //div[@id="singlentry"] @@ -15,4 +16,4 @@ title: //a[@class="sh2"] prune: no -test_url: http://techcrunch.com/2011/10/18/apples-insanely-great-q1-2012/
\ No newline at end of file +test_url: http://techcrunch.com/2016/02/02/spotcap/?ncid=rss&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+francaistechcrunch+%28TechCrunch+en+Francais%29 diff --git a/techno-science.net.txt b/techno-science.net.txt new file mode 100644 index 0000000..31dd7f4 --- /dev/null +++ b/techno-science.net.txt @@ -0,0 +1,3 @@ +title://div[@class="news"]/div[@class="titre"] +body://div[@class="news"]/div[@class="texte"] +test_url: http://www.techno-science.net/?onglet=news&news=14808 diff --git a/thenextweb.com.txt b/thenextweb.com.txt index e72a1f5..83bc759 100644 --- a/thenextweb.com.txt +++ b/thenextweb.com.txt @@ -1,10 +1,13 @@ +title: //h1[@class='title'] body: //div[@class='l-postSingle-content-main-video'] | //div[contains(concat(' ',normalize-space(@class),' '),' l-postSingle-content-main-content ')] -author: //meta[@name="author"]/@content +author: //a[@class='author'] +date: //div[@class='meta']/time/@datetime strip: //div[contains(concat(' ',normalize-space(@class),' '),' l-postSingle-content-bottom-share ')] +strip_id_or_class: articleShare-buttons replace_string(data-original=): src= tidy: no test_url: http://thenextweb.com/apple/2011/10/12/tnw-review-a-complete-guide-to-apples-ios-5-with-icloud-an-os-14-years-in-the-making/ -test_url: http://thenextweb.com/insider/2015/12/06/pornhubs-christmas-ad-wants-you-to-give-premium-subscriptions-to-your-grandparents/
\ No newline at end of file +test_url: http://thenextweb.com/insider/2015/12/06/pornhubs-christmas-ad-wants-you-to-give-premium-subscriptions-to-your-grandparents/ diff --git a/theverge.com.txt b/theverge.com.txt index cee50c9..56e7b37 100644 --- a/theverge.com.txt +++ b/theverge.com.txt @@ -1,8 +1,8 @@ author: //p[contains(@class, "byline")]/a[contains(@class, "author")] - +title: //[h1=@class="stream_title"] date: //span[contains(@class, "publish-date")]/time[@pubdate]/@datetime -body: //div[contains(@class, 'entry-content')] +body: //div[contains(@class, 'm-article__entry-section')] # for vergecasts, e.g. http://www.theverge.com/2013/8/22/4648566/the-vergecast-090-august-22th-2013-video body: //article prune: no @@ -40,7 +40,7 @@ replace_string(<noscript>): <div> replace_string(</noscript>): </div> find_string: <script -replace_string: <div style="display:none" +replace_string: <div style="display:none" find_string: </script> replace_string: </div> |
