diff options
Diffstat (limited to 'ft.com.txt')
| -rw-r--r-- | ft.com.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ft.com.txt b/ft.com.txt new file mode 100644 index 0000000..e66b960 --- /dev/null +++ b/ft.com.txt @@ -0,0 +1,5 @@ +body: //div[contains(@class, 'ft-story-body')] + +author: substring-after(//div[contains(@class, 'ft-story-header')]/p[1], 'By ') +date: substring-before(substring-after(//div[contains(@class, 'ft-story-header')]/p[2], 'Published:'), '|') +test_url: http://www.ft.com/cms/s/2/e1be4b5a-620c-11e0-8ee4-00144feab49a.html
\ No newline at end of file |
