[InstructablesBridge] Update available categories

This commit is contained in:
logmanoriginal 2019-06-27 20:29:21 +02:00
parent 6f24987601
commit d324aa5da1

View file

@ -21,216 +21,198 @@ class InstructablesBridge extends BridgeAbstract {
'name' => 'Category', 'name' => 'Category',
'type' => 'list', 'type' => 'list',
'values' => array( 'values' => array(
'Play' => array( 'Circuits' => array(
'All' => '/play/', 'All' => '/circuits/',
'KNEX' => '/play/knex/', 'Apple' => '/circuits/apple/projects/',
'Offbeat' => '/play/offbeat/', 'Arduino' => '/circuits/arduino/projects/',
'Lego' => '/play/lego/', 'Art' => '/circuits/art/projects/',
'Airsoft' => '/play/airsoft/', 'Assistive Tech' => '/circuits/assistive-tech/projects/',
'Card Games' => '/play/card-games/', 'Audio' => '/circuits/audio/projects/',
'Guitars' => '/play/guitars/', 'Cameras' => '/circuits/cameras/projects/',
'Instruments' => '/play/instruments/', 'Clocks' => '/circuits/clocks/projects/',
'Magic Tricks' => '/play/magic-tricks/', 'Computers' => '/circuits/computers/projects/',
'Minecraft' => '/play/minecraft/', 'Electronics' => '/circuits/electronics/projects/',
'Music' => '/play/music/', 'Gadgets' => '/circuits/gadgets/projects/',
'Nerf' => '/play/nerf/', 'Lasers' => '/circuits/lasers/projects/',
'Nintendo' => '/play/nintendo/', 'LEDs' => '/circuits/leds/projects/',
'Office Supplies' => '/play/office-supplies/', 'Linux' => '/circuits/linux/projects/',
'Paintball' => '/play/paintball/', 'Microcontrollers' => '/circuits/microcontrollers/projects/',
'Paper Airplanes' => '/play/paper-airplanes/', 'Microsoft' => '/circuits/microsoft/projects/',
'Party Tricks' => '/play/party-tricks/', 'Mobile' => '/circuits/mobile/projects/',
'PlayStation' => '/play/playstation/', 'Raspberry Pi' => '/circuits/raspberry-pi/projects/',
'Pranks and Humor' => '/play/pranks-and-humor/', 'Remote Control' => '/circuits/remote-control/projects/',
'Puzzles' => '/play/puzzles/', 'Reuse' => '/circuits/reuse/projects/',
'Siege Engines' => '/play/siege-engines/', 'Robots' => '/circuits/robots/projects/',
'Sports' => '/play/sports/', 'Sensors' => '/circuits/sensors/projects/',
'Table Top' => '/play/table-top/', 'Software' => '/circuits/software/projects/',
'Toys' => '/play/toys/', 'Soldering' => '/circuits/soldering/projects/',
'Video Games' => '/play/video-games/', 'Speakers' => '/circuits/speakers/projects/',
'Wii' => '/play/wii/', 'Tools' => '/circuits/tools/projects/',
'Xbox' => '/play/xbox/', 'USB' => '/circuits/usb/projects/',
'Yo-Yo' => '/play/yo-yo/', 'Wearables' => '/circuits/wearables/projects/',
), 'Websites' => '/circuits/websites/projects/',
'Craft' => array( 'Wireless' => '/circuits/wireless/projects/',
'All' => '/craft/',
'Art' => '/craft/art/',
'Sewing' => '/craft/sewing/',
'Paper' => '/craft/paper/',
'Jewelry' => '/craft/jewelry/',
'Fashion' => '/craft/fashion/',
'Books & Journals' => '/craft/books-and-journals/',
'Cards' => '/craft/cards/',
'Clay' => '/craft/clay/',
'Duct Tape' => '/craft/duct-tape/',
'Embroidery' => '/craft/embroidery/',
'Felt' => '/craft/felt/',
'Fiber Arts' => '/craft/fiber-arts/',
'Gifts & Wrapping' => '/craft/gifts-and-wrapping/',
'Knitting & Crocheting' => '/craft/knitting-and-crocheting/',
'Leather' => '/craft/leather/',
'Mason Jars' => '/craft/mason-jars/',
'No-Sew' => '/craft/no-sew/',
'Parties & Weddings' => '/craft/parties-and-weddings/',
'Print Making' => '/craft/print-making/',
'Soap' => '/craft/soap/',
'Wallets' => '/craft/wallets/',
),
'Technology' => array(
'All' => '/technology/',
'Electronics' => '/technology/electronics/',
'Arduino' => '/technology/arduino/',
'Photography' => '/technology/photography/',
'Leds' => '/technology/leds/',
'Science' => '/technology/science/',
'Reuse' => '/technology/reuse/',
'Apple' => '/technology/apple/',
'Computers' => '/technology/computers/',
'3D Printing' => '/technology/3D-Printing/',
'Robots' => '/technology/robots/',
'Art' => '/technology/art/',
'Assistive Tech' => '/technology/assistive-technology/',
'Audio' => '/technology/audio/',
'Clocks' => '/technology/clocks/',
'CNC' => '/technology/cnc/',
'Digital Graphics' => '/technology/digital-graphics/',
'Gadgets' => '/technology/gadgets/',
'Kits' => '/technology/kits/',
'Laptops' => '/technology/laptops/',
'Lasers' => '/technology/lasers/',
'Linux' => '/technology/linux/',
'Microcontrollers' => '/technology/microcontrollers/',
'Microsoft' => '/technology/microsoft/',
'Mobile' => '/technology/mobile/',
'Raspberry Pi' => '/technology/raspberry-pi/',
'Remote Control' => '/technology/remote-control/',
'Sensors' => '/technology/sensors/',
'Software' => '/technology/software/',
'Soldering' => '/technology/soldering/',
'Speakers' => '/technology/speakers/',
'Steampunk' => '/technology/steampunk/',
'Tools' => '/technology/tools/',
'USB' => '/technology/usb/',
'Wearables' => '/technology/wearables/',
'Websites' => '/technology/websites/',
'Wireless' => '/technology/wireless/',
), ),
'Workshop' => array( 'Workshop' => array(
'All' => '/workshop/', 'All' => '/workshop/',
'Woodworking' => '/workshop/woodworking/', '3D Printing' => '/workshop/3d-printing/projects/',
'Tools' => '/workshop/tools/', 'Cars' => '/workshop/cars/projects/',
'Gardening' => '/workshop/gardening/', 'CNC' => '/workshop/cnc/projects/',
'Cars' => '/workshop/cars/', 'Electric Vehicles' => '/workshop/electric-vehicles/projects/',
'Metalworking' => '/workshop/metalworking/', 'Energy' => '/workshop/energy/projects/',
'Cardboard' => '/workshop/cardboard/', 'Furniture' => '/workshop/furniture/projects/',
'Electric Vehicles' => '/workshop/electric-vehicles/', 'Home Improvement' => '/workshop/home-improvement/projects/',
'Energy' => '/workshop/energy/', 'Home Theater' => '/workshop/home-theater/projects/',
'Furniture' => '/workshop/furniture/', 'Hydroponics' => '/workshop/hydroponics/projects/',
'Home Improvement' => '/workshop/home-improvement/', 'Knives' => '/workshop/knives/projects/',
'Home Theater' => '/workshop/home-theater/', 'Laser Cutting' => '/workshop/laser-cutting/projects/',
'Hydroponics' => '/workshop/hydroponics/', 'Lighting' => '/workshop/lighting/projects/',
'Laser Cutting' => '/workshop/laser-cutting/', 'Metalworking' => '/workshop/metalworking/projects/',
'Lighting' => '/workshop/lighting/', 'Molds & Casting' => '/workshop/molds-and-casting/projects/',
'Molds & Casting' => '/workshop/molds-and-casting/', 'Motorcycles' => '/workshop/motorcycles/projects/',
'Motorcycles' => '/workshop/motorcycles/', 'Organizing' => '/workshop/organizing/projects/',
'Organizing' => '/workshop/organizing/', 'Pallets' => '/workshop/pallets/projects/',
'Pallets' => '/workshop/pallets/', 'Repair' => '/workshop/repair/projects/',
'Repair' => '/workshop/repair/', 'Science' => '/workshop/science/projects/',
'Shelves' => '/workshop/shelves/', 'Shelves' => '/workshop/shelves/projects/',
'Solar' => '/workshop/solar/', 'Solar' => '/workshop/solar/projects/',
'Workbenches' => '/workshop/workbenches/', 'Tools' => '/workshop/tools/projects/',
'Woodworking' => '/workshop/woodworking/projects/',
'Workbenches' => '/workshop/workbenches/projects/',
), ),
'Home' => array( 'Craft' => array(
'All' => '/home/', 'All' => '/craft/',
'Halloween' => '/home/halloween/', 'Art' => '/craft/art/projects/',
'Decorating' => '/home/decorating/', 'Books & Journals' => '/craft/books-and-journals/projects/',
'Organizing' => '/home/organizing/', 'Cardboard' => '/craft/cardboard/projects/',
'Pets' => '/home/pets/', 'Cards' => '/craft/cards/projects/',
'Life Hacks' => '/home/life-hacks/', 'Clay' => '/craft/clay/projects/',
'Beauty' => '/home/beauty/', 'Costumes & Cosplay' => '/craft/costumes-and-cosplay/projects/',
'Christmas' => '/home/christmas/', 'Digital Graphics' => '/craft/digital-graphics/projects/',
'Cleaning' => '/home/cleaning/', 'Duct Tape' => '/craft/duct-tape/projects/',
'Education' => '/home/education/', 'Embroidery' => '/craft/embroidery/projects/',
'Finances' => '/home/finances/', 'Fashion' => '/craft/fashion/projects/',
'Gardening' => '/home/gardening/', 'Felt' => '/craft/felt/projects/',
'Green' => '/home/green/', 'Fiber Arts' => '/craft/fiber-arts/projects/',
'Health' => '/home/health/', 'Gift Wrapping' => '/craft/gift-wrapping/projects/',
'Hiding Places' => '/home/hiding-places/', 'Jewelry' => '/craft/jewelry/projects/',
'Holidays' => '/home/holidays/', 'Knitting & Crochet' => '/craft/knitting-and-crochet/projects/',
'Homesteading' => '/home/homesteading/', 'Leather' => '/craft/leather/projects/',
'Kids' => '/home/kids/', 'Mason Jars' => '/craft/mason-jars/projects/',
'Kitchen' => '/home/kitchen/', 'No-Sew' => '/craft/no-sew/projects/',
'Life Skills' => '/home/life-skills/', 'Paper' => '/craft/paper/projects/',
'Parenting' => '/home/parenting/', 'Parties & Weddings' => '/craft/parties-and-weddings/projects/',
'Pest Control' => '/home/pest-control/', 'Photography' => '/craft/photography/projects/',
'Relationships' => '/home/relationships/', 'Printmaking' => '/craft/printmaking/projects/',
'Reuse' => '/home/reuse/', 'Reuse' => '/craft/reuse/projects/',
'Travel' => '/home/travel/', 'Sewing' => '/craft/sewing/projects/',
'Soapmaking' => '/craft/soapmaking/projects/',
'Wallets' => '/craft/wallets/projects/',
),
'Cooking' => array(
'All' => '/cooking/',
'Bacon' => '/cooking/bacon/projects/',
'BBQ & Grilling' => '/cooking/bbq-and-grilling/projects/',
'Beverages' => '/cooking/beverages/projects/',
'Bread' => '/cooking/bread/projects/',
'Breakfast' => '/cooking/breakfast/projects/',
'Cake' => '/cooking/cake/projects/',
'Candy' => '/cooking/candy/projects/',
'Canning & Preserving' => '/cooking/canning-and-preserving/projects/',
'Cocktails & Mocktails' => '/cooking/cocktails-and-mocktails/projects/',
'Coffee' => '/cooking/coffee/projects/',
'Cookies' => '/cooking/cookies/projects/',
'Cupcakes' => '/cooking/cupcakes/projects/',
'Dessert' => '/cooking/dessert/projects/',
'Homebrew' => '/cooking/homebrew/projects/',
'Main Course' => '/cooking/main-course/projects/',
'Pasta' => '/cooking/pasta/projects/',
'Pie' => '/cooking/pie/projects/',
'Pizza' => '/cooking/pizza/projects/',
'Salad' => '/cooking/salad/projects/',
'Sandwiches' => '/cooking/sandwiches/projects/',
'Snacks & Appetizers' => '/cooking/snacks-and-appetizers/projects/',
'Soups & Stews' => '/cooking/soups-and-stews/projects/',
'Vegetarian & Vegan' => '/cooking/vegetarian-and-vegan/projects/',
),
'Living' => array(
'All' => '/living/',
'Beauty' => '/living/beauty/projects/',
'Christmas' => '/living/christmas/projects/',
'Cleaning' => '/living/cleaning/projects/',
'Decorating' => '/living/decorating/projects/',
'Education' => '/living/education/projects/',
'Gardening' => '/living/gardening/projects/',
'Halloween' => '/living/halloween/projects/',
'Health' => '/living/health/projects/',
'Hiding Places' => '/living/hiding-places/projects/',
'Holidays' => '/living/holidays/projects/',
'Homesteading' => '/living/homesteading/projects/',
'Kids' => '/living/kids/projects/',
'Kitchen' => '/living/kitchen/projects/',
'LEGO & KNEX' => '/living/lego-and-knex/projects/',
'Life Hacks' => '/living/life-hacks/projects/',
'Music' => '/living/music/projects/',
'Office Supply Hacks' => '/living/office-supply-hacks/projects/',
'Organizing' => '/living/organizing/projects/',
'Pest Control' => '/living/pest-control/projects/',
'Pets' => '/living/pets/projects/',
'Pranks, Tricks, & Humor' => '/living/pranks-tricks-and-humor/projects/',
'Relationships' => '/living/relationships/projects/',
'Toys & Games' => '/living/toys-and-games/projects/',
'Travel' => '/living/travel/projects/',
'Video Games' => '/living/video-games/projects/',
), ),
'Outside' => array( 'Outside' => array(
'All' => '/outside/', 'All' => '/outside/',
'Bikes' => '/outside/bikes/', 'Backyard' => '/outside/backyard/projects/',
'Survival' => '/outside/survival/', 'Beach' => '/outside/beach/projects/',
'Backyard' => '/outside/backyard/', 'Bikes' => '/outside/bikes/projects/',
'Beach' => '/outside/beach/', 'Birding' => '/outside/birding/projects/',
'Birding' => '/outside/birding/', 'Boats' => '/outside/boats/projects/',
'Boats' => '/outside/boats/', 'Camping' => '/outside/camping/projects/',
'Camping' => '/outside/camping/', 'Climbing' => '/outside/climbing/projects/',
'Climbing' => '/outside/climbing/', 'Fire' => '/outside/fire/projects/',
'Fire' => '/outside/fire/', 'Fishing' => '/outside/fishing/projects/',
'Fishing' => '/outside/fishing/', 'Hunting' => '/outside/hunting/projects/',
'Hunting' => '/outside/hunting/', 'Kites' => '/outside/kites/projects/',
'Kites' => '/outside/kites/', 'Knots' => '/outside/knots/projects/',
'Knives' => '/outside/knives/', 'Launchers' => '/outside/launchers/projects/',
'Knots' => '/outside/knots/', 'Paracord' => '/outside/paracord/projects/',
'Paracord' => '/outside/paracord/', 'Rockets' => '/outside/rockets/projects/',
'Rockets' => '/outside/rockets/', 'Siege Engines' => '/outside/siege-engines/projects/',
'Skateboarding' => '/outside/skateboarding/', 'Skateboarding' => '/outside/skateboarding/projects/',
'Snow' => '/outside/snow/', 'Snow' => '/outside/snow/projects/',
'Water' => '/outside/water/', 'Sports' => '/outside/sports/projects/',
'Survival' => '/outside/survival/projects/',
'Water' => '/outside/water/projects/',
), ),
'Food' => array( 'Makeymakey' => array(
'All' => '/food/', 'All' => '/makeymakey/',
'Dessert' => '/food/dessert/', 'Makey Makey on Instructables' => '/makeymakey/',
'Snacks & Appetizers' => '/food/snacks-and-appetizers/', ),
'Bacon' => '/food/bacon/', 'Teachers' => array(
'BBQ & Grilling' => '/food/bbq-and-grilling/', 'All' => '/teachers/',
'Beverages' => '/food/beverages/', 'ELA' => '/teachers/ela/projects/',
'Bread' => '/food/bread/', 'Math' => '/teachers/math/projects/',
'Breakfast' => '/food/breakfast/', 'Science' => '/teachers/science/projects/',
'Cake' => '/food/cake/', 'Social Studies' => '/teachers/social-studies/projects/',
'Candy' => '/food/candy/', 'Engineering' => '/teachers/engineering/projects/',
'Canning & Preserves' => '/food/canning-and-preserves/', 'Coding' => '/teachers/coding/projects/',
'Cocktails & Mocktails' => '/food/cocktails-and-mocktails/', 'Electronics' => '/teachers/electronics/projects/',
'Coffee' => '/food/coffee/', 'Robotics' => '/teachers/robotics/projects/',
'Cookies' => '/food/cookies/', 'Arduino' => '/teachers/arduino/projects/',
'Cupcakes' => '/food/cupcakes/', 'CNC' => '/teachers/cnc/projects/',
'Homebrew' => '/food/homebrew/', 'Laser Cutting' => '/teachers/laser-cutting/projects/',
'Main Course' => '/food/main-course/', '3D Printing' => '/teachers/3d-printing/projects/',
'Pasta' => '/food/pasta/', '3D Design' => '/teachers/3d-design/projects/',
'Pie' => '/food/pie/', 'Art' => '/teachers/art/projects/',
'Pizza' => '/food/pizza/', 'Music' => '/teachers/music/projects/',
'Salad' => '/food/salad/', 'Theatre' => '/teachers/theatre/projects/',
'Sandwiches' => '/food/sandwiches/', 'Wood Shop' => '/teachers/wood-shop/projects/',
'Soups & Stews' => '/food/soups-and-stews/', 'Metal Shop' => '/teachers/metal-shop/projects/',
'Vegetarian & Vegan' => '/food/vegetarian-and-vegan/', 'Resources' => '/teachers/resources/projects/',
), ),
'Costumes' => array(
'All' => '/costumes/',
'Props' => '/costumes/props-and-accessories/',
'Animals' => '/costumes/animals/',
'Comics' => '/costumes/comics/',
'Fantasy' => '/costumes/fantasy/',
'For Kids' => '/costumes/for-kids/',
'For Pets' => '/costumes/for-pets/',
'Funny' => '/costumes/funny/',
'Games' => '/costumes/games/',
'Historic & Futuristic' => '/costumes/historic-and-futuristic/',
'Makeup' => '/costumes/makeup/',
'Masks' => '/costumes/masks/',
'Scary' => '/costumes/scary/',
'TV & Movies' => '/costumes/tv-and-movies/',
'Weapons & Armor' => '/costumes/weapons-and-armor/',
)
), ),
'title' => 'Select your category (required)', 'title' => 'Select your category (required)',
'defaultValue' => 'Technology' 'defaultValue' => 'Technology'