EdgarsK Posted February 10, 2010 Report Share Posted February 10, 2010 Sveiki, man te pāris dienas atpakaļ viens cilvēks pasūtija zip.lv jaunāko sludinājumu importētāju. Tā kā responsa nebija un nēesmu nekāds nazis kurš turēs puru azote.. šeku reku :) index.php http://paste.php.lv/6ce24b450d1fc160af38747238d6ef5e?lang=php import.php http://paste.php.lv/b351d2997ee570b790b62264fec96ec7?lang=php database http://paste.php.lv/ade65a427f18eeabb8e8cd893055d9d1 Have Fun ;) Quote Link to comment Share on other sites More sharing options...
waplet Posted February 10, 2010 Report Share Posted February 10, 2010 He hē.. gan jau kādam noderēs. + tu vienmēr liec darbus, par kuriem tev samaksā? :D Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted February 10, 2010 Author Report Share Posted February 10, 2010 :) nu ja nesamaksa tad ielieku ;) ta ka neka nesamaksaja tad arii lai jums tiek ;) Quote Link to comment Share on other sites More sharing options...
briedis Posted February 10, 2010 Report Share Posted February 10, 2010 He hē.. gan jau kādam noderēs. + tu vienmēr liec darbus, par kuriem tev samaksā? :D Tā kā responsa nebija Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted February 10, 2010 Author Report Share Posted February 10, 2010 (edited) paldies briedi ;) Tā kā responsa nebija un nēesmu nekāds nazis kurš turēs puru azote.. Neturi zināšanas zem pūra! Edited February 10, 2010 by EdgarsA Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted February 10, 2010 Report Share Posted February 10, 2010 man te pāris dienas atpakaļ viens cilvēks pasūtija zip.lv jaunāko sludinājumu importētāju. Paris dienas? ( tas ir cik 2-3 ???) Un vai vispar kautko jataisa ja nav iemaksata drosiibas nauda? -- Bet tas nu taa... sobrid cilveks dabuus savu darbu par briivu --> pat nekaadi nesanaks vinju 'sodiit'.. Un ja nu vienkarshi kada aizkavesanas ar responsi ?? Quote Link to comment Share on other sites More sharing options...
marrtins Posted February 10, 2010 Report Share Posted February 10, 2010 (edited) Eku ss.lv kategoriju grābeklis: 0) mkdir /path/to/ss.lv && cd /path/to/ss.lv 1) wget -A "index*" -e robots=off --background --recursive --no-parent --convert-links --force-directories http://www.ss.lv/en/ 2) grabeklis.php <?php error_reporting(E_ALL); ini_set("max_execution_time", 0); ini_set("memory_limit", -1); require_once("SSGraber.lib.php"); $ROOT = "/path/to/ss.lv/www.ss.lv/en"; $gr = new SSGraber(); $gr->setRoot($ROOT); $sql = $gr->grab(); print join($sql, "\n"); 3) SSGraber.lib.php Vasarā darbojās, vajadzēja tikai eng sadaļu. Vispirms ar wget (ir arī win32 versija) "nokešo" uz diska. Palaižams no konsoles, izvada SQL. /path/to/php grabeklis.php > ss.lv.sql Principā, nevajadzētu būt grūti pārtaisīt, lai grābekļo arī jaunākos sludinājumus. Edited February 10, 2010 by marrtins Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted February 10, 2010 Author Report Share Posted February 10, 2010 Paris dienas? ( tas ir cik 2-3 ???) Un vai vispar kautko jataisa ja nav iemaksata drosiibas nauda? Cilveks kam taisiju :) ir ok, taka ja dabus pa brivu nav problemu :) liela mera kodeju savam priekam, kaut arii visiem saku lai maksa ;) tadi laiki. Tachu ka jau teicu nesmu nazis, ja ir kods kursh var noderet kadam citam vairak ka man pasam, kaut arii pats esmu ta autors. Kur ir problema? php.lv ir domats tiesi sadam situacijam. Quote Link to comment Share on other sites More sharing options...
2easy Posted February 10, 2010 Report Share Posted February 10, 2010 dots devējam atdodas ;) Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted February 10, 2010 Author Report Share Posted February 10, 2010 kaņešna :D Quote Link to comment Share on other sites More sharing options...
foxsk8 Posted February 11, 2010 Report Share Posted February 11, 2010 SS.lv strādā, spec bija veidots priekš manām vajadzībām. Quote Link to comment Share on other sites More sharing options...
EdgarsK Posted February 11, 2010 Author Report Share Posted February 11, 2010 nu jam. katra gadijuma ceru ka noderes jums gan shis Ss.lv gan Zip.lv grabeklis. :) Quote Link to comment Share on other sites More sharing options...
Uldis Posted July 27, 2010 Report Share Posted July 27, 2010 kāds no šiem noteikti noderēs. Tnx :) Quote Link to comment Share on other sites More sharing options...
Uldis Posted July 27, 2010 Report Share Posted July 27, 2010 Mēģinu mainīt kategorijas, bet kaut kas nesanāk. Piem.,http://www.zip.lv/lv/search/a0544b7dfebfeccc03f25be3bf3cbd86/ vai pie vainas tabulu strukturālās atšķirības? Quote Link to comment Share on other sites More sharing options...
kalabox Posted July 26, 2011 Report Share Posted July 26, 2011 ir iespējams arī IMG izvilkt? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.