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 --- inc/3rdparty/site_config/standard/hardware.no.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/hardware.no.txt (limited to 'inc/3rdparty/site_config/standard/hardware.no.txt') diff --git a/inc/3rdparty/site_config/standard/hardware.no.txt b/inc/3rdparty/site_config/standard/hardware.no.txt new file mode 100755 index 00000000..cbbcf84e --- /dev/null +++ b/inc/3rdparty/site_config/standard/hardware.no.txt @@ -0,0 +1,16 @@ +title: //h1[@class='headline'] +title: //h2[@itemprop='alternativeHeadline'] +title: //h1[@itemprop='headline'] +author: //span[@itemprop='name'] +date: //time[@itemprop='datePublished'] +body: //div[@itemprop='reviewBody'] + +wrap_in(blockquote): //div[@class='factBox'] + +next_page_link: //a[@rel='next'] + +strip_id_or_class: 'product-box' +strip: //a[@rel='next'] +strip: //a[text()='Del på Facebook'] +strip: //a[text()='Del på Twitter'] +test_url: http://www.hardware.no/artikler/asus-vg248qe/132792 \ No newline at end of file -- cgit v1.2.3