]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/site_config/standard/dilbert.com.txt
update config from @fivefilters
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / dilbert.com.txt
index 85cc78e5fa440beb54fe4986c1d214cdef6447a9..b8788553267a91b8ced1220daad2885f5c467dcd 100755 (executable)
@@ -1,11 +1,9 @@
-#title: substring(substring-after(//title, ':'), 1, string-length(substring-after(//title, ':')) - 10)
-title: //div[contains(@class, 'SB_Title')]//a
-body: //div[contains(@class, 'STR_Image')]
-body: //*[contains(@class, 'SB_Content')]
+title: //a[@class="post-title"]/text()
+title: //meta[@name="twitter:title"]/@content
+body: //img[@class="img-responsive img-comic"]
 author: string('Scott Adams')
-date: //*[contains(@class, 'SB_Detail')]/text()[1]
-
+date: //meta[@property="article:publish_date"]/@content
 
 test_url: http://dilbert.com/blog/entry/death_by_hypnosis_or_not/
 test_url: http://dilbert.com/strips/comic/2013-10-22
-test_url: http://feed.dilbert.com/dilbert/daily_strip
\ No newline at end of file
+test_url: http://feed.dilbert.com/dilbert/daily_strip