Operating mode1. Load config.js (cfg.js for GoTube) We define all init variable in this file (the siteListe array) 2. Load all files in the "system/site" folder ("site" for GoTube) Theoretically each file puch his created site object in the siteList 3. Load "system/site_man.js" ("site.js" for GoTube) Here we can add the 3 CallGates and some final function used before the first CallGate_GetSiteLis(). 4. CallGate_GetSiteList() PSPtube call this function who must return him the list of all the site object (remember ? the siteListe array ?) 5. CallGate_SearchSite(keyword,page) Called when you start a search on a site, it will load the site.Search function, give it the keywords and the page, and wait for a result object in answer 6. CallGate_VideoURLResolver(url) Called when you click on a result. The video.URL string will be executed (eval) and must finaly return the URL of the flv Updating mode1. Load local file "PSP/GAME/GoTube/site" That why you can't change Gotube's directory 2. Get the Repository list get from a list of GoTube's repository, if you want add your repository to the list contact me moc.liamg@ettevercalaettocsib or send me a PM on PSPgen/mfor. Each dev can register up to 2 repository for exemple :alpha/and/release, or safe/and/NSFW etc... 3. Load online file from Repository GoTube load the repository page, supported page are code.google SVN,apache directory listing, and maybe other primary directory listing 4. Save .js file Use a generated XPD file to download .js file in the "PSP/GAME/GoTube/site" folder (the bold part is non-modifiable). that why GoTube dosen't support the GameCategorie plugin. |