blob: 85cc78e5fa440beb54fe4986c1d214cdef6447a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#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/
test_url: http://dilbert.com/strips/comic/2013-10-22
test_url: http://feed.dilbert.com/dilbert/daily_strip
|