diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2014-10-10 13:33:54 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2014-10-10 13:33:54 +0200 |
commit | 44d35257e805856b4913c63fcbed3c0acb64bae8 (patch) | |
tree | 11e9d276c34b1b287706cb61182bdc71729661e2 /inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt | |
parent | af8292c1de1886cd975d79f0f42df40e0bd1c5bd (diff) | |
parent | cf8a5e1eedbed484dbcb1ddc9f7a13fc19b7a27b (diff) | |
download | wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.tar.gz wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.tar.zst wallabag-44d35257e805856b4913c63fcbed3c0acb64bae8.zip |
Merge branch 'dev'1.8.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt b/inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt index a7d15081..2102015d 100644..100755 --- a/inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt +++ b/inc/3rdparty/site_config/standard/blogs.scientificamerican.com.txt | |||
@@ -1,16 +1,16 @@ | |||
1 | # meta data | 1 | # meta data |
2 | title://h1[@class = 'postTitle'] | 2 | title://h1[@class = 'postTitle'] |
3 | author:substring-before(substring-after(//span[@class = 'byline'],'By '),'|') | 3 | author:substring-before(substring-after(//span[@class = 'byline'],'By '),'|') |
4 | date://span[@class = 'datestamp'] | 4 | date://span[@class = 'datestamp'] |
5 | 5 | ||
6 | #body content | 6 | #body content |
7 | body://div[@id = 'singleBlogPost'] | 7 | body://div[@id = 'singleBlogPost'] |
8 | 8 | ||
9 | #reclaim author info | 9 | #reclaim author info |
10 | move_into(//div[@id = 'singleBlogPost'])://div[@id = 'aboutAuthorDiv'] | 10 | move_into(//div[@id = 'singleBlogPost'])://div[@id = 'aboutAuthorDiv'] |
11 | strip://p[@class = 'moreLink mobileHide'] | 11 | strip://p[@class = 'moreLink mobileHide'] |
12 | 12 | ||
13 | #cleanup comments, there might be some open <div> sections | 13 | #cleanup comments, there might be some open <div> sections |
14 | strip://div[@id = 'comments2'] | 14 | strip://div[@id = 'comments2'] |
15 | strip://h3[a[@href = '#add-comment']] | 15 | strip://h3[a[@href = '#add-comment']] |
16 | test_url: http://blogs.scientificamerican.com/a-blog-around-the-clock/2012/07/10/science-blogs-definition-and-a-history/ \ No newline at end of file | 16 | test_url: http://blogs.scientificamerican.com/a-blog-around-the-clock/2012/07/10/science-blogs-definition-and-a-history/ \ No newline at end of file |