1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-14 05:15:14 -05:00
wallabag/inc/3rdparty/site_config/standard/blogs.smithsonianmag.com.txt
2014-07-13 10:15:40 +02:00

15 lines
502 B
Plaintext
Executable File

# metadata
author://div[@class = 'post']/div[@class='meta']/a[1]
date://div[@id = 'rap']/h2[1]
body://div[@class = 'post']
# wrapping caption and image
wrap_in(fieldset)://div[contains(@class, 'wp-caption')]
# clean up
strip://div[@class = 'post']/h3[@class = 'storytitle']
strip://div[@class = 'post']/div[@class = 'social']
strip://img[@style = 'display:none;']
strip://img[@height='0' and @width='0']
test_url: http://blogs.smithsonianmag.com/adventure/2011/10/tips-for-women-traveling-in-turkey/