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/seriouseats.com.txt | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/seriouseats.com.txt (limited to 'inc/3rdparty/site_config/standard/seriouseats.com.txt') diff --git a/inc/3rdparty/site_config/standard/seriouseats.com.txt b/inc/3rdparty/site_config/standard/seriouseats.com.txt old mode 100644 new mode 100755 index d7b4788c..5e633470 --- a/inc/3rdparty/site_config/standard/seriouseats.com.txt +++ b/inc/3rdparty/site_config/standard/seriouseats.com.txt @@ -1,15 +1,15 @@ -body: //div[@id='content'] - -# clean up recipe pages -strip: //h2[@class='fn'] | //h2[@class='double-lined'] | //h3 | //div[@id='threeColumn2'] | //div[@id='threeColumn3'] - -#recipe pages -strip_id_or_class: "recipe-feedback" -strip_id_or_class: "comments" -strip_id_or_class: "procedure-number" -strip_id_or_class: "more-with-author" - -#slice -strip_id_or_class: "inner" +body: //div[@id='content'] + +# clean up recipe pages +strip: //h2[@class='fn'] | //h2[@class='double-lined'] | //h3 | //div[@id='threeColumn2'] | //div[@id='threeColumn3'] + +#recipe pages +strip_id_or_class: "recipe-feedback" +strip_id_or_class: "comments" +strip_id_or_class: "procedure-number" +strip_id_or_class: "more-with-author" + +#slice +strip_id_or_class: "inner" test_url: http://www.seriouseats.com/recipes/2010/09/peking-duck-mandarin-pancakes-plum-sauce-recipe.html \ No newline at end of file -- cgit v1.2.3