Thank you. Will look into it.
How about extracting info from an image, any clues? Been trying to look for a JavaScript for it but Iāve not been ableā¦
What type of info do you want to extract?
I suspect if you pass it from URL then you will get into massive troubles with CORS.
Youāve not been looking hard enough
Has Mark asked you to replace my exif extraction code with a YC column? (would be a good idea, if it can be done)
I have, Iām just not good at coding, I did that exact search, but I just donāt get it!! And no, he hasnāt
Camera used to take the image, location, time, etc
Well, with Apps Script, itās as simple as:
var metadata = file.imageMediaMetadata;
Take a look at this page:
Are you serious?
Hey Manu, I looked at that specific thing, but itās over a 1000 lines of code, and itās too much for a little understanding of js
Yes.
For the Covessa app, the images are stored on GDrive. Here is the entire routine that I use for extracting the image metadata:
function get_image_metadata(id) {
var file = Drive.Files.get(id);
var metadata = file.imageMediaMetadata;
return metadata ? metadata : {};
}
He showed me the integromat scenario that you created, which I guess is what you are mentioning. Iāll try to put your script in the yc column
Update,
I added the language used by the browser.
you are the bestā¦ already using that!
Yes I use it to define the date format and for the translation
Iām using it to translate my apps for usersā¦ time format might be tricky for big countries with many time zones
Hola Manu,
I have been working and improving my codes base on date format (sorting arrays) and this map and info were very useful to me.
Try to use the browserās language is a good point and tool but I think that working with Endianness order is the final solution to date format sorting.
B ā big-endian (year, month, day), e.g. 2016-04-22 // 2016.04.22 // 2016/04/22
L ā little-endian (day, month, year), e.g. 22.04.2016 // 22-04-2016
M ā middle-endian (month, day, year), e.g. 04/22/2016
Saludos!
Hi, Thank you for the information. I published a script on the topic of dates.
The idea is to convert the glide date (whatever the language and format) into a JS date to be able to easily sort or compare.
Yes I know, I shared my own code in that thread as well
Now I have a new version able to sort any date array if the user has the following format:
1- mm/dd/yyyy
2- dd/mm/yyyy
3- dd-mm-yyyy
4- dd.mm.yyyy
I havenāt included other formats (e.g. yyyy-mm-dd) in order to not complicated the code but if I have to do it, I would use the Endianness code (B/M/L) to know the right date format used by user.
Feliz dĆa