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/news.yahoo.com.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/news.yahoo.com.txt (limited to 'inc/3rdparty/site_config/standard/news.yahoo.com.txt') diff --git a/inc/3rdparty/site_config/standard/news.yahoo.com.txt b/inc/3rdparty/site_config/standard/news.yahoo.com.txt new file mode 100644 index 00000000..5ee04049 --- /dev/null +++ b/inc/3rdparty/site_config/standard/news.yahoo.com.txt @@ -0,0 +1,12 @@ +title: //meta[@property='og:title']/@content +title: //h1[@class='headline'] +author: //cite[contains(@class, 'byline') and contains(@class, 'vcard')]//span[@class='fn'] +date: //cite[contains(@class, 'byline') and contains(@class, 'vcard')]//abbr/@title +body: //div[@id='mediaarticlelead']//a[@class='media'] | //div[contains(@class,'yom-art-content')] +#strip: //cite/abbr +strip_id_or_class: action +strip_id_or_class: prefetch +tidy: no +prune: no + +test_url: http://news.yahoo.com/cold-la-nina-winter-forecast-west-coast-183535067.html \ No newline at end of file -- cgit v1.2.3