Add content grabber rule for developpez.com

This commit is contained in:
Frederic Guillot 2015-03-01 19:02:38 -05:00
parent 4809f736dc
commit 39088b6ada
4 changed files with 19 additions and 10 deletions

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer' . '/autoload_real.php'; require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit4a7335ffe176a1ef5c75eb89d06418db::getLoader(); return ComposerAutoloaderInit32c1e5caea1303c23c9e3aeeb4850b2e::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit4a7335ffe176a1ef5c75eb89d06418db class ComposerAutoloaderInit32c1e5caea1303c23c9e3aeeb4850b2e
{ {
private static $loader; private static $loader;
@ -19,9 +19,9 @@ class ComposerAutoloaderInit4a7335ffe176a1ef5c75eb89d06418db
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInit4a7335ffe176a1ef5c75eb89d06418db', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit32c1e5caea1303c23c9e3aeeb4850b2e', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(); self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit4a7335ffe176a1ef5c75eb89d06418db', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit32c1e5caea1303c23c9e3aeeb4850b2e', 'loadClassLoader'));
$map = require __DIR__ . '/autoload_namespaces.php'; $map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
@ -42,14 +42,14 @@ class ComposerAutoloaderInit4a7335ffe176a1ef5c75eb89d06418db
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) { foreach ($includeFiles as $file) {
composerRequire4a7335ffe176a1ef5c75eb89d06418db($file); composerRequire32c1e5caea1303c23c9e3aeeb4850b2e($file);
} }
return $loader; return $loader;
} }
} }
function composerRequire4a7335ffe176a1ef5c75eb89d06418db($file) function composerRequire32c1e5caea1303c23c9e3aeeb4850b2e($file)
{ {
require $file; require $file;
} }

View File

@ -162,12 +162,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fguillot/picoFeed.git", "url": "https://github.com/fguillot/picoFeed.git",
"reference": "beac91bf7cda7057d470c495b6616ced44ef1936" "reference": "da9c8df79c76b00e2e7c16ae12f768117164a838"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/beac91bf7cda7057d470c495b6616ced44ef1936", "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/da9c8df79c76b00e2e7c16ae12f768117164a838",
"reference": "beac91bf7cda7057d470c495b6616ced44ef1936", "reference": "da9c8df79c76b00e2e7c16ae12f768117164a838",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -178,7 +178,7 @@
"ext-xml": "*", "ext-xml": "*",
"php": ">=5.3.0" "php": ">=5.3.0"
}, },
"time": "2015-03-01 18:36:28", "time": "2015-03-01 23:58:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {

View File

@ -0,0 +1,9 @@
<?php
return array(
'test_url' => 'http://www.developpez.com/actu/81757/Mozilla-annonce-la-disponibilite-de-Firefox-36-qui-passe-au-HTTP-2-et-permet-la-synchronisation-de-son-ecran-d-accueil/',
'body' => array(
'//div[@itemprop="articleBody"]',
),
'strip' => array(
)
);