Update PicoFeed
This commit is contained in:
parent
78f9e7a2ae
commit
f7b3bbd8e9
@ -14,7 +14,7 @@
|
|||||||
"fguillot/simple-validator": "v1.0.0",
|
"fguillot/simple-validator": "v1.0.0",
|
||||||
"fguillot/json-rpc": "v1.0.2",
|
"fguillot/json-rpc": "v1.0.2",
|
||||||
"fguillot/picodb": "v1.0.2",
|
"fguillot/picodb": "v1.0.2",
|
||||||
"fguillot/picofeed": "v0.1.17"
|
"fguillot/picofeed": "v0.1.18"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "4.8.3",
|
"phpunit/phpunit": "4.8.3",
|
||||||
|
30
vendor/composer/installed.json
vendored
30
vendor/composer/installed.json
vendored
@ -116,27 +116,27 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zendframework/zendxml",
|
"name": "zendframework/zendxml",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"version_normalized": "1.0.1.0",
|
"version_normalized": "1.0.2.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zendframework/ZendXml.git",
|
"url": "https://github.com/zendframework/ZendXml.git",
|
||||||
"reference": "54edb3875aba5b45f02824f65f311c9fb2743a38"
|
"reference": "7b64507bc35d841c9c5802d67f6f87ef8e1a58c9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zendframework/ZendXml/zipball/54edb3875aba5b45f02824f65f311c9fb2743a38",
|
"url": "https://api.github.com/repos/zendframework/ZendXml/zipball/7b64507bc35d841c9c5802d67f6f87ef8e1a58c9",
|
||||||
"reference": "54edb3875aba5b45f02824f65f311c9fb2743a38",
|
"reference": "7b64507bc35d841c9c5802d67f6f87ef8e1a58c9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": "^5.3.3 || ^7.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "~3.7",
|
"phpunit/phpunit": "^3.7 || ^4.0",
|
||||||
"squizlabs/php_codesniffer": "~1.5"
|
"squizlabs/php_codesniffer": "^1.5"
|
||||||
},
|
},
|
||||||
"time": "2015-08-03 14:50:10",
|
"time": "2016-02-04 21:02:08",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
@ -163,17 +163,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fguillot/picofeed",
|
"name": "fguillot/picofeed",
|
||||||
"version": "v0.1.17",
|
"version": "v0.1.18",
|
||||||
"version_normalized": "0.1.17.0",
|
"version_normalized": "0.1.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/fguillot/picoFeed.git",
|
"url": "https://github.com/fguillot/picoFeed.git",
|
||||||
"reference": "6249abdd8a7070388d5257d93552b33424018a76"
|
"reference": "8f776343b0dada397c2a950a7c3f7be57442fa35"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/6249abdd8a7070388d5257d93552b33424018a76",
|
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/8f776343b0dada397c2a950a7c3f7be57442fa35",
|
||||||
"reference": "6249abdd8a7070388d5257d93552b33424018a76",
|
"reference": "8f776343b0dada397c2a950a7c3f7be57442fa35",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -188,7 +188,7 @@
|
|||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-curl": "PicoFeed will use cURL if present"
|
"ext-curl": "PicoFeed will use cURL if present"
|
||||||
},
|
},
|
||||||
"time": "2016-01-11 17:22:24",
|
"time": "2016-02-09 02:49:54",
|
||||||
"bin": [
|
"bin": [
|
||||||
"picofeed"
|
"picofeed"
|
||||||
],
|
],
|
||||||
|
@ -129,6 +129,8 @@ class Attribute
|
|||||||
'https://player.vimeo.com',
|
'https://player.vimeo.com',
|
||||||
'http://www.dailymotion.com',
|
'http://www.dailymotion.com',
|
||||||
'https://www.dailymotion.com',
|
'https://www.dailymotion.com',
|
||||||
|
'http://vk.com',
|
||||||
|
'https://vk.com',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -12,6 +12,7 @@ return array(
|
|||||||
'//h1',
|
'//h1',
|
||||||
'//h3',
|
'//h3',
|
||||||
'//ul',
|
'//ul',
|
||||||
|
'//table[contains(@class, "in-article-item")]',
|
||||||
'//a[@target="_self"]',
|
'//a[@target="_self"]',
|
||||||
'//div[@data-embed-type="Brightcove"]',
|
'//div[@data-embed-type="Brightcove"]',
|
||||||
'//div[@class="QuoteContainer"]',
|
'//div[@class="QuoteContainer"]',
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
return array(
|
|
||||||
'filter' => array(
|
|
||||||
'%.*%' => array(
|
|
||||||
'%href="http://www.channelate.com/(\\d+)/(\\d+)/(\\d+)/[^"]*"%' => 'href="http://www.channelate.com/extra-panel/$1$2$3/"',
|
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
|
@ -8,6 +8,7 @@ return array(
|
|||||||
'//div[contains(@class, "entry-content")]',
|
'//div[contains(@class, "entry-content")]',
|
||||||
),
|
),
|
||||||
'strip' => array(
|
'strip' => array(
|
||||||
|
'//div[@class="dmcss_login_form"]',
|
||||||
'//*[contains(@class, "sharedaddy")]',
|
'//*[contains(@class, "sharedaddy")]',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
12
vendor/fguillot/picofeed/lib/PicoFeed/Rules/dilbert.com.php
vendored
Normal file
12
vendor/fguillot/picofeed/lib/PicoFeed/Rules/dilbert.com.php
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'body' => array(
|
||||||
|
'//img[@class="img-responsive img-comic"]',
|
||||||
|
),
|
||||||
|
'test_url' => 'http://dilbert.com/strip/2016-01-28',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
19
vendor/fguillot/picofeed/lib/PicoFeed/Rules/fossbytes.com.php
vendored
Normal file
19
vendor/fguillot/picofeed/lib/PicoFeed/Rules/fossbytes.com.php
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://fossbytes.com/fbi-hacked-1000-computers-to-shut-down-largest-child-pornography-site-on-the-dark-web/',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="entry-inner"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[@class="at-above-post addthis_default_style addthis_toolbox at-wordpress-hide"]',
|
||||||
|
'//*[@class="at-below-post addthis_default_style addthis_toolbox at-wordpress-hide"]',
|
||||||
|
'//*[@class="at-below-post-recommended addthis_default_style addthis_toolbox at-wordpress-hide"]',
|
||||||
|
'//*[@class="code-block code-block-12 ai-desktop"]',
|
||||||
|
'//*[@class="code-block code-block-13 ai-tablet-phone"]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
13
vendor/fguillot/picofeed/lib/PicoFeed/Rules/gerbilwithajetpack.com.php
vendored
Normal file
13
vendor/fguillot/picofeed/lib/PicoFeed/Rules/gerbilwithajetpack.com.php
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'body' => array(
|
||||||
|
'//div[@id="comic-1"]',
|
||||||
|
'//div[@class="entry"]',
|
||||||
|
),
|
||||||
|
'test_url' => 'http://gerbilwithajetpack.com/passing-the-digital-buck/',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
12
vendor/fguillot/picofeed/lib/PicoFeed/Rules/greekculture.com.php
vendored
Normal file
12
vendor/fguillot/picofeed/lib/PicoFeed/Rules/greekculture.com.php
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%/joyoftech/.*%' => array(
|
||||||
|
'body' => array(
|
||||||
|
'//img[@width="640"]',
|
||||||
|
),
|
||||||
|
'test_url' => 'http://www.geekculture.com/joyoftech/joyarchives/2235.html',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
@ -4,7 +4,13 @@ return array(
|
|||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://www.koreatimes.co.kr/www/news/nation/2015/12/116_192409.html',
|
'test_url' => 'http://www.koreatimes.co.kr/www/news/nation/2015/12/116_192409.html',
|
||||||
'body' => '//div[@class="view_page_news_article_wrapper"]',
|
'body' => array(
|
||||||
|
'//div[@id="p"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//script',
|
||||||
|
'//div[@id="webtalks_btn_listenDiv"]',
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -4,7 +4,9 @@ return array(
|
|||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://www.linux.org/threads/lua-the-scripting-interpreter.8352/',
|
'test_url' => 'http://www.linux.org/threads/lua-the-scripting-interpreter.8352/',
|
||||||
'body' => '//div[@class="messageContent"]',
|
'body' => array(
|
||||||
|
'//div[@class="messageContent"]',
|
||||||
|
),
|
||||||
'strip' => array(
|
'strip' => array(
|
||||||
'//aside',
|
'//aside',
|
||||||
),
|
),
|
||||||
|
@ -4,10 +4,12 @@ return array(
|
|||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://www.linuxinsider.com/story/82526.html?rss=1',
|
'test_url' => 'http://www.linuxinsider.com/story/82526.html?rss=1',
|
||||||
'body' => '//div[@id="story"]',
|
'body' => array(
|
||||||
|
'//div[@id="story"]',
|
||||||
|
),
|
||||||
'strip' => array(
|
'strip' => array(
|
||||||
'//script',
|
'//script',
|
||||||
'//h1]',
|
'//h1',
|
||||||
'//div[@id="story-toolbox1"]',
|
'//div[@id="story-toolbox1"]',
|
||||||
'//div[@id="story-byline"]',
|
'//div[@id="story-byline"]',
|
||||||
'//div[@id="story"]/p',
|
'//div[@id="story"]/p',
|
||||||
|
17
vendor/fguillot/picofeed/lib/PicoFeed/Rules/muckrock.com.php
vendored
Normal file
17
vendor/fguillot/picofeed/lib/PicoFeed/Rules/muckrock.com.php
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'https://www.muckrock.com/news/archives/2016/jan/13/5-concerns-private-prisons/',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="content"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//h1',
|
||||||
|
'//div[@class="secondary"]',
|
||||||
|
'//aside',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
16
vendor/fguillot/picofeed/lib/PicoFeed/Rules/nationaljournal.com.php
vendored
Normal file
16
vendor/fguillot/picofeed/lib/PicoFeed/Rules/nationaljournal.com.php
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://www.nationaljournal.com/s/354962/south-carolina-evangelicals-outstrip-establishment?mref=home_top_main',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="section-body"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[contains(@class, "-related")]',
|
||||||
|
'//*[contains(@class, "social")]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
@ -1,20 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
return array(
|
return array(
|
||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'http://dx.doi.org/10.1038.*%' => array(
|
|
||||||
'test_url' => 'http://dx.doi.org/10.1038/525184a',
|
|
||||||
'body' => array(
|
|
||||||
'//div[@class="content "]',
|
|
||||||
),
|
|
||||||
'strip' => array()
|
|
||||||
),
|
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://www.nature.com/doifinder/10.1038/nature.2015.18340',
|
'test_url' => 'http://www.nature.com/doifinder/10.1038/nature.2015.18340',
|
||||||
'body' => array(
|
'body' => array(
|
||||||
'//div[contains(@class,"main-content")]',
|
'//div[contains(@class,"main-content")]',
|
||||||
),
|
),
|
||||||
'strip' => array()
|
'strip' => array(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
16
vendor/fguillot/picofeed/lib/PicoFeed/Rules/onhax.net.php
vendored
Normal file
16
vendor/fguillot/picofeed/lib/PicoFeed/Rules/onhax.net.php
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://onhax.net/process-lasso-8-9-1-4-pro-key-portable-is-here-latest',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="postcontent"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[@class="sharedaddy sd-sharing-enabled"]',
|
||||||
|
'//*[@class="yarpp-related"]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
@ -4,13 +4,15 @@ return array(
|
|||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://onmilwaukee.com/movies/articles/downerspelunking.html',
|
'test_url' => 'http://onmilwaukee.com/movies/articles/downerspelunking.html',
|
||||||
'body' => '//article[@class="show"]',
|
'body' => array(
|
||||||
|
'//article[contains(@class, "show")]',
|
||||||
|
),
|
||||||
'strip' => array(
|
'strip' => array(
|
||||||
'//h1',
|
'//h1',
|
||||||
'//div[contains(@class, "-ad")]',
|
'//div[contains(@class, "-ad")]',
|
||||||
'//div[contains(@class, "_ad")]',
|
'//div[contains(@class, "_ad")]',
|
||||||
'//div[@id="pub_wrapper"]',
|
'//div[@id="pub_wrapper"]',
|
||||||
'//div[@class="share_tools"]',
|
'//div[contains(@class, "share_tools")]',
|
||||||
'//div[@class="clearfix"]',
|
'//div[@class="clearfix"]',
|
||||||
'//div[contains(@class,"image_control")]',
|
'//div[contains(@class,"image_control")]',
|
||||||
'//section[@class="ribboned"]',
|
'//section[@class="ribboned"]',
|
||||||
|
@ -13,6 +13,7 @@ return array(
|
|||||||
'//script',
|
'//script',
|
||||||
'//div[contains(@class,"sharedaddy")]',
|
'//div[contains(@class,"sharedaddy")]',
|
||||||
'//div[@class="post-send-off"]',
|
'//div[@class="post-send-off"]',
|
||||||
|
'//div[@class="large-12 columns"]',
|
||||||
'//div[contains(@class,"inner-related-article")]',
|
'//div[contains(@class,"inner-related-article")]',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -4,7 +4,9 @@ return array(
|
|||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://www.securityfocus.com/news/11569?ref=rss',
|
'test_url' => 'http://www.securityfocus.com/news/11569?ref=rss',
|
||||||
'body' => '//div[@class="expanded"]',
|
'body' => array(
|
||||||
|
'//div[@class="expanded"]',
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -4,7 +4,9 @@ return array(
|
|||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://www.soundandvision.com/content/james-guthrie-mixing-roger-waters-and-pink-floyd-51',
|
'test_url' => 'http://www.soundandvision.com/content/james-guthrie-mixing-roger-waters-and-pink-floyd-51',
|
||||||
'body' => '//div[@id="left"]',
|
'body' => array(
|
||||||
|
'//div[@id="left"]',
|
||||||
|
),
|
||||||
'strip' => array(
|
'strip' => array(
|
||||||
'//div[@class="meta"]',
|
'//div[@class="meta"]',
|
||||||
'//div[@class="ratingsbox"]',
|
'//div[@class="ratingsbox"]',
|
||||||
|
@ -8,7 +8,7 @@ return array(
|
|||||||
'//div[@class="entry"]',
|
'//div[@class="entry"]',
|
||||||
),
|
),
|
||||||
'strip' => array(),
|
'strip' => array(),
|
||||||
'test_url' => 'http://sentfromthemoon.com/archives/1417',
|
'test_url' => 'http://thedoghousediaries.com/6023',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'filter' => array(
|
'filter' => array(
|
||||||
|
9
vendor/fguillot/picofeed/lib/PicoFeed/Rules/theodd1sout.com.php
vendored
Normal file
9
vendor/fguillot/picofeed/lib/PicoFeed/Rules/theodd1sout.com.php
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'filter' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'%-150x150%' => '',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
@ -4,7 +4,9 @@ return array(
|
|||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'test_url' => 'http://www.thestandard.com.hk/breaking_news_detail.asp?id=67156',
|
'test_url' => 'http://www.thestandard.com.hk/breaking_news_detail.asp?id=67156',
|
||||||
'body' => '//div[contains(@class,"storyBody")]',
|
'body' => array(
|
||||||
|
'//table/tr/td/span[@class="bodyCopy"]',
|
||||||
|
),
|
||||||
'strip' => array(
|
'strip' => array(
|
||||||
'//script',
|
'//script',
|
||||||
'//br',
|
'//br',
|
||||||
|
@ -3,9 +3,10 @@
|
|||||||
return array(
|
return array(
|
||||||
'grabber' => array(
|
'grabber' => array(
|
||||||
'%.*%' => array(
|
'%.*%' => array(
|
||||||
'body' => array('//img[@id="cc-comic"]'),
|
'body' => array(
|
||||||
'strip' => array(),
|
'//img[@id="cc-comic"]',
|
||||||
'test_url' => 'http://www.threepanelsoul.com/comic/subjective-tastes',
|
),
|
||||||
|
'test_url' => 'http://www.threepanelsoul.com/comic/uncloaking',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
15
vendor/fguillot/picofeed/lib/PicoFeed/Rules/timesofindia.indiatimes.com.php
vendored
Normal file
15
vendor/fguillot/picofeed/lib/PicoFeed/Rules/timesofindia.indiatimes.com.php
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://timesofindia.indiatimes.com/city/mangaluru/Adani-UPCL-to-release-CSR-grant-of-Rs-3-74-crore-to-YellurGram-Panchayat/articleshow/50512116.cms',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="article_content clearfix"]',
|
||||||
|
'//section[@class="highlight clearfix"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
24
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php
vendored
Normal file
24
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.bgr.in.php
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://www.bgr.in/news/xiaomi-redmi-3-with-13-megapixel-camera-snapdragon-616-launched-price-specifications-and-features/',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="article-content"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[@class="article-meta"]',
|
||||||
|
'//*[@class="contentAdsense300"]',
|
||||||
|
'//*[@class="iwpl-social-hide"]',
|
||||||
|
'//iframe[@class="iframeads"]',
|
||||||
|
'//*[@class="disqus_thread"]',
|
||||||
|
'//*[@class="outb-mobile OUTBRAIN"]',
|
||||||
|
'//*[@class="wdt_smart_alerts"]',
|
||||||
|
'//*[@class="footnote"]',
|
||||||
|
'//*[@id="gadget-widget"]',
|
||||||
|
'//header[@class="article-title entry-header"]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
18
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php
vendored
Normal file
18
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.fakingnews.firstpost.com.php
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://www.fakingnews.firstpost.com/2016/01/engineering-student-creates-record-in-a-decade-becomes-the-first-to-completely-exhaust-ball-pen-refill/',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="entry"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[@class="socialshare_bar"]',
|
||||||
|
'//*[@class="authorbox"]',
|
||||||
|
'//*[@class="cf5_rps"]',
|
||||||
|
'//*[@class="60563 fb-comments fb-social-plugin"]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
15
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.howtogeek.com.php
vendored
Normal file
15
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.howtogeek.com.php
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://www.howtogeek.com/235283/what-is-a-wireless-hard-drive-and-should-i-get-one/',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="thecontent"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[@class="relatedside"]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
19
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.makeuseof.com.php
vendored
Normal file
19
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.makeuseof.com.php
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://www.makeuseof.com/tag/having-problems-with-audio-in-windows-10-heres-a-likely-fix/',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="entry"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[@class="new_sharebar"]',
|
||||||
|
'//*[@class="author"]',
|
||||||
|
'//*[@class="wdt_grouvi"]',
|
||||||
|
'//*[@class="wdt_smart_alerts"]',
|
||||||
|
'//*[@class="modal fade grouvi"]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
@ -10,6 +10,7 @@ return array(
|
|||||||
'strip' => array(
|
'strip' => array(
|
||||||
'//*[@class="bucket img"]',
|
'//*[@class="bucket img"]',
|
||||||
'//*[@class="creditwrap"]',
|
'//*[@class="creditwrap"]',
|
||||||
|
'//div[@class="credit-caption"]',
|
||||||
'//*[@class="credit"]',
|
'//*[@class="credit"]',
|
||||||
'//*[@class="captionwrap"]',
|
'//*[@class="captionwrap"]',
|
||||||
'//*[@class="toggle-caption"]',
|
'//*[@class="toggle-caption"]',
|
||||||
|
15
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.oneindia.com.php
vendored
Normal file
15
vendor/fguillot/picofeed/lib/PicoFeed/Rules/www.oneindia.com.php
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return array(
|
||||||
|
'grabber' => array(
|
||||||
|
'%.*%' => array(
|
||||||
|
'test_url' => 'http://www.oneindia.com/india/b-luru-govt-likely-remove-word-eunuch-from-sec-36-a-karnataka-police-act-1981173.html',
|
||||||
|
'body' => array(
|
||||||
|
'//div[@class="ecom-ad-content"]',
|
||||||
|
),
|
||||||
|
'strip' => array(
|
||||||
|
'//*[@id="view_cmtns"]',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
38
vendor/zendframework/zendxml/.travis.yml
vendored
38
vendor/zendframework/zendxml/.travis.yml
vendored
@ -1,22 +1,42 @@
|
|||||||
|
sudo: false
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
php:
|
|
||||||
- 5.3
|
branches:
|
||||||
- 5.4
|
except:
|
||||||
- 5.5
|
- /^release-.*$/
|
||||||
- 5.6
|
- /^ghgfk-.*$/
|
||||||
- hhvm
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
include:
|
||||||
|
- php: 5.3
|
||||||
|
- php: 5.4
|
||||||
|
- php: 5.5
|
||||||
|
env:
|
||||||
|
- EXECUTE_CS_CHECK=true
|
||||||
|
- php: 5.6
|
||||||
|
- php: 7
|
||||||
|
- php: hhvm
|
||||||
|
allow_failures:
|
||||||
|
- php: hhvm
|
||||||
|
|
||||||
before_script:
|
before_install:
|
||||||
- composer self-update
|
- composer self-update
|
||||||
- composer install --dev
|
|
||||||
|
install:
|
||||||
|
- travis_retry composer install --no-interaction --ignore-platform-reqs
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./vendor/bin/phpunit -c ./tests
|
- ./vendor/bin/phpunit -c ./tests
|
||||||
- ./vendor/bin/phpcs --standard=PSR2 --ignore=tests/Bootstrap.php library tests
|
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/phpcs --standard=PSR2 --ignore=tests/Bootstrap.php library tests ; fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc: "irc.freenode.org#zftalk.dev"
|
irc: "irc.freenode.org#zftalk.dev"
|
||||||
|
24
vendor/zendframework/zendxml/CHANGELOG.md
vendored
Normal file
24
vendor/zendframework/zendxml/CHANGELOG.md
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file, in reverse chronological order by release.
|
||||||
|
|
||||||
|
## 1.0.2 - 2016-02-04
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Nothing.
|
||||||
|
|
||||||
|
### Deprecated
|
||||||
|
|
||||||
|
- Nothing.
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- Nothing.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- [#11](https://github.com/zendframework/ZendXml/pull/11) updates the
|
||||||
|
dependencies to PHP `^5.3.3 || ^7.0` and PHPUnit `^3.7 || ^4.0`, ensuring
|
||||||
|
better compatibility with other components, and with PHP 7. The test matrix
|
||||||
|
was also expanded to add PHP 7 as a required platform.
|
6
vendor/zendframework/zendxml/composer.json
vendored
6
vendor/zendframework/zendxml/composer.json
vendored
@ -26,7 +26,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": "^5.3.3 || ^7.0"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
@ -34,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "~3.7",
|
"phpunit/phpunit": "^3.7 || ^4.0",
|
||||||
"squizlabs/php_codesniffer": "~1.5"
|
"squizlabs/php_codesniffer": "^1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user