Add grabber rules for Futura-Sciences, Mac4Ever and PcInpact
This commit is contained in:
parent
2d2afcd786
commit
8342686d75
@ -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 {
|
||||||
|
15
vendor/PicoFeed/Rules/www.futura-sciences.com.php
vendored
Normal file
15
vendor/PicoFeed/Rules/www.futura-sciences.com.php
vendored
Normal 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")]',
|
||||||
|
),
|
||||||
|
);
|
9
vendor/PicoFeed/Rules/www.mac4ever.com.php
vendored
Normal file
9
vendor/PicoFeed/Rules/www.mac4ever.com.php
vendored
Normal 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(
|
||||||
|
),
|
||||||
|
);
|
9
vendor/PicoFeed/Rules/www.pcinpact.com.php
vendored
Normal file
9
vendor/PicoFeed/Rules/www.pcinpact.com.php
vendored
Normal 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(
|
||||||
|
),
|
||||||
|
);
|
Loading…
Reference in New Issue
Block a user