diff options
Diffstat (limited to 'contemporist.com.txt')
| -rw-r--r-- | contemporist.com.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contemporist.com.txt b/contemporist.com.txt new file mode 100644 index 0000000..c3120fe --- /dev/null +++ b/contemporist.com.txt @@ -0,0 +1,9 @@ +# get author from string like "Posted by <author> on <date>" +author: substring-before(substring-after(//div[@class='post']/p[@class='post-meta'], 'by'), 'on') + +# get date from string like "Posted by <author> on <date>" +date: substring-after(//div[@class='post']/p[@class='post-meta'], 'on') + +# this keeps thumbnail images +prune: no +test_url: http://www.contemporist.com/2011/11/02/landing-200-lamp-by-kim-hyunjoo
\ No newline at end of file |
