diff options
Diffstat (limited to 'macrumors.com.txt')
| -rw-r--r-- | macrumors.com.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/macrumors.com.txt b/macrumors.com.txt new file mode 100644 index 0000000..f211319 --- /dev/null +++ b/macrumors.com.txt @@ -0,0 +1,10 @@ +author: substring-after(//div[@class='byline'], " by ") +date: substring-before(//div[@class='byline'], " by ") + +# set body +body: //div[@class='content'] + +# set title +title: //h3 +#strip: //div[@class='content']/h3 +test_url: http://www.macrumors.com/2010/11/10/apple-debuts-new-apple-tv-and-itunes-movie-content-in-japan/
\ No newline at end of file |
