How I sent photos to Flickr on my Fido phone:
- Take photo
- Send to Flickr photo-posting address from phone
How I send photos to Flickr on my new Virgin Mobile phone:
- Take photo
- Send to an email address of mine which feeds into a program, which
- Extracts the HTML part from that message
- Pulls the message text and a URL out of that HTML part
- Retrieves that URL, which links to a thumbnail of the image
- Pulls a second URL out of Javascript source on that page
- Retrieves the second URL, which links to the full-sized image’s page
- Pulls the image URL out of the full-sized image’s page
- 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
- Bundles up a new MIME message with the text from (2) and the image
- 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.
Comments Disabled:
Comments have been disabled for this post.