aboutsummaryrefslogblamecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/contemporist.com.txt
blob: c3120fe8e6e63a6c9d84d417939633ff89776a05 (plain) (tree)
1
2
3
4
5
6
7
8
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