diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2013-02-27 23:43:10 +0100 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2013-02-27 23:43:10 +0100 |
| commit | 9a69161c8646f63b4d9fa17c6ac3ab922d625859 (patch) | |
| tree | 62a446347e1279f00383fdd7f9637cfd58a50879 /golem.de.txt | |
| download | ftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.tar.gz ftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.zip | |
Initial commit
Diffstat (limited to 'golem.de.txt')
| -rw-r--r-- | golem.de.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/golem.de.txt b/golem.de.txt new file mode 100644 index 0000000..6afdebe --- /dev/null +++ b/golem.de.txt @@ -0,0 +1,25 @@ +# Jens Kohl, jens.kohl@... +# - Added publication date +# - Striped pagination block +# - Added single page link +# - Added xpath-querys for the printer friendly version + +title: //h1 +body: //div[@class='formatted'] +prune: no + +date: substring-after(//li[2][@class="text1"], 'Datum:') +strip: //ol[@class="list-chapters"] +strip_comments: yes + +# next: commands for printer friendly pages +single_page_link: //a[contains(@href, 'print.php?a=')]/@href +title: //body/h3 +strip_image_src: staticrl/images/logo.jpg +strip_image_src: http://cpx.golem.de/cpx.php?class=7 +strip: //body/h3 +strip: //body/b[1] +strip: //body/b[2] +strip: //body/b[3] +strip: //div[1] +test_url: http://www.golem.de/1112/88696.html
\ No newline at end of file |
