Add grabber rules for Futura-Sciences, Mac4Ever and PcInpact

This commit is contained in:
Frédéric Guillot 2014-02-15 10:25:33 -05:00
parent 2d2afcd786
commit 8342686d75
4 changed files with 38 additions and 0 deletions

View File

@ -567,6 +567,10 @@ ul.item-infos a {
color: #aaa; color: #aaa;
} }
ul.item-infos {
margin-bottom: 20px;
}
span.downloading img { span.downloading img {
display: inline; display: inline;
margin: 0; margin: 0;
@ -662,6 +666,7 @@ iframe {
.item-infos { .item-infos {
font-size: 0.9em; font-size: 0.9em;
margin-bottom: 5px;
} }
.item nav a { .item nav a {

View File

@ -0,0 +1,15 @@
<?php
return array(
'test_url' => 'http://www.futura-sciences.com/magazines/espace/infos/actu/d/astronautique-curiosity-franchi-succes-dune-dingo-gap-52289/#xtor=RSS-8',
'body' => array(
'//div[contains(@class, "content fiche-")]',
),
'strip' => array(
'//h1',
'//*[contains(@class, "content-date")]',
'//*[contains(@class, "diaporama")]',
'//*[contains(@class, "slider")]',
'//*[contains(@class, "cartouche")]',
'//*[contains(@class, "noprint")]',
),
);

View File

@ -0,0 +1,9 @@
<?php
return array(
'test_url' => 'http://www.mac4ever.com/actu/87392_video-quand-steve-jobs-et-bill-gates-jouaient-au-bachelor-avec-le-mac',
'body' => array(
'//div[contains(@class, "news-news-content")]',
),
'strip' => array(
),
);

View File

@ -0,0 +1,9 @@
<?php
return array(
'test_url' => 'http://www.pcinpact.com/news/85954-air-france-ne-vous-demande-plus-deteindre-vos-appareils-electroniques.htm?utm_source=PCi_RSS_Feed&utm_medium=news&utm_campaign=pcinpact',
'body' => array(
'//div[contains(@id, "actu_content")]',
),
'strip' => array(
),
);