Patch to write nested IPTC metadata

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Patch to write nested IPTC metadata

Alan Pater
Hi

I have patched metadataedit to use nested XMP tags for IPTC fields.
I'd like someone to test it as I have not been able to get digikam and
kipi-plugins to build on my system.

The patch is attached here: https://bugs.kde.org/show_bug.cgi?id=313203

Cheers,
Alan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Patch to write nested IPTC metadata

Gilles Caulier-4
Hi Alan,

Thanks for your patch.

I take a look, not tested yet. I don't know this nested form of tag
supported by IPTC through Exiv2.

Your patch fix MetadataEdit plugin. But what's about Template editor
from digiKam core which play with same metadata ?

Best

Gilles Caulier

2014-04-20 3:55 GMT+02:00 Alan Pater <[hidden email]>:

> Hi
>
> I have patched metadataedit to use nested XMP tags for IPTC fields.
> I'd like someone to test it as I have not been able to get digikam and
> kipi-plugins to build on my system.
>
> The patch is attached here: https://bugs.kde.org/show_bug.cgi?id=313203
>
> Cheers,
> Alan
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Patch to write nested IPTC metadata

Alan Pater
In reply to this post by Alan Pater
Hi Gilles!

> Your patch fix MetadataEdit plugin. But what's about Template editor
> from digiKam core which play with same metadata ?

That was fixed in https://bugs.kde.org/show_bug.cgi?id=287267. There
are some notes there on the nested structure.

As well, there is mention of this structure at
http://www.exiv2.org/doc/xmpsample_8cpp-example.html

// Add a creator contact info structure
    xmpData["Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCity"] =
"Kuala Lumpur";
    xmpData["Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCtry"] = "Malaysia";
    xmpData["Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiUrlWork"] =
"http://www.exiv2.org";

Alan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Patch to write nested IPTC metadata

Alan Pater
In reply to this post by Alan Pater
Oops, looks like I missed some curly brackets in the changes I made.
I'm building a new package now to test if it actually works and will
keep you informed ...

On Sat, Apr 19, 2014 at 8:55 PM, Alan Pater <[hidden email]> wrote:

> Hi
>
> I have patched metadataedit to use nested XMP tags for IPTC fields.
> I'd like someone to test it as I have not been able to get digikam and
> kipi-plugins to build on my system.
>
> The patch is attached here: https://bugs.kde.org/show_bug.cgi?id=313203
>
> Cheers,
> Alan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Patch to write nested IPTC metadata

Alan Pater
OK. I fixed up the patch and tested it via an build for Ubuntu
available on my ppa: https://launchpad.net/~alan-pater/+archive/dwc

It works as I expected, reading both nested & non-nested tags; writing
back only the nested version.

The updated & tested patch has been uploaded to
https://bugs.kde.org/show_bug.cgi?id=313203

On Tue, Apr 22, 2014 at 3:52 PM, Alan Pater <[hidden email]> wrote:

> Oops, looks like I missed some curly brackets in the changes I made.
> I'm building a new package now to test if it actually works and will
> keep you informed ...
>
> On Sat, Apr 19, 2014 at 8:55 PM, Alan Pater <[hidden email]> wrote:
>> Hi
>>
>> I have patched metadataedit to use nested XMP tags for IPTC fields.
>> I'd like someone to test it as I have not been able to get digikam and
>> kipi-plugins to build on my system.
>>
>> The patch is attached here: https://bugs.kde.org/show_bug.cgi?id=313203
>>
>> Cheers,
>> Alan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users