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/theamericanscholar.org.txt | |
parent | af8292c1de1886cd975d79f0f42df40e0bd1c5bd (diff) | |
parent | cf8a5e1eedbed484dbcb1ddc9f7a13fc19b7a27b (diff) | |
download | wallabag-1.8.0.tar.gz wallabag-1.8.0.tar.zst wallabag-1.8.0.zip |
Merge branch 'dev'1.8.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/theamericanscholar.org.txt')
-rwxr-xr-x | inc/3rdparty/site_config/standard/theamericanscholar.org.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/theamericanscholar.org.txt b/inc/3rdparty/site_config/standard/theamericanscholar.org.txt new file mode 100755 index 00000000..38b96672 --- /dev/null +++ b/inc/3rdparty/site_config/standard/theamericanscholar.org.txt | |||
@@ -0,0 +1,13 @@ | |||
1 | # Article Metadata | ||
2 | title: //meta[@property="og:title"]/@content | ||
3 | author: substring-after(//h3, 'By ') | ||
4 | date: //h4/a[2] | ||
5 | |||
6 | # Content Pruning | ||
7 | strip: //h4 | ||
8 | strip: //a[@id="print_button"] | ||
9 | strip: //p[@class="excerpt"] | ||
10 | strip: //h3 | ||
11 | strip: //div[@class="caption"] | ||
12 | strip: //center/a/img | ||
13 | test_url: http://theamericanscholar.org/too-big-to-fail-and-too-risky-to-exist/ \ No newline at end of file | ||