Rich Lafferty's LiveJournal (mendel) wrote,
Rich Lafferty's LiveJournal

Phone providers always break photo email.

How I sent photos to Flickr on my Fido phone:

  1. Take photo
  2. Send to Flickr photo-posting address from phone

How I send photos to Flickr on my new Virgin Mobile phone:

  1. Take photo
  2. Send to an email address of mine which feeds into a program, which
  3. Extracts the HTML part from that message
  4. Pulls the message text and a URL out of that HTML part
  5. Retrieves that URL, which links to a thumbnail of the image
  6. Pulls a second URL out of Javascript source on that page
  7. Retrieves the second URL, which links to the full-sized image’s page
  8. Pulls the image URL out of the full-sized image’s page
  9. Requests the image, but with curl(1) instead of libwww-perl, since libwww-perl mysteriously produces 500 Internal Server Errors on that page only, even though the previous two pages loaded fine
  10. Bundles up a new MIME message with the text from (2) and the image
  11. Sends that to the Flickr photo-posting address

Real elegant. Oh, well, at least it works. I knew going in that Virgin Mobile makes data-related things a bit difficult, but that just kept getting sillier and sillier.

Originally posted at rich text.
Tags: broken, software

  • the cutest bunny in the world

    You cannot find a cuter bunny than this: There is no such cuter bunny.

  • neck pain explained

    Interesting: I hurt my back/shoulder/neck this morning turning the wrong way. It's the same kind of injury I used to get all the time in Ottawa, but…

  • Christmas Cards From Heaven

    I would totally do this: Elaborate Practical Joker Sends Christmas Cards From ‘Heaven’ Two Months After His Death. Originally posted…

Comments for this post were disabled by the author