06.06.2007, 08:35: Breaking News… Rataplan The SourceForge Project is up and running. At least I managed to get the Wordpress-Lifeblog-Integrationscript up there. Fast forward.
Documentation is (as always) not yet available so please use the following lines to get it work.
An verschiedenen Orten wurde ja schon an einem Skript zur Integration des Nokia Lifeblog Protokolls in Wordpress gebastelt.
Ich hab mich auch daran versucht, weil das Skript nicht mit meiner Lifeblog Version 2.1 funktioniert hat.
Am Anfang des Skripts sollten ein paar Einstellungen gesetzt werden. Dann das Skript ins Wordpress-Verzeichnis (auf die selbe Ebene wie wp-config.php usw) und den Ordner (Name in lifeblog.php konfigurierbar) für die Inhalte (Fotos, SMS) erstellen und für das Skript schreibbar machen.
Dann die URL des lifeblog.php Skript in Lifeblog hinterlegen und los gehts. Vorrausgesetzt, du hast PHP ab Version 5 installiert.
Short desription in English:
The skript I publish here is 90% work of Sebastian Herp and Sebastian Telschow and only 10% of me.
I ran into difficulties with their version of the script publishing from Nokia Lifeblog Version 2.1 to Wordpress 2.0.5 which I tried to solve.
Change some of the configuration at the head of the script and then put it in your Wordpress directory (on the same level as wp-config.php). You also have to create the upload folder configured in the script. Don’t forget to make writable.
Then configure Lifeblog to use URL to lifeblog.php and start posting.
Download lifeblog.php
Published under GNU Lesser General Public License
In case the script doesn’t work, please open it in any webbrowser. If an error message like
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /var/www/blablabla/htdocs/wordpress/lifeblog.php on line 140
comes up, you are not using PHP5 which is required for the XML-DOM functionality used.
Update: Comments are closed now, please use the SF Bugtracking.


