Read EXIF online without need to upload photos - html

I have an HTML5 site. I want to do following thing:
Walk through files in a folder
Find all images
Get exif file from images
Analyze an exifs (on server)
Correct bad exifs
This is a best scenario, that it can be. I am conscious that 1st and 2second step is possibly done only by selecting this files by user. And 5th step is possible only when the analysis will be done at user's machine. So what is the best way to do it (to get closer as much to the optimal scenario)? What should I use without need to force a user to install anything?
EDIT:
At least I have used free GeckoFX web browser as a basic desktop app. Interface is created in HTML+JS Thx all

You would need to create an application that runs on the computer of the user. You can't create an HTML5 site that does this.

A Chrome HTML5 webapp should be able to do this.
I'm actually looking at this in these days.
Here is a NOT WORKING example ( due to old API specs, I think)
http://benno.id.au/blog/2009/12/30/html5-fileapi-jpegmeta
But should at least give some good insights.

You should use ExifTool.
It is available as a Perl library here:
http://www.sno.phy.queensu.ca/~phil/exiftool/ExifTool.html
And also as a command-line tool which can be ran by the server (same site).

Related

Is it possible to use Lightroom to upload images to a server?

So what I want to know is whether it is possible to upload images from lightroom via FTP to a server? Each client will get it's own folder and a login and password to view the images. I was hoping lightroom had a nice program that laid out the images nicely and allows password protection and also allows the option to give the image a title.
Is this possible to do? If so, can anyone point me in the direction of some resources showing how to do so? Thanks!
You can find the latest Lightroom 4 SDK at: http://www.adobe.com/devnet/photoshoplightroom.html, which still contains the FTP plugin that #mattcawley referred to.
Adobe used to provide an FTP plugin via their downloadable Lightroom SDK but I'm not sure if this is still the case. However, there are third-party plugins that will do the job equally well.
For example: http://www.presetsheaven.com/2009/10/27/export-to-ftp-with-lightroom/
check out the built-in web galleries - they are easy to use and if they are not enough you can install additional even better ones - you might be interested for example in http://fonto.pl/fontogallery.html - it has the basic feaures you may need

Offline webapps in HTML5 - Persist after closing the browser?

With HTML5's offline capabilities is it possible to create an app that will persist after the connection is lost and the browser is closed? Specifically, here's what I'd like to do:
Connect to the app while online. Download the entire app including a small database it runs on.
Close the browser and disconnect.
Open the browser again while offline and load the app from the local cache.
Thanks to Mark Pilgrim's excellent book I believe I have an idea of how to accomplish the first step, I'm mainly wondering if the last step is possible. If this is possible, I'm guessing it requires some configuration of the browser. Any settings I should be aware of that aren't obvious?
Thanks very much for any help offered.
The last step should be possible - it just depends on what extent you want to implement it to. To my knowledge it shouldn't require any browser settings. You just have to be aware of the limitations of local storage, which I believe is 5mb max at the moment (for most browsers). Obviously you'd have to perform the checks for such permissions as outlined int the Dive Into Html5 guide you linked.
The quickest and dirtiest way is to simply issue a GET request to your online app. If it responds correctly, then use the online version. If not, use the local cache. Just disguise the timeout/failed response as a 'loading' screen.

How do I use Objective-c to upload/download a file on the internet?

This is for an iphone app. The file uploaded/downloaded on the internet would be a basic leaderboard with a username or id or some sort, and three separate highscores for three modes within one game.
Further - I would like to know if this can be achieved for free? For example could I upload an xml file or a plist file to a site like mediafire and still be able to upload there using objective-c? With mediafire, for example, I already got the download working using the NSArray method initWithContentsOfURL:. So far I have been unsuccessful in uploading to mediafire (Maybe using something with the NSURL password and host methods?). Is there a way to do this on mediafire? or would it require another way of doing this?
I don't really wish to use Apple's Game-center. Do you think MySQL is required?
I seriously doubt MediaFire will offer an easy to use upload API (or an easy to use download API for that matter). Also, what happens when more than one user updates their high score at the same time?
I don't think MySQL is required, however you have moved beyond simple push/pull of a file, especially since the file has global state. This is what GameCenter and OpenFeint have tried to solve for you already, and if you don't have at least a shared hosting account with server side scripting capability you won't be able to solve this issue in an acceptable fashion.

Whether to write an app in xCode or make it a webApp in PHP/mySQL

I have developed an iOS app that uses CoreData/SQLite. It works, but now I have to populate it with data.
I am wondering what the best method would be. As you can see from the title of this post, I am thinking of these two options, but maybe there is another way.
I'm not sure whether I will have multiple people entering data (that would be great), so that is a consideration..
I welcome advice.
How about a mix of both? you can upload the data to a webserver ( depending on what you want to do with it ). Offer people to have a web app for home and an iphone app for when th ey are on the go. The data they add can be stored locally so they don't need any internet when abroad, which makes the app useable on the ipod touch
Native is (almost) always better than web-only. A server is extra overhead; a mix might simplify that a bit. And in most cases, even if your server goes down hopefully users can still use the app with what data they've already downloaded.

Best System to Store a Web Page on a iPhone?

I have a unique and interesting difficulty: I need to find a way to (semi-)permanently store an html page on the iPhone, but the protocol and method I choose is up to me: for example, I could request that the files be packaged in a zip archive, then download it via a URL and unzip it on the iPhone to store/view. I think it would be complicated to download the page using straight html (see this question), and URLCache seems to be designed to download one resource at a time.
Does anyone have any suggestions for a system that will make this task relatively simple without adding significant time to till I can display the page on-screen?
I decided to go with the suggestion by Kalle, since I didn't need the zip program to do any heavy lifting. Unzipping is surprisingly fast, so it suits my purposes very well. I may have to clean up the code a bit though.