summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dilbert.com.txt11
1 files 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