]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #754 from sinisterstuf/about.com
authorNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 12 Jul 2014 13:10:05 +0000 (15:10 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 12 Jul 2014 13:10:05 +0000 (15:10 +0200)
Add support for *.about.com

inc/3rdparty/site_config/standard/.about.com.txt [new file with mode: 0644]

diff --git a/inc/3rdparty/site_config/standard/.about.com.txt b/inc/3rdparty/site_config/standard/.about.com.txt
new file mode 100644 (file)
index 0000000..e1ebaee
--- /dev/null
@@ -0,0 +1,14 @@
+body: //div[@id='articlebody']
+title: //h1
+author: //p[@id='by']//a
+
+next_page_link: //span[@class='next']/a
+# Not the same as below!
+
+prune: yes
+tidy: no
+
+# Annoying 'next' links plainly inside the article body
+strip: //*[text()[contains(.,'Next: ')]]
+
+test_url: http://psychology.about.com/od/theoriesofpersonality/ss/defensemech.htm