IPTC module uses out of date api

steveman2000

Joined: 2006-04-08
Posts: 26
Posted: Sat, 2006-04-08 05:19

hi,

I want to use the iptc module here: http://sourceforge.net/tracker/download.php?group_id=7130&atid=357130&file_id=126177&aid=1165721

As mentioned in this article:
http://sourceforge.net/tracker/download.php?group_id=7130&atid=357130&file_id=126177&aid=1165721

On installation it complains that:
Incompatible module!
Core API Required: 0.8 (available: 6.8)
Module API Required: 0.8 (available: 2.0)

Is there anything I can do to fix this?

--
Website: http://me.sllewellyn.com
Gallery: http://www.something-beautiful.org/mygallery

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Sat, 2006-04-08 07:12

1. the urls you've copied in r the same
2. iptc is now part of the exif module according to my knowledge, so why wouldn't you simply use that? :)

 
steveman2000

Joined: 2006-04-08
Posts: 26
Posted: Sat, 2006-04-08 10:49

It doesn't appear to support writing the iptc/exif data back to the original file. This is of critical importance to me.

--
Website: http://me.sllewellyn.com
Gallery: http://www.something-beautiful.org/mygallery

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Sat, 2006-04-08 11:11

yes, that's right.
I've just checked the source of this module. This is not compatible with 2.1, needs to be updated.
Or you can just wait for an official mod to support this feature..somebody is workin on it (or should be) afaik. You can grab info about this on codex/forum.
To make this mod compatible with 2.1 you should change quitesome things,
eg
$this->setRequiredCoreApi(array(0, 8));
$this->setRequiredModuleApi(array(0, 8));
+ all instances of
if ($ret->isError() etc..
to check the apichanges you should check out the dev docs

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-04-09 04:20

That attachment is from http://sourceforge.net/tracker/index.php?func=detail&group_id=7130&atid=357130&aid=1165721
and is quite old.. I haven't looked at the code, but probably that module doesn't do anything the current exif module (yes, exif module has some iptc functionality) does.

 
steveman2000

Joined: 2006-04-08
Posts: 26
Posted: Sun, 2006-04-09 04:42

Yes I know about this, but without full IPTC write capabilities its no use to me. I've just found the wiki on the module your talking about and its one of the features that they hope to implement soon. I supose I shall just have to wait! Maybe I will help them after I graduate!

cheers for ur help!

--
Website: http://me.sllewellyn.com
Gallery: http://www.something-beautiful.org/mygallery