mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +02:00
[core + bridges] get rid of loadMetadata
if a bridge needs to modify some of the data that were initialized there, ::__construct() should be used instead. Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -1,166 +1,163 @@
|
||||
<?php
|
||||
class ZDNetBridge extends BridgeAbstract {
|
||||
|
||||
public function loadMetadatas() {
|
||||
public $maintainer = 'ORelio';
|
||||
public $name = 'ZDNet Bridge';
|
||||
public $uri = 'http://www.zdnet.com/';
|
||||
public $description = 'Technology News, Analysis, Comments and Product Reviews for IT Professionals.';
|
||||
|
||||
$this->maintainer = 'ORelio';
|
||||
$this->name = 'ZDNet Bridge';
|
||||
$this->uri = 'http://www.zdnet.com/';
|
||||
$this->description = 'Technology News, Analysis, Comments and Product Reviews for IT Professionals.';
|
||||
|
||||
// http://www.zdnet.com/zdnet.opml
|
||||
$this->parameters[] = array(
|
||||
'feed'=>array(
|
||||
//http://www.zdnet.com/zdnet.opml
|
||||
public $parameters = array( array(
|
||||
'feed'=>array(
|
||||
'name'=>'Feed',
|
||||
'type'=>'list',
|
||||
'values'=>array(
|
||||
'Subscribe to ZDNet RSS Feeds'=>array(
|
||||
'All Blogs'=>'blog',
|
||||
'Just News'=>'news',
|
||||
'All Reviews'=>'topic/reviews',
|
||||
'Latest Downloads'=>'downloads!recent',
|
||||
'Latest Articles'=>'/',
|
||||
'Latest Australia Articles'=>'au',
|
||||
'Latest UK Articles'=>'uk',
|
||||
'Latest US Articles'=>'us',
|
||||
'Latest Asia Articles'=>'as'
|
||||
),
|
||||
'Keep up with ZDNet Blogs RSS:'=>array(
|
||||
'Transforming the Datacenter'=>'blog/transforming-datacenter',
|
||||
'SMB India'=>'blog/smb-india',
|
||||
'Indonesia BizTech'=>'blog/indonesia-biztech',
|
||||
'Hong Kong Techie'=>'blog/hong-kong-techie',
|
||||
'Tech Taiwan'=>'blog/tech-taiwan',
|
||||
'Startup India'=>'blog/startup-india',
|
||||
'Starting Up Asia'=>'blog/starting-up-asia',
|
||||
'Next-Gen Partner'=>'blog/partner',
|
||||
'Post-PC Developments'=>'blog/post-pc',
|
||||
'Benelux'=>'blog/benelux',
|
||||
'Heat Sink'=>'blog/heat-sink',
|
||||
'Italy\'s got tech'=>'blog/italy',
|
||||
'African Enterprise'=>'blog/african-enterprise',
|
||||
'New Tech for Old India'=>'blog/new-india',
|
||||
'Estonia Uncovered'=>'blog/estonia',
|
||||
'IT Iberia'=>'blog/iberia',
|
||||
'Brazil Tech'=>'blog/brazil',
|
||||
'500 words into the future'=>'blog/500-words-into-the-future',
|
||||
'ÜberTech'=>'blog/ubertech',
|
||||
'All About Microsoft'=>'blog/microsoft',
|
||||
'Back office'=>'blog/back-office',
|
||||
'Barker Bites Back'=>'blog/barker-bites-back',
|
||||
'Between the Lines'=>'blog/btl',
|
||||
'Big on Data'=>'blog/big-data',
|
||||
'bootstrappr'=>'blog/bootstrappr',
|
||||
'By The Way'=>'blog/by-the-way',
|
||||
'Central European Processing'=>'blog/central-europe',
|
||||
'Cloud Builders'=>'blog/cloud-builders',
|
||||
'Communication Breakdown'=>'blog/communication-breakdown',
|
||||
'Collaboration 2.0'=>'blog/collaboration',
|
||||
'Constellation Research'=>'blog/constellation',
|
||||
'Consumerization: BYOD'=>'blog/consumerization',
|
||||
'DIY-IT'=>'blog/diy-it',
|
||||
'Enterprise Web 2.0'=>'blog/hinchcliffe',
|
||||
'Five Nines: The Next Gen Datacenter'=>'blog/datacenter',
|
||||
'Forrester Research'=>'blog/forrester',
|
||||
'Full Duplex'=>'blog/full-duplex',
|
||||
'Gen Why?'=>'blog/gen-why',
|
||||
'Hardware 2.0'=>'blog/hardware',
|
||||
'Identity Matters'=>'blog/identity',
|
||||
'iGeneration'=>'blog/igeneration',
|
||||
'Internet of Everything'=>'blog/cisco',
|
||||
'Beyond IT Failure'=>'blog/projectfailures',
|
||||
'Jamie\'s Mostly Linux Stuff'=>'blog/jamies-mostly-linux-stuff',
|
||||
'Jack\'s Blog'=>'blog/jacks-blog',
|
||||
'Laptops & Desktops'=>'blog/computers',
|
||||
'Linux and Open Source'=>'blog/open-source',
|
||||
'London Calling'=>'blog/london',
|
||||
'Mapping Babel'=>'blog/mapping-babel',
|
||||
'Mixed Signals'=>'blog/mixed-signals',
|
||||
'Mobile India'=>'blog/mobile-india',
|
||||
'Mobile News'=>'blog/mobile-news',
|
||||
'Networking'=>'blog/networking',
|
||||
'Norse Code'=>'blog/norse-code',
|
||||
'Null Pointer'=>'blog/null-pointer',
|
||||
'The Full Tilt'=>'blog/the-full-tilt',
|
||||
'Pinoy Post'=>'blog/pinoy-post',
|
||||
'Practically Tech'=>'blog/practically-tech',
|
||||
'Product Central'=>'blog/product-central',
|
||||
'Pulp Tech'=>'blog/violetblue',
|
||||
'Qubits and Pieces'=>'blog/qubits-and-pieces',
|
||||
'Securify This!'=>'blog/securify-this',
|
||||
'Service Oriented'=>'blog/service-oriented',
|
||||
'Small Talk'=>'blog/small-talk',
|
||||
'Small Business Matters'=>'blog/small-business-matters',
|
||||
'Smartphones and Cell Phones'=>'blog/cell-phones',
|
||||
'Social Business'=>'blog/feeds',
|
||||
'Social CRM: The Conversation'=>'blog/crm',
|
||||
'Software & Services Safari'=>'blog/sommer',
|
||||
'Storage Bits'=>'blog/storage',
|
||||
'Stacking up Open Clouds'=>'blog/apac-redhat',
|
||||
'Techie Isles'=>'blog/techie-isles',
|
||||
'Technolatte'=>'blog/technolatte',
|
||||
'Tech Podium'=>'blog/tech-podium',
|
||||
'Tel Aviv Tech'=>'blog/tel-aviv',
|
||||
'Tech Broiler'=>'blog/perlow',
|
||||
'The SANMAN'=>'blog/the-sanman',
|
||||
'The open source revolution'=>'blog/the-open-source-revolution',
|
||||
'The German View'=>'blog/german',
|
||||
'The Ed Bott Report'=>'blog/bott',
|
||||
'The Mobile Gadgeteer'=>'blog/mobile-gadgeteer',
|
||||
'The Apple Core'=>'blog/apple',
|
||||
'Tom Foremski: IMHO'=>'blog/foremski',
|
||||
'Twisted Wire'=>'blog/twisted-wire',
|
||||
'Vive la tech'=>'blog/france',
|
||||
'Virtually Speaking'=>'blog/virtualization',
|
||||
'View from China'=>'blog/china',
|
||||
'Web design & Free Software'=>'blog/web-design-and-free-software',
|
||||
'ZDNet Government'=>'blog/government',
|
||||
'ZDNet UK Book Reviews'=>'blog/zdnet-uk-book-reviews',
|
||||
'ZDNet UK First Take'=>'blog/zdnet-uk-first-take',
|
||||
'Zero Day'=>'blog/security'
|
||||
),
|
||||
'ZDNet Hot Topics RSS:'=>array(
|
||||
'Apple'=>'topic/apple',
|
||||
'Collaboration'=>'topic/collaboration',
|
||||
'Enterprise Software'=>'topic/enterprise-software',
|
||||
'Google'=>'topic/google',
|
||||
'Great debate'=>'topic/great-debate',
|
||||
'Hardware'=>'topic/hardware',
|
||||
'IBM'=>'topic/ibm',
|
||||
'iOS'=>'topic/ios',
|
||||
'iPhone'=>'topic/iphone',
|
||||
'iPad'=>'topic/ipad',
|
||||
'IT Priorities'=>'topic/it-priorities',
|
||||
'Laptops'=>'topic/laptops',
|
||||
'Legal'=>'topic/legal',
|
||||
'Linux'=>'topic/linux',
|
||||
'Microsoft'=>'topic/microsoft',
|
||||
'Mobile OS'=>'topic/mobile-os',
|
||||
'Mobility'=>'topic/mobility',
|
||||
'Networking'=>'topic/networking',
|
||||
'Oracle'=>'topic/oracle',
|
||||
'Processors'=>'topic/processors',
|
||||
'Samsung'=>'topic/samsung',
|
||||
'Security'=>'topic/security',
|
||||
'Small business: going big on mobility'=>'topic/small-business-going-big-on-mobility'
|
||||
),
|
||||
'Product Blogs:'=>array(
|
||||
'Digital Cameras & Camcorders'=>'blog/digitalcameras',
|
||||
'Home Theater'=>'blog/home-theater',
|
||||
'Laptops and Desktops'=>'blog/computers',
|
||||
'The Mobile Gadgeteer'=>'blog/mobile-gadgeteer',
|
||||
'Smartphones and Cell Phones'=>'blog/cell-phones',
|
||||
'The ToyBox'=>'blog/gadgetreviews'
|
||||
),
|
||||
'Vertical Blogs:'=>array(
|
||||
'ZDNet Education'=>'blog/education',
|
||||
'ZDNet Healthcare'=>'blog/healthcare',
|
||||
'ZDNet Government'=>'blog/government'
|
||||
)
|
||||
'Subscribe to ZDNet RSS Feeds'=>array(
|
||||
'All Blogs'=>'blog',
|
||||
'Just News'=>'news',
|
||||
'All Reviews'=>'topic/reviews',
|
||||
'Latest Downloads'=>'downloads!recent',
|
||||
'Latest Articles'=>'/',
|
||||
'Latest Australia Articles'=>'au',
|
||||
'Latest UK Articles'=>'uk',
|
||||
'Latest US Articles'=>'us',
|
||||
'Latest Asia Articles'=>'as'
|
||||
),
|
||||
'Keep up with ZDNet Blogs RSS:'=>array(
|
||||
'Transforming the Datacenter'=>'blog/transforming-datacenter',
|
||||
'SMB India'=>'blog/smb-india',
|
||||
'Indonesia BizTech'=>'blog/indonesia-biztech',
|
||||
'Hong Kong Techie'=>'blog/hong-kong-techie',
|
||||
'Tech Taiwan'=>'blog/tech-taiwan',
|
||||
'Startup India'=>'blog/startup-india',
|
||||
'Starting Up Asia'=>'blog/starting-up-asia',
|
||||
'Next-Gen Partner'=>'blog/partner',
|
||||
'Post-PC Developments'=>'blog/post-pc',
|
||||
'Benelux'=>'blog/benelux',
|
||||
'Heat Sink'=>'blog/heat-sink',
|
||||
'Italy\'s got tech'=>'blog/italy',
|
||||
'African Enterprise'=>'blog/african-enterprise',
|
||||
'New Tech for Old India'=>'blog/new-india',
|
||||
'Estonia Uncovered'=>'blog/estonia',
|
||||
'IT Iberia'=>'blog/iberia',
|
||||
'Brazil Tech'=>'blog/brazil',
|
||||
'500 words into the future'=>'blog/500-words-into-the-future',
|
||||
'ÜberTech'=>'blog/ubertech',
|
||||
'All About Microsoft'=>'blog/microsoft',
|
||||
'Back office'=>'blog/back-office',
|
||||
'Barker Bites Back'=>'blog/barker-bites-back',
|
||||
'Between the Lines'=>'blog/btl',
|
||||
'Big on Data'=>'blog/big-data',
|
||||
'bootstrappr'=>'blog/bootstrappr',
|
||||
'By The Way'=>'blog/by-the-way',
|
||||
'Central European Processing'=>'blog/central-europe',
|
||||
'Cloud Builders'=>'blog/cloud-builders',
|
||||
'Communication Breakdown'=>'blog/communication-breakdown',
|
||||
'Collaboration 2.0'=>'blog/collaboration',
|
||||
'Constellation Research'=>'blog/constellation',
|
||||
'Consumerization: BYOD'=>'blog/consumerization',
|
||||
'DIY-IT'=>'blog/diy-it',
|
||||
'Enterprise Web 2.0'=>'blog/hinchcliffe',
|
||||
'Five Nines: The Next Gen Datacenter'=>'blog/datacenter',
|
||||
'Forrester Research'=>'blog/forrester',
|
||||
'Full Duplex'=>'blog/full-duplex',
|
||||
'Gen Why?'=>'blog/gen-why',
|
||||
'Hardware 2.0'=>'blog/hardware',
|
||||
'Identity Matters'=>'blog/identity',
|
||||
'iGeneration'=>'blog/igeneration',
|
||||
'Internet of Everything'=>'blog/cisco',
|
||||
'Beyond IT Failure'=>'blog/projectfailures',
|
||||
'Jamie\'s Mostly Linux Stuff'=>'blog/jamies-mostly-linux-stuff',
|
||||
'Jack\'s Blog'=>'blog/jacks-blog',
|
||||
'Laptops & Desktops'=>'blog/computers',
|
||||
'Linux and Open Source'=>'blog/open-source',
|
||||
'London Calling'=>'blog/london',
|
||||
'Mapping Babel'=>'blog/mapping-babel',
|
||||
'Mixed Signals'=>'blog/mixed-signals',
|
||||
'Mobile India'=>'blog/mobile-india',
|
||||
'Mobile News'=>'blog/mobile-news',
|
||||
'Networking'=>'blog/networking',
|
||||
'Norse Code'=>'blog/norse-code',
|
||||
'Null Pointer'=>'blog/null-pointer',
|
||||
'The Full Tilt'=>'blog/the-full-tilt',
|
||||
'Pinoy Post'=>'blog/pinoy-post',
|
||||
'Practically Tech'=>'blog/practically-tech',
|
||||
'Product Central'=>'blog/product-central',
|
||||
'Pulp Tech'=>'blog/violetblue',
|
||||
'Qubits and Pieces'=>'blog/qubits-and-pieces',
|
||||
'Securify This!'=>'blog/securify-this',
|
||||
'Service Oriented'=>'blog/service-oriented',
|
||||
'Small Talk'=>'blog/small-talk',
|
||||
'Small Business Matters'=>'blog/small-business-matters',
|
||||
'Smartphones and Cell Phones'=>'blog/cell-phones',
|
||||
'Social Business'=>'blog/feeds',
|
||||
'Social CRM: The Conversation'=>'blog/crm',
|
||||
'Software & Services Safari'=>'blog/sommer',
|
||||
'Storage Bits'=>'blog/storage',
|
||||
'Stacking up Open Clouds'=>'blog/apac-redhat',
|
||||
'Techie Isles'=>'blog/techie-isles',
|
||||
'Technolatte'=>'blog/technolatte',
|
||||
'Tech Podium'=>'blog/tech-podium',
|
||||
'Tel Aviv Tech'=>'blog/tel-aviv',
|
||||
'Tech Broiler'=>'blog/perlow',
|
||||
'The SANMAN'=>'blog/the-sanman',
|
||||
'The open source revolution'=>'blog/the-open-source-revolution',
|
||||
'The German View'=>'blog/german',
|
||||
'The Ed Bott Report'=>'blog/bott',
|
||||
'The Mobile Gadgeteer'=>'blog/mobile-gadgeteer',
|
||||
'The Apple Core'=>'blog/apple',
|
||||
'Tom Foremski: IMHO'=>'blog/foremski',
|
||||
'Twisted Wire'=>'blog/twisted-wire',
|
||||
'Vive la tech'=>'blog/france',
|
||||
'Virtually Speaking'=>'blog/virtualization',
|
||||
'View from China'=>'blog/china',
|
||||
'Web design & Free Software'=>'blog/web-design-and-free-software',
|
||||
'ZDNet Government'=>'blog/government',
|
||||
'ZDNet UK Book Reviews'=>'blog/zdnet-uk-book-reviews',
|
||||
'ZDNet UK First Take'=>'blog/zdnet-uk-first-take',
|
||||
'Zero Day'=>'blog/security'
|
||||
),
|
||||
'ZDNet Hot Topics RSS:'=>array(
|
||||
'Apple'=>'topic/apple',
|
||||
'Collaboration'=>'topic/collaboration',
|
||||
'Enterprise Software'=>'topic/enterprise-software',
|
||||
'Google'=>'topic/google',
|
||||
'Great debate'=>'topic/great-debate',
|
||||
'Hardware'=>'topic/hardware',
|
||||
'IBM'=>'topic/ibm',
|
||||
'iOS'=>'topic/ios',
|
||||
'iPhone'=>'topic/iphone',
|
||||
'iPad'=>'topic/ipad',
|
||||
'IT Priorities'=>'topic/it-priorities',
|
||||
'Laptops'=>'topic/laptops',
|
||||
'Legal'=>'topic/legal',
|
||||
'Linux'=>'topic/linux',
|
||||
'Microsoft'=>'topic/microsoft',
|
||||
'Mobile OS'=>'topic/mobile-os',
|
||||
'Mobility'=>'topic/mobility',
|
||||
'Networking'=>'topic/networking',
|
||||
'Oracle'=>'topic/oracle',
|
||||
'Processors'=>'topic/processors',
|
||||
'Samsung'=>'topic/samsung',
|
||||
'Security'=>'topic/security',
|
||||
'Small business: going big on mobility'=>'topic/small-business-going-big-on-mobility'
|
||||
),
|
||||
'Product Blogs:'=>array(
|
||||
'Digital Cameras & Camcorders'=>'blog/digitalcameras',
|
||||
'Home Theater'=>'blog/home-theater',
|
||||
'Laptops and Desktops'=>'blog/computers',
|
||||
'The Mobile Gadgeteer'=>'blog/mobile-gadgeteer',
|
||||
'Smartphones and Cell Phones'=>'blog/cell-phones',
|
||||
'The ToyBox'=>'blog/gadgetreviews'
|
||||
),
|
||||
'Vertical Blogs:'=>array(
|
||||
'ZDNet Education'=>'blog/education',
|
||||
'ZDNet Healthcare'=>'blog/healthcare',
|
||||
'ZDNet Government'=>'blog/government'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
)
|
||||
));
|
||||
|
||||
public function collectData(){
|
||||
$param=$this->parameters[$this->queriedContext];
|
||||
|
Reference in New Issue
Block a user