From d53bb82a88c1d714c0993f0101414491062d6a40 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Tue, 22 Oct 2013 22:29:17 +0200 Subject: dilbert.com --- dilbert.com.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dilbert.com.txt b/dilbert.com.txt index 90ce34f..85cc78e 100644 --- a/dilbert.com.txt +++ b/dilbert.com.txt @@ -1,8 +1,11 @@ -convert_double_br_tags: yes - -title: substring(substring-after(//title, ':'), 1, string-length(substring-after(//title, ':')) - 10) +#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')] author: string('Scott Adams') date: //*[contains(@class, 'SB_Detail')]/text()[1] -test_url: http://dilbert.com/blog/entry/death_by_hypnosis_or_not/ \ No newline at end of file + +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 -- cgit v1.3.1