miniflux-legacy/vendor/miniflux/picofeed/lib/PicoFeed/Rules/www.lesnumeriques.com.php

26 lines
953 B
PHP
Raw Permalink Normal View History

2015-08-02 20:08:21 +02:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.lesnumeriques.com/blender/kitchenaid-diamond-5ksb1585-p27473/test.html',
'body' => array(
'//*[@id="product-content"]',
'//*[@id="news-content"]',
'//*[@id="article-content"]',
),
'strip' => array(
'//form',
'//div[contains(@class, "price-v4"])',
'//div[contains(@class, "authors-and-date")]',
'//div[contains(@class, "mini-product")]',
'//div[@id="articles-related-authors"]',
'//div[@id="tags-socials"]',
'//div[@id="user-reviews"]',
'//div[@id="product-reviews"]',
'//div[@id="publication-breadcrumbs-and-date"]',
'//div[@id="publication-breadcrumbs-and-date"]',
),
),
),
);