
![]() |
![]() |
![]() |
|
|||||||
![]() |
![]() |
|
Welcome to Talk Arcades, the premier forum for arcade webmasters. You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and talk advantage of the GameFeed™ Distribution Network for 1-click installation of games into your arcade. Registration is easy, so please join us today! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Legendary Member
|
Hello,
is there an way to add all mochiad games to GSS 4.0? With the plugin i need to open each game and click add. If i want to add all games, i need a few days :-( Any Solutions?
__________________
Buy Cheap Arcade Traffic |
|
|
|
![]() |
![]() |
|
|
#2 (permalink) |
|
Senior Member
Join Date: Mar 2009
Posts: 222
![]() |
I'm not sure how to do it with GSS specifically, but the concept isn't too hard. Mochiads will give you an XML or a JSON feed of the games. Its not too much work to write a php script that'll retrieve that feed, parse it, loop through a game at a time and download the thumbnail, swf file, and insert the metadata into the db. You'll need a little php and sql experience to be able to do it. You may even be able to look at the script GSS uses to load a game and copy most of it, passing in just the pieces it needs from the feed for each single game. It may take you a few hours to program it, but better than doing it one at a time.
__________________
Play Free Games | Free Games Lounge | Racing Games Get 10,000 Free Impressions at the Arcade Traffic Exchange! Join Today! |
|
|
|
![]() |
![]() |
|
|
#3 (permalink) |
|
Senior Member
Join Date: Mar 2009
Posts: 222
![]() |
Here ya go, hopefully this may help get ya started. I whipped up some of the php code to take the featured games JSON feed, and parse it looping through each game. All you'll need to do is take the things I parsed out and actually download the game, and insert it into your DB. Replace the MOCHI_PUB_ID with your mochi publisher ID. Hopefully you can pick apart your GSS and find the section where it can load a single game and copy that code or call a function it in. This'll at least get you going looping through the JSON feed specifics though.
Code:
__________________
Play Free Games | Free Games Lounge | Racing Games Get 10,000 Free Impressions at the Arcade Traffic Exchange! Join Today! |
|
|
|
![]() |
![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Places to submit games | webbom | Marketing | 12 | 03-30-2010 08:57 PM |
| Arcade Script Reviews | arcadillo | Scripts & Software | 10 | 03-30-2010 03:34 PM |
| Equal treatment Permanent, hard coded, nothing hidden, deep link category to category | ArcadeSiteBuilder | Link Exchanges | 6 | 04-25-2009 10:49 AM |
| DRESSSSSSS UP Time... 4 games | Koalafun | New Game Spotlight | 2 | 06-24-2008 10:56 AM |
| Have an Arcade? Need Games? 2229 Games Inside!!! | admin | The Bazaar | 3 | 09-15-2006 09:30 AM |