Hi,
I have WordPress 2.0.6 and Nokia Lifeblog 2.1.131 installed.
The root directory of my blog is: http://www.tommi.fi. Also modified lifeblog.php file exists in that directory.
I’m not able to connect my blog by phone where Lifeblog application is also installed.
I have tried to define two separated URLs to my blog in Lifeblog application:
1) http://www.tommi.fi
2) http://www.tommi.fi/lifeblog.php
I have also defined my WordPress account name and password to lifeblog.php file and Lifeblog application in phone and Windows based application as well.
Both cases do not work. Not able to login to blog by phone nor Windows based Lifeblog application.
Can you help me?
Hi Tommi,
first of all, the second URL is the right one for your Lifeblog application. Do your get any error message or some kind of response from the script? Please have a look at the log file which is written to the dedicated lifeblog upload folder on your server (default is “wp-lifeblog”). The filename is lifebloglog.txt.
I hope you can get a hint out of the log.
Hi Christian,
Thanks for your quick reply.
The problem is that there isn’t any log file available in my wp-lifeblog directory.
Please find a copy-paste from ‘lifeblog.php’ file.
–
$passwordlist['admin'] = ‘ admin’s password here ‘;
$passwordlist['Tommi'] = ‘ Tommi’s password here ‘;
$lifeblog_category = “Lifeblog”;
$lifeblog_imagewidth = 400;
$lifeblog_uploadfolder =”wp-content/uploads/wp-lifeblog/”;
$lifeblog_footer =”Lifeblog”;
–
double-checked that upload folder really exits and chmod 755 done.
Check this as well: http://www.tommi.fi/lifeblog.php
Gives an error:
–
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /www/asiakkaat/tommi/public_html/tommi_fi/lifeblog.php on line 141
–
Ok, we found that the problem was due to the PHP version. The used DOM functionality requires PHP5.
Thanks for making me aware of this.
Is it so that this only works with Nokia Lifeblog version 2.x? No older versions supported?
It would be awesome to get this work with older versions than 2.x.
Well, I developed and tested the script with my version of Lifeblog which is 2.1. Unfortunately, Nokia had some changes in their protocol recently and I don’t have any other Lifeblog Application to develop against. And not that much time
But maybe anyone else has some PHP knowledge and can do this. Sorry I can’t help you much.
[...] dank aan: Christian Filed under: Tech [...]
Hey,
I just thought put it on my blow maybe other people in the netherlands can try it out! It works great (with a few adjustments) But thanks for the great script!
Greetings Michel
ps Dutch and German look very much alike!
[...] SuppenGabel [...]
Hi,
Maybe I am doing something wrong, but i keep getting an error saying there was a problem registering account… I have entered username and password correctly as in posts above. Any ideas, suggestions or solutions would be greatly appreciated!
Thanks
Chris
Hi Chris.
As far as I can quickly see, the lifeblog.php-Script doesn’t generate any error message related to registering an account.
If you provide the wrong credentials in your Lifeblog application (wrong means “not the one you defined in the lifeblog.php script”) the error message in the log should be something like “login error: user unauthorised”
Could you please post the relevant parts of your lifeblog-logfile at the server side, lying in the folder you specified in $lifeblog_uploadfolder and named lifebloglog.txt
Thanks for your feedback,
Christian
Hi Christian,
I have created the Lifeblog folder in the root of my wordpress folder, i have also set permissions to 777 yet i don;t seem to get any log file….
Any ideas?
Thanks
I do get this though in error_log.txt
[15-Apr-2007 15:18:28] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/zerthrze/public_html/blog/lifeblog.php on line 140
Which PHP version do you use? The used DOM functionality requires PHP5.
Good point..
Will check
Thanks
It’s php 4.4.6…..
Hi Chris,
leider scheint das Skript mit der aktuellen Version von Lifeblog und Wordpress (bei mir 2.1.2) nicht zu funktionieren. Die PC-Applikation meldet nur “Fehler bei der Übertragung ins Web”, auf dem Handy kommt eine Fehlermeldung bezüglich falschem Blog-Inhalt. Zweiteres prüfe ich aber gerade noch nach. Ich nutze ein N95. Wenn ich per Browser auf das Skript zugreife kommt folgende Meldung:
“Parse error: parse error, unexpected T_OBJECT_OPERATOR in /homepages/1/d88939558/htdocs/dada/wordpress/lifeblog.php on line 140″
Hast Du Rat? Wenn du das Skript aktualisieren könntest wäre das *top*
Ich kenn mich leider nicht genug mit php aus…
Grüße,
Nik
Ja bitte auf WP 2.1 updaten. Ich hätts ja selbst probiert, aber soweit hab ichs nicht mit PHP. Bitte, bitte!!
Hi,
When I try to use Lifeblog on my N95 (combined with this script and WP 2.1 on my webserver), I get the following message my phone: “No blogs found for any account.”
Any suggestions?
Thnx,
Rogier
hi rogier.
please try to open the lifeblog-skript in a web-browser. do you get any error message that could help?
I tried, but I can’t get through the authorisation. It asks for a username and password. I’ve tried the password from my wordpress account as well as the one specified in lifeblog.php.
/Rogier
Hmmm. Ich habs probiert:
Es steht, daß eine Datei hochgeladen wird. Dann dauert es und es kommt eine Fehlermeldung in Lifeblog: “Vorgang durch Server abgewiesen”. Ich hab richtiges PW/Benutzer. Im Log steht nur: “2007-05-05 09:19:18: method: GET
2007-05-05 09:19:18: list send
2007-05-05 09:19:18: =========================”.
Eine Idee, woran das liegen könnte?
Wenn ich das Script so im Webbrowser öffne, kommt mein Blog-Titel und dahinter gleich “Unauthorised!” Ich denke mal, das ist normal, oder?
Hallo Eric.
Ich denke mal, das liegt an Deiner PHP-Konfiguration. Da kann man einen Wert upload_max_filesize festlegen. Der wird bei Dir wohl zu niedrig sein.
Leg doch mal eine neue Datei info.php auf Deinen Server, in der nur eine zeile steht: <?php phpinfo(); ?>
Für Details dazu schau mal http://www.radinks.com/upload/config.php
Und das Unauthorised passt. Der Browser kennt ja das Lifeblog-Protokoll nicht und weiß nicht, wie er welche Login-Informationen senden sollte, einfach gesagt.
OK, ich habs jetzt ausprobiert. Auf einem Server gehts, auf dem anderen nicht. Da sind wohl Unterschiede mit Apache/MySQL und/oder den Settings. Da schau ich mal nach, ob ich da irgendwie was finde und meld mich nochmal.
[...] tolle Script ist übrigens von Christian von Suppengabel, er hat es als letztes modifiziert und mir einen Denkanstoss per E-Mail gegeben. [...]
Sodele, ich habs hinbekommen. Nachdem ich Wordpress auf 3 verschiedenen Domains installiert hatte und auf allen das Script funktionierte, hab ich mal einige Plugins deaktiviert. Bei mir wars “Bad Behavior”, welches mein Handy ausgeschlossen hat. Also Plugin deaktiviert und noch einmal probiert: KEINE PROBLEME!
Danke Dir nochmals für die Unterstützung.
Gruß, Eric
es ist mir geklappt. aber is est dich auch geklapt movies zu senden zum lifeblog.php? mir nicht leider.
ivan
No, unfortunately movie clips and multimedia messages are not supported. But maybe one of you guys has the time and knowledge to add the functionality?
Hi Christian see this link, but i got an error when uploading.
http://66.102.9.104/search?q=cache:u2iYhHb-S58J:www.lloyd-jenkins.com/%3Fp%3D84+lifeblog.php+.3gp&hl=nl&ct=clnk&cd=1&gl=nl&client=firefox-a
Well, the script you use in your manual is not mine. PhoneBoy’s version uses the preg_match function to parse the submitted XML stream which in my eyes is quite error-prone to protocol revisions by nokia. It didn’t work with my version either, that’s why I did use the PHP DOM functions (which require PHP5).
Maybe if I got saome free time I’ll add the video functionality, shouldn’t be a big deal, but I’m fully booked ’til the end of may. Sorry.
Maybe I’ll make a sourceforge project out of this so that all development efford on the script goes into the same direction.
Hi Christian thanks for your reply. Hmmm okay so i better use this plugin then phoneboys (i didnt got it to work anyway
But strange thing is i worked with wordpress 2.1.2 the whole week and whole weekend with lifeblog N95 and then suddenly it didnt work any more. I have tried everything but the lifeblog software keeps saying when getting bloglist “No blogs found for any account” and everything is in the right way adjusted.
strange, any idea?
greetz,
Ivan
sorrry sorry sorry soooooooo stupid i forgot to implement the “.nl” to the lifeblog account. its working again. pfff
butttttt i keep you to your word as far for the multimedia hahaha!
ivan
Hi,
Iôm trying to get lifeblog te work with my N73 and Wordpress 2.2. The bloglist is nicely retreived and a error is filed in wp-lifeblog/lifebloglog.txt
2007-05-26 07:14:25: method: GET
2007-05-26 07:14:25: login error: user unauthorised
2007-05-26 07:18:05: method: GET
2007-05-26 07:18:05: list send
2007-05-26 07:18:05: =========================
I’ve retyped the username and it’s password in both wordpress and lifeblog.php to make sure they mach. No luck so far.
Any ideas?
Mhmm, no idea. All that i can see out of that log is that at 07:14:25, it did not work and at 07:18:05, it did.
btw, aren’t people supposed to sleep this early on a saturday?
did you make an atom.txt (with 777 mod rights?) in the root edde?
ivan
no, i didn’t. what is this atom.txt be good for?
ahhhhh well i read i had to do that (this is the link where it is: http://blog.keydown.de/2006/11/18/mit-dem-nokia-in-der-hand-durch-die-wand/ ). just make a standard text document and name it atomdata.txt and upload it to the root where the lifeblog.php is.
at my site is has mod rights: 666 (number of the devil).
it has something to do that it writes information to it, so the file grows (you can empty it from time to time).
grx
Ivan
oh, yes, ok. in that case i assume this atomdata.txt is their log output file which in my case is inside the wp-lifeblog folder. don’t remember the name at the moment, but should be configurable in my script.
sorry, got some other stuff in my mind right now.
btw, i’m currently waiting for an approval from the sourceforge guys for my proposed wordpress-lifeblog-integration project. maybe this allows us to communicate in a somehow more sophisticated way than in this comment-way.
thanks for your endurance with the lifeblog-stuff!
Hello! My english is not good.
And me don’t know your Email.
I hope need help about NOKIA Lifeblog for Wordpress 2.5X php file.
The last Lifeblog.php is for 2.3x, and it’s ok . but not support Wordpress V2.5X. and not support PC Lifeblog 2.5.
BTW: The NOKIA PC Lifeblog now Renew NOKIA PHOTO. http://europe.nokia.com/support/nokiaphotos
My Email mo9527@hotmail.com
THX
[...] Also bloggen mit dem N95 über “Lifeblog” klappt schonmal. Das ist ja gut zu wissen. Auch wenns etwas komisch ausschaut, aber man kann ja nicht alles haben. Wirklich brauchen tut mans wohl auch nicht, aber nun ja. Gut zu wissen eben, das es funktioniert. Zu finden ist die PHP Datei die man hierfür in Wordpress braucht übrigens bei Suppengabel. [...]
Hi,
some weeks ago I was looking also for wordpress integration with Nokia lifeblog and I’m extending the script from week to week, take a look at http://notes.sebastiangrass.com .
regards, Sebastian
Hallo Christian,
kannst meine Erweiterung des Scriptes gerne mit ins Sourceforge Project aufnehmen. Sorry für die späte Antwort, Änderungen die ich mache, würde ich Dir dann auch zuschicken.
Grüße,
Sebastian