WordPress.org

Forums

support for Nokia's lifeblog? (19 posts)

  1. idiotprogrammer
    Member
    Posted 8 years ago #

    With newer Nokia phones, you can buy lifeblog http://www.nokia.com/nokia/0,1522,,00.html?orig=/lifeblog/

    It's basically photos and videos you sync to your PC and upload to your weblog. So far, it looks like typepad supports it. Has anybody tried it with wordpress?

    Robert Nagle, idiotprogrammer

  2. titanic2
    Member
    Posted 8 years ago #

    I would like to use Lifeblog with WordPress. It would be really great.

  3. CEBEP
    Member
    Posted 8 years ago #

    any hope such plugin will ever be written?

  4. splunk
    Member
    Posted 7 years ago #

    I'm about to get a Nokia 6682 and plan on using Lifeblog heavily...this was the first thread I came across. Anyone have it up and running?

    (off to continue searching)

  5. James
    Happiness Engineer
    Posted 7 years ago #

    If Lifeblog supports the Blogger API, metaWeblog API, or the MovableType API, then it can post to a WordPress blog. More info:

    http://codex.wordpress.org/XML-RPC_Support
    http://codex.wordpress.org/Weblog_Client

  6. www.onlinecasinoselite.com
    Member
    Posted 7 years ago #

    Here's how. Looks like it could be implemented in WordPress:

    http://www.robertprice.co.uk/robblog/archive/2005/2/Lifeblog_Posting_Protocol_Example.shtml

    Apparently there's no money in open standards, so Nokia had to go an do it slightly different to keep people tied to their partner (Six Apart) and their horrible PC Lifeblog companion ($30) thus diminishing the usability of thier otherwise fine app.

    If one could bypass Nokia or any third party (like Flickr or Picostation) and still be able to blog directly from the phone that would be great.

  7. Nothing like reviving an old thread, is there? But I just got a new phone that came with Lifeblog, and I wondered if I could do anything useful with it, and happily, I could :).

    If you're happy to use Flickr, you can post to WP from Lifeblog.

    You'll need a Flickr account, and you'll have to set that up so you can post to your WP blog from there.

    The FAQ has instructions:

    http://www.flickr.com/help/blogging/

    Then get your Lifeblog settings (with a special password) from here:

    http://www.flickr.com/tools/lifeblog/

    Bypassing Flickr would be easier and more flexible, but it'll do for me...

  8. blizz
    Member
    Posted 7 years ago #

    It seems that Nokia now has release the spesifications on the lifeblog. For general information http://europe.nokia.com/nokia/0,,71754,00.html and for the spesification document use http://europe.nokia.com/BaseProject/Sites/lifeblog_54603/CDA/Categories/NokiaLifeblogTrilobiteEN/Blog/_Content/_Static_Files/lifeblog_posting_protocol_specification_1.0.pdf to download the pdf document.

    Since I'm not a programmer I hope someone else could make a wordpress plugin.

  9. splunk
    Member
    Posted 7 years ago #

    blizz, that's great news. I'd love it even though I've accepted flickr into my photo life :) I'd love for anyone to be able to see full-size photos I send.

  10. bruticus
    Member
    Posted 6 years ago #

    i've been working on a hack for this; so far so good, although i'm having a little difficulty with the WSSE authentication .. the script's calculated password digest and the one sent by Lifeblog don't match up.

    from there i would think it would be relatively easy to parse the XML and stuff the relevant data into the WordPress database...?

    anyone else working on this?

  11. hugovk
    Member
    Posted 6 years ago #

    Bruticus, good work!

    There was a little bug in the S60 Lifeblog 1.5 and 1.6 apps, which were fixed in v1.7 and later, though this isn't included in the v1.0 protocol spec.

    S60 Lifeblog 1.6 and earlier:
    - sends the local time instead of UT, but says it is UT.
    - puts the base-64 encoded nonce in the password digest, not the original binary nonce.

    S60 Lifeblog 1.7 and later, and PC Lifeblog:
    - send the time correctly in UT.
    - nonce calculated "properly".

    Phones that run S60 Lifeblog 1.6 and earlier include: Nokia 3230, 6260, 6630, 6670, 6680, 6681, 6682, and 7610.
    Phones that run S60 Lifeblog 1.7 and later include: Nokia 3250, and the Nseries range.

    For backwards compatibility, blog servers need to support both implementations and try both base64-encoded and not.

    For tips, here are some other folk who have implemented Lifeblog support for blog servers.

    Homebrew server:
    http://www.robertprice.co.uk/robblog/archive/2005/2/Lifeblog_Posting_Protocol_Example.shtml

    Movable Type plugin:
    http://www.ocasta.co.uk/mt/archives/lifeblog/

    LifeType (previously pLog):
    http://wiki.lifetype.net/index.php/Plugin_atom
    http://forums.lifetype.net/

    Hope that helps!

  12. wynk
    Member
    Posted 6 years ago #

    I would also very much like to see something like this implemented for WordPress. If I had the skills I'd do it myself but I'm underequipped for such an endeavor. I post quite often from my Nokia 9500 (with pictures from my cameraphone) and this would make it so much easier. If anyone's up to the task a lot of us would really appreciate it!

  13. bruticus
    Member
    Posted 6 years ago #

    hi all - good news - i have Lifeblog posting into the WP database. all i've got are some php scripts that accept Lifeblog's requests, parse the XML and deal with appropriately.

    Hugovk, thanks for the tips re: WSSE auth .. i figured something was up when my calculated digest didn't match up, either in string length, or actual content. incidentally, PHP 4.3.x doesn't calculate the "binary" SHA-1 algorithm, so if anyone's interested, you have to use PHP's 'pack' function to render the SHA1 encryption binary-style.

    in addition, the PC version of Lifeblog sends atom entries differently than the nokia phone version .. as an example, the PC would send <a:content ...> .. where the phone would send <content ...> .. so my code looks like total spaghetti to compensate for this.

    ANYHOW, it's working :) i will post more about this eventually when i have some time to spare .. need to complete the site for the client.

  14. nicfulton
    Member
    Posted 6 years ago #

    Bruticus,

    Looking forward to any PHP you can post so I can try out your hard-work.

    Best regards,

    Nic Fulton.

  15. abhikalitra
    Member
    Posted 6 years ago #

    bruticus,
    I am able to figure out the WSSE part, thanks to you and hugovk.

    my problem is that WP stores MD5 hash of password and i need plain text password to match it with the Digest sent by lifeBlog. how do i do this?

    any help is appreciated.

  16. bruticus
    Member
    Posted 6 years ago #

    hi abhikalitra -

    my hack was to just add the lifeblog users to the wordpress "_users" table manually with phpmyadmin. that way the password is in plain text.

    as there's no PHP function to decrypt an MD5 encrypted password, that's the fastest path from A to B.

    because the WSSE header sends the password as SHA1 hashed (and there's no PHP function to decrypt that either), that kinda prevents you from calculating/comparing the passwords that way.

    i have seen some talk on the PHP site about SHA1 decrypt functions, but nothing really workable or solid, and the math is too much for me to make it myself. =)

    hope that helps!

  17. mweissen
    Member
    Posted 6 years ago #

    bruticus,

    MD5 and SHA1 are hash functions and they can't be "decrypted" or inverted. A hash function is deterministic and creates a fixed-length output string from a variable-length input string. You can feed mega- or gigabytes of data into e.g. SHA1 and it will still output a 160-bit (20-byte) hash value. If SHA1 could be inverted, just imagine the data compression capabilities! An MP3 song would take 20 bytes... I could fit 20 billion songs on my iPod! W00t!

    Since MD5 uses 128 bit hash values, the risk of two different passwords accidentally matching is one in 2^128. SHA1 uses 160 bits. For perspective, the "risk" of you winning at Lotto is something like one to 2^27. :-)

    Don't store the clear-text password in the database, just calculate the hash value once and store the hash in the database. When the user tries to authenticate, he sends the hash value of the password he just entered, and you can compare it to the one in the database. If the hash values match, it is exceedingly likely that the user has entered the correct password.

    Would there be any chance of you posting your work as-is somewhere? I'd be really interested in looking at it!

    --Martin

  18. schnitzel
    Member
    Posted 6 years ago #

    here it is:
    http://blog.keydown.de/2006/11/18/mit-dem-nokia-in-der-hand-durch-die-wand/

    at this time it´s only in german but you can download the lifeblog.php.

    --
    sebastian

  19. schmollmolch
    Member
    Posted 6 years ago #

    I slightly changed Schnitzel's script to work with Lifeblog 2.1.131 and WP 2.0.5
    Now, SMS can be included in Lifeblog Posts, too. The usage of PHP DOM functionality makes it easier to adapt the script to new Lifeblog versions.
    If you're interested, visit http://www.suppengabel.net/blog/index.php/2006/12/21/nokia-lifeblog-und-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.