mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-12 10:46:29 +00:00
9 lines
419 B
Text
9 lines
419 B
Text
|
# 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
|