tag:blogger.com,1999:blog-3217705202527179342.post9131921025017738334..comments2023-03-27T11:07:21.327-04:00Comments on Li's BLOG: Pidgin log file to Adium log converterLi Mahttp://www.blogger.com/profile/06928876072731845880noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-3217705202527179342.post-22867495880142667022014-08-03T17:51:26.726-04:002014-08-03T17:51:26.726-04:00Pidgin2adium is on GitHub now: https://github.com/...Pidgin2adium is on GitHub now: https://github.com/gabebw/pidgin2adiumGabehttp://gabebw.com/noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-11850944724220287592014-08-03T10:15:22.192-04:002014-08-03T10:15:22.192-04:00rubyforge is down now, was the project migrated so...rubyforge is down now, was the project migrated somewhere?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-89939103609263535832012-04-24T10:18:38.340-04:002012-04-24T10:18:38.340-04:00excellent script!! just what i needed as i wanted...excellent script!! just what i needed as i wanted to save my chat history from pidgin days now to adium on my new mac. thanks very much worked excellent.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-85787961203347623952011-12-26T07:00:03.215-05:002011-12-26T07:00:03.215-05:00Thanks for sharing your info. I really appreciate ...Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.SEO toolshttp://seotoolster.com/seotoolsternoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-46354070603261183762011-06-27T13:48:31.692-04:002011-06-27T13:48:31.692-04:00Wow! I'm pretty sure that this caught up plent...Wow! I'm pretty sure that this caught up plenty of people's attention, Thumbs up for your work and Good writing skills!<br /><br />i am jayne and i am a freelance writer..<br />see my related post here ------> <a href="http://www.suitusa.com/tools.aspx?id=94" rel="nofollow">Men Suit</a>stephsnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-15704875333672528632011-03-16T09:10:17.772-04:002011-03-16T09:10:17.772-04:00I used paCkeT's mods and added the date_defaul...I used paCkeT's mods and added the date_default_timezone_set() function to the top of the script. I used PHP 5.3.2 from the command line.niznoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-78043644682276044612011-01-02T19:47:31.637-05:002011-01-02T19:47:31.637-05:00make sure the folder you are writing to is writeab...make sure the folder you are writing to is writeable. For example when logged in as root user:<br /><br />chmod 774 [Path to Folder Name]<br /><br />should make it writeable by you and anyone who belongs to your group.<br /><br />Similarly make sure your php script is executable:<br /><br />chmod 664 [Path to Script name]<br /><br />Both the above commands to be executed via the terminal Application.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-51901686151006514362011-01-02T15:11:50.614-05:002011-01-02T15:11:50.614-05:00ok.. When I say that I am a beginner I am even too...ok.. When I say that I am a beginner I am even too optimistic..<br /><br />I still miss or misunderstand some steps.. Here's what I did: I created a document called "adium_convert.php" with the code inside. And I wrote in the terminal "...path../adium_convert.php"<br />But the answer is "permission denied", even if I write the command as "root".<br /><br />In automator, the command seems to be completed, but nothing appears in the folder that I created to host the new logs. Maybe I wrote something wrong in the "$masterAlias=array"... <br />I think I'm stuck in a basic and stupid mistake..<br /><br />Excuse me for my insistence (and for my bad english), tell me if I bother you too much I just quit trying..<br /><br />Andreapilorohttps://www.blogger.com/profile/10534611673392836944noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-79122510302269554202011-01-01T22:35:20.971-05:002011-01-01T22:35:20.971-05:00piloro, execute the script via the "Terminal....piloro, execute the script via the "Terminal.app" ApplicationAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-90714248601930051082011-01-01T15:27:19.464-05:002011-01-01T15:27:19.464-05:00excuse me, be patient.. I think I'm a bit hard...excuse me, be patient.. I think I'm a bit hard in understanding...<br />I miss the passage "then run:<br />php adium_convert.php"..<br /><br />Here's what i did: i copied the script, whit the changes for my folders path, in Automator, and I run it. The process seems to be successfully completed, but nothing appears in the destination folder...<br /><br />I probably miss something basic...<br />Happy new year to you too!pilorohttps://www.blogger.com/profile/10534611673392836944noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-3663101350283815062011-01-01T11:54:14.889-05:002011-01-01T11:54:14.889-05:00piloro,
Simply make changes in the code to reflec...piloro,<br /><br />Simply make changes in the code to reflect your folder structure, then run:<br />php adium_convert.php<br /><br />Of course, please first make sure you get PHP installed.<br /><br />Good luck and Happy New Year!<br /><br />LiLi Mahttps://www.blogger.com/profile/06928876072731845880noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-40440254893325549092011-01-01T11:19:20.919-05:002011-01-01T11:19:20.919-05:00excuse me for the maybe stupid question but.. I...excuse me for the maybe stupid question but.. I'm a very beginner..<br />How do I run this script in my mac?pilorohttps://www.blogger.com/profile/10534611673392836944noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-51913118543383244532010-06-26T19:29:28.014-04:002010-06-26T19:29:28.014-04:00Thanks very much for this script, converted my log...Thanks very much for this script, converted my logs perfectly! Having come over to the Mac from Linux a few days ago, I already feel right at home.<br /><br />Feel it's worth mentioning in case anyone else has this problem; the script initially did not work for me (got an exception to do with the timezone) until I put "date_default_timezone_set('Europe/London');" at the top of the file after googling around (php is pretty foreign to me, I mainly use BASH and Obj-C)<br /><br />Might just be a strange quirk of my system and / or log files though :P<br /><br />Thanks again! :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-49960397927167411322010-04-24T12:29:17.016-04:002010-04-24T12:29:17.016-04:00Packet, though it let it run, there was a whole sl...Packet, though it let it run, there was a whole slew of errors that I'm not going to bother with. I was looking through many of the logs and they are either one-liners or stuff that I don't need. I think since I'm not using Pidgin anymore, I'm just going to archive the useful ones away. Thanks for your help - it's amazing how a semicolon can screw the whole thing up.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-85498599131780816192010-04-24T09:53:25.330-04:002010-04-24T09:53:25.330-04:00you are missing a semi-colon on the second line. I...you are missing a semi-colon on the second line. It should be:<br /><br />$srcDir="/Users/Mike/pidgin/";jefferyhttps://www.blogger.com/profile/09955588352310004037noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-18335009106684171702010-04-22T20:41:43.804-04:002010-04-22T20:41:43.804-04:00Packet, try this: http://pastebin.com/embed_js.php...Packet, try this: http://pastebin.com/embed_js.php?i=nbuLkddCAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-816611187341575692010-04-22T20:34:57.000-04:002010-04-22T20:34:57.000-04:00put the code on pastebin.comput the code on pastebin.comjefferyhttps://www.blogger.com/profile/09955588352310004037noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-44703983181708743922010-04-22T20:18:44.552-04:002010-04-22T20:18:44.552-04:00Packet - I don't know where I can leave you a ...Packet - I don't know where I can leave you a long comment. What's your email address, I'll email you the code that I used.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-31443524554294023162010-04-22T07:54:52.741-04:002010-04-22T07:54:52.741-04:00that error is a parse error. Paste your code somew...that error is a parse error. Paste your code somewhere and I can tell you what is wrong.jefferyhttps://www.blogger.com/profile/09955588352310004037noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-84076684949844046642010-04-22T07:50:38.340-04:002010-04-22T07:50:38.340-04:00I tried to run it after modifying the variables fo...I tried to run it after modifying the variables for Source and Destination and I got: <br /><br />Parse error: syntax error, unexpected T_VARIABLE in /Users/Mike/adium_convert.php on line 3Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-57830605853639146792009-10-11T08:38:36.355-04:002009-10-11T08:38:36.355-04:00I want something to do the reverse, convert Adium ...I want something to do the reverse, convert Adium logs to gaim.<br />Does anybody know of any tool for this?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-2093621303094806322009-06-05T14:07:42.290-04:002009-06-05T14:07:42.290-04:00Li,
Thank you. The project is at http://rubyforge....Li,<br />Thank you. The project is at <a href="http://rubyforge.org/projects/pidgin2adium/" rel="nofollow">http://rubyforge.org/projects/pidgin2adium/</a>Gabe!https://www.blogger.com/profile/11994098007947693672noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-19499111869005359152009-06-04T22:17:05.643-04:002009-06-04T22:17:05.643-04:00Gabe,
Yes, any improvement is more than welcome! ...Gabe,<br /><br />Yes, any improvement is more than welcome! So feel free to post your code.<br /><br />Actually since I posted this code, I never had time to refine it further. <br /><br />If you or anyone could make a better script or even a GUI that can make the conversion even smoother, I would be very very happy to see.<br /><br />Cheers!Li Mahttps://www.blogger.com/profile/06928876072731845880noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-6977977604695656502009-06-04T21:12:05.763-04:002009-06-04T21:12:05.763-04:00Hi Li,
I'm planning to create a Ruby gem to al...Hi Li,<br />I'm planning to create a Ruby gem to allow for wide distribution of my version of this program, but I'd like to see how you feel since it is originally based strongly on your program. This post appears to be the best (only) way for me to contact you about this.<br />Thanks,<br />GabeGabe!https://www.blogger.com/profile/11994098007947693672noreply@blogger.comtag:blogger.com,1999:blog-3217705202527179342.post-11433649421852135912009-05-11T23:04:00.000-04:002009-05-11T23:04:00.000-04:00Thanks. I'd send it, but your email address isn't ...Thanks. I'd send it, but your email address isn't anywhere on your site. ;)<br /><br />I think it's an issue with the regex on line 170 of paCkeT's version, and may have to do with my date format.<br /><br />If you want a copy of the HTML, go to the website listed in my Blogger profile; my contact info is there.<br /><br />Thanks!Noahhttps://www.blogger.com/profile/09283613682013060161noreply@blogger.com