photostream-sync
Lets say, for the sake of argument that you have something like an iPhone. And you use it to take pictures. You sure wish there was an easy way to be able to set up a WordPress blog as a photoblog automatically. Now you can. The Photo Stream iCloud feature is just for this kind of task. You can sync
Lets say, for the sake of argument that you have something like an iPhone. And you use it to take pictures. You sure wish there was an easy way to be able to set up a WordPress blog as a photoblog automatically. Now you can. The Photo Stream iCloud feature is just for this kind of task. You can sync to your iPhoto app, you can share to your friends, and even your TV. Now with this plugin you can have your WordPress blog automatically discover new photos shared from your iOS device and import them.
Just set up a Photo Stream. Configure it so that it has a “Public Web Site”. And this plugin will take care of the rest for you.
- Shared a group of photos all at once? This plugin automatically makes a gallery post containing all the photos you shared together.
- Did you add a comment to your shared photos? This plugin will automatcially add your text to the gallery post.
- Don’t like the idea of just anybody seeing your pictures? You can Password protect your posts
- Do you want to edit, rename, and curate your posts before they go live? You can have the plugin just make draft posts waiting for you to jazz them up
- Are you a theme or plugin developer? Use custom post types, tags, categories, and automatically indexed EXIF metadata from the photos to make an amazing photoblog.
- Don’t want to sit there clicking buttons to make photos show up? This plugin uses WordPress scheduled work functionality to gradually import photos without needing your help.
How this works in relation to iCloud
Warning: This section is pretty hardcore
iCloud publishes a JSON endpoint for its Photo Streams. This endpoint has a list of photos (but not urls for the photos) and data about them (like what group they belong to, who posted them, etc.) That endpoint gives you enough information to make an HTTP POST request to another URL at which you can find enough information to build the image fetch URLS. The data is only good for a limited amount of time (the urls that you build with this expire) and so it is necessary that you build this fresh when you’re going to use it. This is also why you can’t just import a list of photo urls and call it a day. Finally you can make a final HTTP request per image to get the data.