On 8/20/07, Rob Church robchur@gmail.com wrote:
On 20/08/07, Magnus Manske magnusmanske@googlemail.com wrote:
I just thought: How about a new magic word, {{EXIFDATE}}, that would extract EXIF data from the image? It could be used in {{Information}} as a default in case no "Date" parameter is provided.
Sounds good; couple of comments:
- Provide for all eligible EXIF data
- Use parser functions, not "magic words" - this will allow the user
to provide the name of the file for which data should be extracted, for example
Will do. How about: {{#exif:KEY}} and {{#exif:KEY|IMAGENAME}} ?
The second variant would then work in all namespaces, and the first one only in #6.
Since there is some variance in EXIF keys, I'd suggest some "internal" keys to simplify matters. For example, {{#exif:_DATE}} woule check several common date keys, and take the earliest one it finds.
Aah, the possibilities! [[Category:Taken with {{#exif:MODEL}}]] :-)
Magnus