X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2F3rdparty%2Fsite_config%2Fstandard%2Fmashable.com.txt;h=b6efb6c5ebc1d88ba7def8be74c96f6a0767f2ad;hb=76dd27e7f7dfa33e11b08d34a83761a4df8481ed;hp=2c5a14a6b9eb41b1625baf1c5b4920ba44f54dff;hpb=ac4d114214d820b20e18518a2dbc809337e39043;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/3rdparty/site_config/standard/mashable.com.txt b/inc/3rdparty/site_config/standard/mashable.com.txt old mode 100644 new mode 100755 index 2c5a14a6..b6efb6c5 --- a/inc/3rdparty/site_config/standard/mashable.com.txt +++ b/inc/3rdparty/site_config/standard/mashable.com.txt @@ -1,4 +1,11 @@ -title: //header[@class='entry-title']/h1 -body: //div[@class='description'] +title: //h1[@class='title'] +author: substring-after(//span[@class='author_name'], 'By ') +date: //time + +body: //article strip: //div[@class='ytm-gallery-box'] -test_url: http://mashable.com/2011/12/05/india-wants-google-and-facebook-to-censor-user-content/ \ No newline at end of file +strip: //div[contains(@class, 'adsense')] +strip: //aside[contains(@class, 'social')] +strip_id_or_class: article-topics + +test_url: http://mashable.com/2013/05/24/myspace-architects-rebuilding-a-brand/