Ming the Mechanic:
Moblog

The NewsLog of Flemming Funch
 Moblog2004-02-28 17:10
15 comments
by Flemming Funch

Alright, so having a mobile phone with a camera I of course need to have a moblog. "Moblog" is an even worse word than "Blog", but that's somehow what it got to be called. It is essentially that you can make a posting on your blog while on the go, from a phone or PDA. Typically it is done by having the latest picture in a sidebar, which then links to the gallery of past pictures. So it becomes sort of a different track, with smaller snapshots of things one is doing, without having to be able to say something clever about it.

I had in mind programming it myself, so that it could be integrated with my NewsLog blogging program. So, the first thing needed was a gallery. And there's of course no reason one should only be able to post to it with a phone, so I made it so one can upload from a normal file too, or grab a picture from a URL. And so one can edit the titles, delete mistaken pictures and stuff like that.

OK, then the aspect of how we get from my phone to a file on the server, if I go that way. I could make my own approach, but I glanced at other people's suggestions to see what might be the best practices. Like this how-to guide by David Davies.

So, I set up a separate e-mail account for the purpose. No problem to send a picture from the phone to an e-mail address. Then I'll put a password in the subject line, which will ensure that no random spam gets posted. And I'll put some descriptive text in the message itself.

Now, picking up e-mail from a pop account, and finding an attached picture, is not quite as trivial a programming task as it might look like. It is no wonder that most e-mail programs do something different and often screw up each other's messages. The standards are rather complicated, and everybody doesn't keep them. So this part took the longest time. I used PHP's built-in IMAP functions, which is based on a common IMAP library. Which exposes a lot of the dirty detail, rather than just doing the job for me, like handing me the attachment no matter where it was hiding. For starters, I made it so that it at least picks up the text and attachments the way my phone sends it. Which happened to be two different ways depending on whether it was a photo or a drawing. Next I'll try sending pictures from my normal e-mail programs and debug what goes wrong with that. Anyway, I made the program pick up mail once per hour, as the mail pickup is rather slow, and I don't want to overload anything if there ends up being many of these accounts.

You can see the current result in my right sidebar. Just a few pictures so far, but you get the point.

And for you other guys who use my NewsLog program, I need to work out a few more details, then this functionality will be available for you too. I.e. you can have a picture gallery, and optionally post to it via e-mail. Only hurdle for that part might be to acquire an extra e-mail account for the purpose.


[< Back] [Ming the Mechanic]

Category:  

15 comments

28 Feb 2004 @ 17:31 by bushman : :}
Can't wait, lol, :}  


29 Apr 2016 @ 05:16 by Bertie @188.143.232.32 : NRjMinJHCDP
I hate my life but at least this makes it beraable.  


22 May 2016 @ 15:33 by Kris @188.143.232.32 : mKXwLAmdVpd
few factors http://onestopcarinsuranceshop.com/ compare people where http://bestinsurancespy.com/ qualified service expenses http://moreinsurers.com/ any driver  


26 May 2016 @ 01:31 by Roseanna @188.143.232.32 : nWfKhKynWjDD
replacement http://carinsurancelit.top radiofrequency ablation report such http://carinsurancebrakethrough.com repairs being involved http://autoinsurancemaw.info member identification number http://gotcargotinsurance.com insurance provided http://safeinauto.com vehicles sure http://onestopfreequotes.com/ fortune yield  


27 Jun 2016 @ 04:47 by Judith @188.143.232.32 : JdkjKpYBmjqZ
http://peoria-cadets.com/schrader-and-murphy-insurance.html http://farnaznylander.com/cheap-online-travel-insurance-nz.html  


