diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-09 11:41:18 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-09 11:41:18 +0100 |
commit | b65d65be3121f29009c5dd985f4d2662e4f20c52 (patch) | |
tree | 3db881a33dc95b84fd29011122330660fcd83e7a | |
parent | d0ea3544cad2ce4f1d0193d6d7bbda80eabadf91 (diff) | |
parent | 3250b6a7a7e1852a7f16a7d9e5164a536472a8c7 (diff) | |
download | wallabag-b65d65be3121f29009c5dd985f4d2662e4f20c52.tar.gz wallabag-b65d65be3121f29009c5dd985f4d2662e4f20c52.tar.zst wallabag-b65d65be3121f29009c5dd985f4d2662e4f20c52.zip |
Merge pull request #1067 from vpmalley/dev
added site config for github gists, jungle-world.com and toolinux.com
-rwxr-xr-x | inc/3rdparty/site_config/standard/gist.github.com.txt | 8 | ||||
-rw-r--r-- | inc/3rdparty/site_config/standard/jungle-world.com.txt | 3 | ||||
-rwxr-xr-x | inc/3rdparty/site_config/standard/toolinux.com.txt | 5 |
3 files changed, 11 insertions, 5 deletions
diff --git a/inc/3rdparty/site_config/standard/gist.github.com.txt b/inc/3rdparty/site_config/standard/gist.github.com.txt index 90207862..f11b7b42 100755 --- a/inc/3rdparty/site_config/standard/gist.github.com.txt +++ b/inc/3rdparty/site_config/standard/gist.github.com.txt | |||
@@ -1,6 +1,4 @@ | |||
1 | body: //div[@class="highlight"]/pre | ||
2 | 1 | ||
3 | prune: no | 2 | title: //div[contains(@class,'gist-description')] |
4 | tidy: no | 3 | body: //div[contains(@class,'blob-wrapper')] |
5 | 4 | test_url: https://gist.github.com/staltz/868e7e9bc2a7b8c1f754 | |
6 | test_url: https://gist.github.com/1258908 \ No newline at end of file | ||
diff --git a/inc/3rdparty/site_config/standard/jungle-world.com.txt b/inc/3rdparty/site_config/standard/jungle-world.com.txt new file mode 100644 index 00000000..61e0087f --- /dev/null +++ b/inc/3rdparty/site_config/standard/jungle-world.com.txt | |||
@@ -0,0 +1,3 @@ | |||
1 | title: //h1 | ||
2 | body: //div[contains(@class,'story')] | ||
3 | test_url: http://jungle-world.com/artikel/2015/02/51207.html | ||
diff --git a/inc/3rdparty/site_config/standard/toolinux.com.txt b/inc/3rdparty/site_config/standard/toolinux.com.txt new file mode 100755 index 00000000..3f1a8405 --- /dev/null +++ b/inc/3rdparty/site_config/standard/toolinux.com.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | title: //h2[contains(@class,'news')] | ||
2 | body: //div[contains(@class,'articleContent')] | ||
3 | date: substring-after(//div[@class = 'SupaDate']/text(), 'le') | ||
4 | |||
5 | test_url: http://www.toolinux.com/Wi-Fi-Linksys-WRT-la-legende-de | ||