Last week I had the crazy idea that I could build my own version of Twitpic with Drupal. It turns out that I can. In under 300 lines of code I wrote the Drippic module that allows posting of photos from Tweetie for iPhone. Here's what is does:- Allow posting of photos (and a tweet) via a post request. Photos saved as an ImageField and tweets saved as the title of a node. Allow commenting on photos, posting the comment back to Twitter. User generated, and verified with Twitter when posting a photo or comment. Short URLs created using the Shorten module. Tweetie for iPhone (recently bought by Twitter to be rebranded as 'The Twitter iPhone app') allows for a custom URL to be added as the image service. Tweetie will then post the photo to that URL when the user tweets a photo. By working from the Tweetie documentation Drippic supports this function. This is just a standard post request so an HTML form can easily be built to post to the same URL. There are still a few items left to do. These include, develop a theme, develop a mobile theme, allow posting and tweeting of photos via the Drupal / Drippic website, allow posting via email and add Oauth user login. If you want to take a look at Drippic head over to http://drippic.millwoodonline.co.uk If you want to use Drippic set your Tweetie image service to http://drippic.millwoodonline.co.uk/drippic/upload If you want to download Drippic goto http://github.com/timmillwood/Drippic If you want to just post to Drippic (and tweet) use the following HTML form code.
<form enctype="multipart/form-data" action="http://drippic.millwoodonline.co.uk/drippic/upload/tweet" method="post"> username <input name="username" type="text"><br> password <input name="password" type="password"><br> Tweet <input name="message" type="text"><br> Choose a file to upload: <input name="media" type="file"><br> <input type="submit" value="Upload File"> </form>