5 Oct 2016 @ 11:25 by mobogenie pc @117.207.103.144 : ecz
hi http://www.mobogenieforpcc.com
good http://www.snapchatforpcdownload.com
post http://www.ucbrowserforpcc.com
snapchat windows http://www.snapchatforpcdownload.com/2016/06/snapchat-pc-free-download-windows-xp788-110/
snapchat for linux http://www.snapchatforpcdownload.com/2016/06/snapchat-for-linux-free-download/
snapchatdownload http://www.snapchatforpcdownload.com/2016/06/snapchat-download/
snapchat app http://www.snapchatforpcdownload.com/2016/06/snapchat-app-free-download/
mac http://www.snapchatforpcdownload.com/2016/06/snapchat-for-mac-pc-free-download/
ios http://www.snapchatforpcdownload.com/2016/06/snapchat-app-for-ios-free-download/
android http://www.snapchatforpcdownload.com/2016/06/snapchat-for-android-free-download/
windows http://www.mobogenieforpcc.com/2016/06/mobogenie-for-pc-windows-xp788-110-html/
app http://www.mobogenieforpcc.com/2016/06/mobogenie-app-free-download/
ios http://www.mobogenieforpcc.com/2016/06/mobogenie-for-ios-free-download/
android http://www.mobogenieforpcc.com/2016/06/mobogenie-for-android-free-download/
windows http://www.ucbrowserforpcc.com/2016/06/uc-browser-for-pc-free-download-windows-xp-7-8-10/
ios http://www.ucbrowserforpcc.com/2016/06/uc-browser-for-ios-free-download/
mac http://www.ucbrowserforpcc.com/2016/06/uc-browser-for-mac-pc-free-download/
android phone http://www.ucbrowserforpcc.com/2015/12/uc-browser-apk-for-android-phone-free-download/
windows phone http://www.ucbrowserforpcc.com/2015/12/uc-browser-for-windows-phone-free-download/  



5 Oct 2016 @ 19:22 by Deon @188.143.232.32 : BFckktJoRYKVNLQdG
http://winhawaii.org/windshield-replacement-florida.html  


10 Oct 2016 @ 14:52 by xender for pc @59.93.11.130 : xender
http://www.xenderforpcapp.com  


17 Oct 2016 @ 21:33 by trio4d @103.12.162.3 : togel online hongkong
was very helpful and very useful
articles that you provide very helpful and nice to everyone thanks
promo
http://trio4d.com/promo-bagi-player-trio4d.html
daftar
http://trio4d.com/daftar-member.html
cara
http://trio4d.com/cara-bermain-togel.html
informasi
http://trio4d.com/informasi-pasaran.html
Buku mimpi
http://trio4d.com/buku-mimpi.html  



2 Nov 2016 @ 17:36 by trio4d @42.115.36.208 : togel online terpercaya
was very helpful and very useful
articles that you provide very helpful and nice to everyone thanks
promo
http://trio4d.com/promo-bagi-player-trio4d.html
daftar
http://trio4d.com/daftar-member.html
cara
http://trio4d.com/cara-bermain-togel.html
informasi
http://trio4d.com/informasi-pasaran.html
Buku mimpi
http://trio4d.com/buku-mimpi.html  



8 Nov 2016 @ 06:15 by Star @188.143.232.32 : XlAWWvmHYeNeNrGzxg
http://neplusultrasalon.com/insurance-companies-boston.html  


1 Dec 2016 @ 11:27 by Christina @188.143.232.32 : XvPFjgOrBjAVwMjeFFxl
http://versicherungsvergleichde.pw/continental-kfz-versicherung-x6.html http://besteonlinekredit.top/deutsch-bank-kleinkredit-geld-zurück.html http://bestekreditevergleich.top/autokredit-privat-kredit-ändern.html http://bestekreditevergleich.info/kredit-test-geld-xbox.html http://besterkreditvergleich.pw/sofortkredit-ohne-schufa-5000-euro-investieren.html  


24 Dec 2016 @ 15:10 by Flora @188.143.232.32 : GpjHiifnoOcQE
http://allebestekredite.info/vergleich-dispositionskredit-zinsen.html  


26 Dec 2016 @ 23:53 by Randhil @188.143.232.32 : PzwCQDApzMKRTGwi
http://einfacherkreditvergleich.info/billige-kredit-yamaha.html http://erfolgreichekreditsuche.info/kredit-beantragen-arbeitslos.html  


16 Jan 2017 @ 15:14 by Denim @188.143.232.32 : ejEFQRTSNZsBwTpkkSkK
http://carinsuranceratescto.info/NV/Carson-City/cheap-SR22-insurance/  


Your Name:
Your URL: (or email)
Subject:       
Comment:
For verification, please type the word you see on the left:


Other stories in
2012-05-03 00:04: An evolving path
2012-01-02 13:52: 2011 Accomplishments and 2012 Aims
2011-11-17 02:20: Your inner piece
2011-02-01 00:05: Slow Mo Flow
2011-01-22 18:40: Recognition
2010-08-23 00:36: Where's Ming?
2010-07-20 14:24: Getting other people to do stuff
2010-06-22 00:27: Inventory
2010-06-19 23:10: Conversations
2009-10-28 12:31: Then a miracle occurs



[< Back] [Ming the Mechanic] [PermaLink]? 


Link to this article as: http://ming.tv/flemming2.php/__show_article/_a000010-001133.htm
Main Page: ming.tv