X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2F3rdparty%2Fsite_config%2Fstandard%2Fcodinghorror.com.txt;h=adf6e5a0cbaf825bfe5fe9dcb9dc704ee9924eb4;hb=76dd27e7f7dfa33e11b08d34a83761a4df8481ed;hp=9c95f1070804e6565a4e243c867f55907f2a9048;hpb=ac4d114214d820b20e18518a2dbc809337e39043;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/3rdparty/site_config/standard/codinghorror.com.txt b/inc/3rdparty/site_config/standard/codinghorror.com.txt old mode 100644 new mode 100755 index 9c95f107..adf6e5a0 --- a/inc/3rdparty/site_config/standard/codinghorror.com.txt +++ b/inc/3rdparty/site_config/standard/codinghorror.com.txt @@ -1,15 +1,15 @@ -body: //div[@class='blogbody'] -strip: //h3[@class='title'] -date: //h2[@class='date'] -#Should Atwood just be a literal? -author: substring-before( substring-after(//div[@class='posted'], 'y'), 'V') - -# tim.kingman@... 2011-07-26 -# Prune:no to retain all-link ULs that are part of the body content like -# http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html -# Then explicitly strip the "Posted By" and prev/next links that Prune:yes would have removed. - -prune: no -strip: //div[@class='posted']/following-sibling::* +body: //div[@class='blogbody'] +strip: //h3[@class='title'] +date: //h2[@class='date'] +#Should Atwood just be a literal? +author: substring-before( substring-after(//div[@class='posted'], 'y'), 'V') + +# tim.kingman@... 2011-07-26 +# Prune:no to retain all-link ULs that are part of the body content like +# http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html +# Then explicitly strip the "Posted By" and prev/next links that Prune:yes would have removed. + +prune: no +strip: //div[@class='posted']/following-sibling::* strip: //div[@class='posted'] test_url: http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html \ No newline at end of file