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/bbcgoodfood.com.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/bbcgoodfood.com.txt (limited to 'inc/3rdparty/site_config/standard/bbcgoodfood.com.txt') diff --git a/inc/3rdparty/site_config/standard/bbcgoodfood.com.txt b/inc/3rdparty/site_config/standard/bbcgoodfood.com.txt new file mode 100755 index 00000000..1547d625 --- /dev/null +++ b/inc/3rdparty/site_config/standard/bbcgoodfood.com.txt @@ -0,0 +1,16 @@ +title: //header//h1 +#body: //article[contains(@class, 'node-full')] +body: //div[contains(@class, 'recipe-details') or contains(@class, 'tips-carousel')] | //section[@id='recipe-ingredients' or @id='recipe-method'] + +strip_id_or_class: recipe-rating-wrapper +strip_id_or_class: magazine-subcribe-header +strip_id_or_class: hide +strip_id_or_class: recipe-actions +strip_id_or_class: buy-ingredients +strip_id_or_class: related-content +strip_id_or_class: recipe-magazine-ad +strip_id_or_class: copy-right + +prune: no + +test_url: http://www.bbcgoodfood.com/recipes/1131634/minced-beef-wellington \ No newline at end of file -- cgit v1.2.3