This commit is contained in:
Bernhard Posselt 2016-01-06 21:39:59 +01:00
Родитель 0a7d3a91db
Коммит 0f63ffb59e
4 изменённых файлов: 13 добавлений и 13 удалений

8
composer.lock сгенерированный
Просмотреть файл

@ -57,12 +57,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fguillot/picoFeed.git", "url": "https://github.com/fguillot/picoFeed.git",
"reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7" "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/dbd2bc266ecc9396651c274adbb32ab25d0b19c7", "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/04cc8d395e626d7d75388d904afa1112f61c23b7",
"reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7", "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -97,7 +97,7 @@
], ],
"description": "Modern library to handle RSS/Atom feeds", "description": "Modern library to handle RSS/Atom feeds",
"homepage": "https://github.com/fguillot/picoFeed", "homepage": "https://github.com/fguillot/picoFeed",
"time": "2015-12-04 17:28:23" "time": "2016-01-03 02:14:59"
}, },
{ {
"name": "pear/net_url2", "name": "pear/net_url2",

8
vendor/composer/installed.json поставляемый
Просмотреть файл

@ -209,12 +209,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fguillot/picoFeed.git", "url": "https://github.com/fguillot/picoFeed.git",
"reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7" "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/dbd2bc266ecc9396651c274adbb32ab25d0b19c7", "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/04cc8d395e626d7d75388d904afa1112f61c23b7",
"reference": "dbd2bc266ecc9396651c274adbb32ab25d0b19c7", "reference": "04cc8d395e626d7d75388d904afa1112f61c23b7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -229,7 +229,7 @@
"suggest": { "suggest": {
"ext-curl": "PicoFeed will use cURL if present" "ext-curl": "PicoFeed will use cURL if present"
}, },
"time": "2015-12-04 17:28:23", "time": "2016-01-03 02:14:59",
"bin": [ "bin": [
"picofeed" "picofeed"
], ],

Просмотреть файл

@ -4,8 +4,8 @@ return array(
'grabber' => array( 'grabber' => array(
'%.*%' => array( '%.*%' => array(
'test_url' => 'http://www.engadget.com/2015/04/20/dark-matter-discovery/?ncid=rss_truncated', 'test_url' => 'http://www.engadget.com/2015/04/20/dark-matter-discovery/?ncid=rss_truncated',
'body' => array('//div[@class="article-content"]/p[not(@class="read-more")] | //div[@class="article-content"]/div[@style="text-align: center;"]'), 'body' => array('//div[@id="page_body"]/div[@class="container@m-"]'),
'strip' => array(), 'strip' => array('//aside[@role="banner"]'),
), ),
), ),
); );

Просмотреть файл

@ -8,14 +8,14 @@ return array(
), ),
'strip' => array( 'strip' => array(
'//p[@id="mobile-signature"]', '//p[@id="mobile-signature"]',
'//article/div[4]', '//article/div[4]',
'//article/ul[1]', '//article/ul[1]',
'//div[@class="clr"]', '//div[@class="clr"]',
'//p[@class="small"]', '//p[@class="small"]',
'//p[@style="font-weight: bold; font-size: 14px;"]', '//p[@style="font-weight: bold; font-size: 14px;"]',
'//div[@class="author"]', '//div[@class="author"]',
) '//div[@class="ad_container"]',
)
) )
) )
); );