]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt
#584 check permissions for HTMLPurifier/DefinitionCache/Serializer folder
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / blogs.scientificamerican.com.txt
CommitLineData
ac4d1142
NL
1# meta data\r
2title://h1[@class = 'postTitle']\r
3author:substring-before(substring-after(//span[@class = 'byline'],'By '),'|')\r
4date://span[@class = 'datestamp']\r
5\r
6#body content\r
7body://div[@id = 'singleBlogPost']\r
8\r
9#reclaim author info\r
10move_into(//div[@id = 'singleBlogPost'])://div[@id = 'aboutAuthorDiv']\r
11strip://p[@class = 'moreLink mobileHide']\r
12\r
13#cleanup comments, there might be some open <div> sections\r
14strip://div[@id = 'comments2']\r
15strip://h3[a[@href = '#add-comment']]
16test_url: http://blogs.scientificamerican.com/a-blog-around-the-clock/2012/07/10/science-blogs-definition-and-a-history/