From 4e067ceabd705201a16b4c92cf4b23f3b990326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Jul 2014 10:15:40 +0200 Subject: updated specific configuration for parsing --- .../site_config/standard/theatlanticcities.com.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/theatlanticcities.com.txt (limited to 'inc/3rdparty/site_config/standard/theatlanticcities.com.txt') diff --git a/inc/3rdparty/site_config/standard/theatlanticcities.com.txt b/inc/3rdparty/site_config/standard/theatlanticcities.com.txt new file mode 100755 index 00000000..880f207d --- /dev/null +++ b/inc/3rdparty/site_config/standard/theatlanticcities.com.txt @@ -0,0 +1,17 @@ +# To administrator: +# Please replace the hostname with "*.theatlanticcities.com" + +# This filter is tested on: +# http://m.theatlanticcities.com/arts-and-lifestyle/2012/04/invisible-borders-define-american-culture/1839/ +# http://www.theatlanticcities.com/housing/2012/11/chinas-holdouts/3981/ +# http://www.theatlanticcities.com/arts-and-lifestyle/2012/12/christmas-time-here/4133/ + +title://h1 +author: //ul[@class='meta']/li/a +date: //ul[@class='meta']/li/following-sibling::li +body://article[@class='post'] + +strip://h1 +strip://ul[@class='meta'] +strip://div[@class='newsletter-slug'] +test_url: http://www.theatlanticcities.com/arts-and-lifestyle/2012/12/christmas-time-here/4133/ \ No newline at end of file -- cgit v1.2.3