diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2015-07-05 18:44:28 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2015-07-05 18:44:28 +0200 |
| commit | a1b1ff8e91ba209d3a48832e72f00c7bb9bc0a56 (patch) | |
| tree | 6cb0ca009488a8f5729777d66f8c0e5cd5012fb7 | |
| parent | f099045677ea6dc40a4c14b3f0f625bedf6eef90 (diff) | |
| parent | 74632a099ab3d15ec521fdd18a6fac7a20ef96e8 (diff) | |
| download | ftr-site-config-a1b1ff8e91ba209d3a48832e72f00c7bb9bc0a56.tar.gz ftr-site-config-a1b1ff8e91ba209d3a48832e72f00c7bb9bc0a56.zip | |
Merge pull request #71 from stesie/patch-1
Patch 1
| -rw-r--r-- | brandeins.de.txt | 14 | ||||
| -rw-r--r-- | entwickler.de.txt | 7 | ||||
| -rw-r--r-- | spiegel.de.txt | 6 | ||||
| -rw-r--r-- | sueddeutsche.de.txt | 2 | ||||
| -rw-r--r-- | sz.de.txt | 2 | ||||
| -rw-r--r-- | taz.de.txt | 3 | ||||
| -rw-r--r-- | truongtx.me.txt | 9 |
7 files changed, 34 insertions, 9 deletions
diff --git a/brandeins.de.txt b/brandeins.de.txt index 36aa2ef..be32634 100644 --- a/brandeins.de.txt +++ b/brandeins.de.txt @@ -1,7 +1,9 @@ -# set body -body: //div[@id='theContent'] -# set title -title: //div[@id='theContent']/h3 -strip: //div[@id='theContent']/h3 -test_url: http://www.brandeins.de/archiv/magazin/gegessen-wird-immer/artikel/hunger.html
\ No newline at end of file +body: //div[@class="articleTeaser"] | //section[@class="contentSection"] + +strip: //section[@class="greenBox italic"] + +author: //div[@class="articleAuthor"] +# no publish date on page (the articles are from a monthly periodical) + +test_url: http://www.brandeins.de/archiv/2015/fuehrung/ministry-group-mach-doch-mal-ne-ansage/ diff --git a/entwickler.de.txt b/entwickler.de.txt new file mode 100644 index 0000000..316f399 --- /dev/null +++ b/entwickler.de.txt @@ -0,0 +1,7 @@ +title: //h1[@class="post-title"] +body: //section[@class="article-content"] +author: //div[@class="post-bottom-meta"]/span[@class="post-author"] +date: //div[@class="post-date"]/time/@datetime + +test_url: https://entwickler.de/online/mobile-welt-offline-welt-was-der-offline-first-ansatz-fuer-app-entwickler-heisst-140602.html +test_url: https://entwickler.de/online/development/plex-docker-joomla-165345.html diff --git a/spiegel.de.txt b/spiegel.de.txt index 413e015..84809eb 100644 --- a/spiegel.de.txt +++ b/spiegel.de.txt @@ -8,6 +8,9 @@ # - Fixed single_page_link # - Included intro text in single page view # - Added body in default view +# stesie@ +# - removed copyright box +# - removed "print more" box # set body tidy: no @@ -67,6 +70,9 @@ strip: //div[@id='spBigaLatestEntries'] strip: //div[contains(@class, 'spBigaNavi')] strip: //div[@class='spDottedLine'] +strip: //div[@class='asset-box article-print-more'] +strip: //div[@class='article-copyright'] + # Use link to print article for single page view single_page_link: //a[contains(@href, '-druck')] diff --git a/sueddeutsche.de.txt b/sueddeutsche.de.txt index 74b8d45..26e0560 100644 --- a/sueddeutsche.de.txt +++ b/sueddeutsche.de.txt @@ -1,6 +1,6 @@ # 2012-12-04: complete rewrite after Süddeutsche.de relaunch - carlo@... -single_page_link: //a[ contains( @href, "/2.220/" ) ] +single_page_link: //li[@id="article-sidebar-action-print"]/@data-clickurl body: //article[@id="sitecontent"]/section[@class="body"] author: //address[@class="author"] @@ -1,6 +1,6 @@ # 2012-12-04: complete rewrite after Süddeutsche.de relaunch - carlo@... -single_page_link: //a[ contains( @href, "/2.220/" ) ] +single_page_link: //li[@id="article-sidebar-action-print"]/@data-clickurl body: //article[@id="sitecontent"]/section[@class="body"] author: //address[@class="author"] @@ -1,8 +1,9 @@ date: //div[@class='secthead'] -body: //div[@class='sectbody'] +body: (//div[@class='sectbody'])[1] title: concat(//div[@class='sectbody']/h4,': ',//div[@class='sectbody']/h1) author: //span[@class='author'] strip: //p[@class='caption'] +strip_id_or_class: ad_bin strip_id_or_class: rack test_url: http://www.taz.de/Protestbewegung-Occupy/!80188/
\ No newline at end of file diff --git a/truongtx.me.txt b/truongtx.me.txt new file mode 100644 index 0000000..6b10adc --- /dev/null +++ b/truongtx.me.txt @@ -0,0 +1,9 @@ +prune: false +tidy: false + +body: //div[@class='col-md-9'] +author: //meta[@name='author'] +date: //i[@class='fa fa-calendar']/../span +title: //div[@class='page-header']/h1 + +test_url: https://truongtx.me/2014/04/20/emacs-javascript-completion-and-refactoring/ |
