diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-23 02:28:56 -0800 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-23 02:28:56 -0800 |
commit | 60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2 (patch) | |
tree | 515c4b9c8286ae363f77722c91acb878151dc386 /inc/3rdparty/site_config/standard/thenation.com.txt | |
parent | cbfd5a1019f47fadefd8490dae9f039ae894298d (diff) | |
parent | da5fc42f615eeb45a702604970f94967507fb432 (diff) | |
download | wallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.tar.gz wallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.tar.zst wallabag-60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2.zip |
Merge pull request #363 from inthepoche/dev1.3.0
poche 1.3.0
Diffstat (limited to 'inc/3rdparty/site_config/standard/thenation.com.txt')
-rw-r--r-- | inc/3rdparty/site_config/standard/thenation.com.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/thenation.com.txt b/inc/3rdparty/site_config/standard/thenation.com.txt new file mode 100644 index 00000000..d88bcdd6 --- /dev/null +++ b/inc/3rdparty/site_config/standard/thenation.com.txt | |||
@@ -0,0 +1,11 @@ | |||
1 | title: //h1[@class='print-title'] | ||
2 | body: //div[@class='print-content'] | ||
3 | author: //a[contains(@href, '/authors')] | ||
4 | author: substring-before(//div[@class='print-created'], '|') | ||
5 | date: //span[@class='article-date'] | ||
6 | date: substring-after(//div[@class='print-created'], '|') | ||
7 | prune: no | ||
8 | |||
9 | single_page_link: //ul[contains(@class, 'article-actions-bar')]//a[contains(@href, '/print/article/')] | ||
10 | |||
11 | test_url: http://www.thenation.com/article/162331/hard-against-time-roy-fisher \ No newline at end of file | ||