Update to PicoFeed v0.1.25

This commit is contained in:
Frederic Guillot 2016-08-29 21:39:25 -04:00
parent ef43c4c089
commit aa42fd83a8
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
9 changed files with 131 additions and 66 deletions

View File

@ -15,7 +15,7 @@
"fguillot/simple-validator": "v1.0.0", "fguillot/simple-validator": "v1.0.0",
"fguillot/json-rpc": "v1.2.1", "fguillot/json-rpc": "v1.2.1",
"fguillot/picodb": "v1.0.14 ", "fguillot/picodb": "v1.0.14 ",
"fguillot/picofeed": "v0.1.24", "fguillot/picofeed": "v0.1.25",
"pda/pheanstalk": "v3.1.0", "pda/pheanstalk": "v3.1.0",
"ircmaxell/password-compat": "^1.0.4" "ircmaxell/password-compat": "^1.0.4"
}, },

View File

@ -136,56 +136,6 @@
"beanstalkd" "beanstalkd"
] ]
}, },
{
"name": "fguillot/picofeed",
"version": "v0.1.24",
"version_normalized": "0.1.24.0",
"source": {
"type": "git",
"url": "https://github.com/fguillot/picoFeed.git",
"reference": "25f9653ca663e098f51eabbdf495eb9a130c041b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/25f9653ca663e098f51eabbdf495eb9a130c041b",
"reference": "25f9653ca663e098f51eabbdf495eb9a130c041b",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-iconv": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
"ext-xml": "*",
"php": ">=5.3.0",
"zendframework/zendxml": "^1.0"
},
"suggest": {
"ext-curl": "PicoFeed will use cURL if present"
},
"time": "2016-07-03 00:02:03",
"bin": [
"picofeed"
],
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"PicoFeed": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Frédéric Guillot"
}
],
"description": "Modern library to handle RSS/Atom feeds",
"homepage": "https://github.com/fguillot/picoFeed"
},
{ {
"name": "fguillot/picodb", "name": "fguillot/picodb",
"version": "v1.0.14", "version": "v1.0.14",
@ -312,5 +262,55 @@
"hashing", "hashing",
"password" "password"
] ]
},
{
"name": "fguillot/picofeed",
"version": "v0.1.25",
"version_normalized": "0.1.25.0",
"source": {
"type": "git",
"url": "https://github.com/fguillot/picoFeed.git",
"reference": "2bf5bc40361e788eda6b1bd5d444630986721e69"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/2bf5bc40361e788eda6b1bd5d444630986721e69",
"reference": "2bf5bc40361e788eda6b1bd5d444630986721e69",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-iconv": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
"ext-xml": "*",
"php": ">=5.3.0",
"zendframework/zendxml": "^1.0"
},
"suggest": {
"ext-curl": "PicoFeed will use cURL if present"
},
"time": "2016-08-30 01:33:18",
"bin": [
"picofeed"
],
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"PicoFeed": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Frédéric Guillot"
}
],
"description": "Modern library to handle RSS/Atom feeds",
"homepage": "https://github.com/fguillot/picoFeed"
} }
] ]

View File

@ -0,0 +1,24 @@
<?php
return array(
'grabber' => array(
'%^/news.*%' => array(
'test_url' => 'http://www.adventuregamers.com/news/view/31079',
'body' => array(
'//div[@class="bodytext"]',
)
),
'%^/videos.*%' => array(
'test_url' => 'http://www.adventuregamers.com/videos/view/31056',
'body' => array(
'//iframe',
)
),
'%^/articles.*%' => array(
'test_url' => 'http://www.adventuregamers.com/articles/view/31049',
'body' => array(
'//div[@class="cleft"]',
)
)
),
);

View File

@ -0,0 +1,12 @@
<?php
return array(
'grabber' => array(
'%^/news.*%' => array(
'test_url' => 'http://www.hardware.fr/news/14760/intel-lance-nouveaux-ssd-nand-3d.html',
'body' => array(
'//div[@class="content_actualite"]/div[@class="md"]',
)
),
),
);

View File

@ -0,0 +1,12 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://indiehaven.com/no-mans-sky-is-a-solo-space-adventure-and-im-ok-with-that/',
'body' => array(
'//section[contains(@class, "entry-content")]',
)
),
),
);

View File

@ -0,0 +1,19 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.nextinpact.com/news/101122-3d-nand-intel-lance-six-nouvelles-gammes-ssd-pour-tous-usages.htm',
'body' => array(
'//div[@class="container_article"]',
),
'strip' => array(
'//div[@class="infos_article"]',
'//div[@id="actu_auteur"]',
'//div[@id="soutenir_journaliste"]',
'//section[@id="bandeau_abonnez_vous"]',
'//br'
),
),
),
);

View File

@ -0,0 +1,12 @@
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.rockpapershotgun.com/2016/08/26/the-divisions-expansions-delayed-to-improve-the-game/',
'body' => array(
'//div[@class="entry"]',
)
),
),
);

View File

@ -4,7 +4,7 @@ return array(
'%.*%' => array( '%.*%' => array(
'test_url' => 'http://www.geekculture.com/joyoftech/joyarchives/2180.html', 'test_url' => 'http://www.geekculture.com/joyoftech/joyarchives/2180.html',
'body' => array( 'body' => array(
'//p[contains(@class,"Maintext")][2]/img', '//p[contains(@class,"Maintext")][2]/a/img[contains(@src,"joyimages")]',
), ),
'strip' => array(), 'strip' => array(),
), ),

View File

@ -1,14 +0,0 @@
<?php
return array(
'grabber' => array(
'%.*%' => 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(
),
),
),
);