diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2015-06-14 11:43:07 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2015-06-14 11:43:07 +0200 |
| commit | ecaa1653fb87921eb7ed2acb7d1c969523957ea5 (patch) | |
| tree | 32017329e76a956c1bb1563aff7a73a68571ed33 | |
| parent | 9b215cdfff0bbdfdd909510bb1eab63c9f74bc62 (diff) | |
| parent | 04ae2e5b3fc19948a58e0b73a2266ae8431d7335 (diff) | |
| download | ftr-site-config-ecaa1653fb87921eb7ed2acb7d1c969523957ea5.tar.gz ftr-site-config-ecaa1653fb87921eb7ed2acb7d1c969523957ea5.zip | |
Merge pull request #70 from jordidg/master
Various comic sites
| -rw-r--r-- | dilbert.com.txt | 12 | ||||
| -rw-r--r-- | explosm.net.txt | 4 | ||||
| -rw-r--r-- | gocomics.com.txt | 5 |
3 files changed, 14 insertions, 7 deletions
diff --git a/dilbert.com.txt b/dilbert.com.txt index 85cc78e..b878855 100644 --- a/dilbert.com.txt +++ b/dilbert.com.txt @@ -1,11 +1,9 @@ -#title: substring(substring-after(//title, ':'), 1, string-length(substring-after(//title, ':')) - 10) -title: //div[contains(@class, 'SB_Title')]//a -body: //div[contains(@class, 'STR_Image')] -body: //*[contains(@class, 'SB_Content')] +title: //a[@class="post-title"]/text() +title: //meta[@name="twitter:title"]/@content +body: //img[@class="img-responsive img-comic"] author: string('Scott Adams') -date: //*[contains(@class, 'SB_Detail')]/text()[1] - +date: //meta[@property="article:publish_date"]/@content test_url: http://dilbert.com/blog/entry/death_by_hypnosis_or_not/ test_url: http://dilbert.com/strips/comic/2013-10-22 -test_url: http://feed.dilbert.com/dilbert/daily_strip
\ No newline at end of file +test_url: http://feed.dilbert.com/dilbert/daily_strip diff --git a/explosm.net.txt b/explosm.net.txt new file mode 100644 index 0000000..f2d0a20 --- /dev/null +++ b/explosm.net.txt @@ -0,0 +1,4 @@ +body: //img[@id='main-comic'] +author: substring(//small[@class="author-credit-name"], 4) + +test_url: http://explosm.net/comics/3954/ diff --git a/gocomics.com.txt b/gocomics.com.txt new file mode 100644 index 0000000..212c02d --- /dev/null +++ b/gocomics.com.txt @@ -0,0 +1,5 @@ +body: //a[@class="photo"]/img[@class="strip"] +author: //meta[@name="author"]/@content +date: //meta[@property="gocomics:publish_date"]/@content + +test_url: http://www.gocomics.com/garfield/2015/06/13 |
