From ac4d114214d820b20e18518a2dbc809337e39043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 6 Dec 2013 10:13:03 +0100 Subject: [add] new specific configuration files --- inc/3rdparty/site_config/standard/fastcompany.com.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/fastcompany.com.txt (limited to 'inc/3rdparty/site_config/standard/fastcompany.com.txt') diff --git a/inc/3rdparty/site_config/standard/fastcompany.com.txt b/inc/3rdparty/site_config/standard/fastcompany.com.txt new file mode 100644 index 00000000..5547a76c --- /dev/null +++ b/inc/3rdparty/site_config/standard/fastcompany.com.txt @@ -0,0 +1,16 @@ +title: //h1 +author: //h5[@class='byline']//a +date: //h5[@class='date'] +body: //figure[@class='node-poster'] | //div[contains(@class, "node-content")] +strip_id_or_class: article-top-wrapper +strip_id_or_class: footer-message +strip_id_or_class: print-logo +strip: //cite +strip://*[@class='timestamp'] +strip://div[@id='page_right'] +strip://section[@id='header_region'] +strip://h1[@class='node-title'] +strip://div[@class='node-submitted'] +strip_id_or_class: skipnav +test_url: http://www.fastcompany.com/3000226/link-between-quietness-and-productivity +test_url: http://www.fastcompany.com/3003586/6-simple-rituals-reach-your-potential-every-day \ No newline at end of file -- cgit v1.2.3