mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Add exiftool namespaces : http://owl.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html#iptcCore and
http://owl.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html#xmpRights
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CountryCode extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CountryCode';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CountryCode';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorAddress extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorAddress';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorAddress';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorCity extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorCity';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorCity';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorCountry extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorCountry';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorCountry';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorPostalCode extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorPostalCode';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorPostalCode';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorRegion extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorRegion';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorRegion';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorWorkEmail extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorWorkEmail';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorWorkEmail';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorWorkTelephone extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorWorkTelephone';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorWorkTelephone';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_CreatorWorkURL extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:CreatorWorkURL';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'CreatorWorkURL';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_IntellectualGenre extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:IntellectualGenre';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'IntellectualGenre';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_Location extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:Location';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'Location';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
28
lib/classes/metadata/description/XMPiptcCore/Scene.class.php
Normal file
28
lib/classes/metadata/description/XMPiptcCore/Scene.class.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_Scene extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:Scene';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'Scene';
|
||||
const MAX_LENGTH = 0;
|
||||
const MULTI = true;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPiptcCore_SubjectCode extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-iptcCore:SubjectCode';
|
||||
const NAME_SPACE = 'XMP-iptcCore';
|
||||
const TAGNAME = 'SubjectCode';
|
||||
const MAX_LENGTH = 0;
|
||||
const MULTI = false;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPxmpRights_Certificate extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-xmpRights:Certificate';
|
||||
const NAME_SPACE = 'XMP-xmpRights';
|
||||
const TAGNAME = 'Certificate';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPxmpRights_Marked extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-xmpRights:Marked';
|
||||
const NAME_SPACE = 'XMP-xmpRights';
|
||||
const TAGNAME = 'Marked';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_BOOLEAN;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPxmpRights_Owner extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-xmpRights:Owner';
|
||||
const NAME_SPACE = 'XMP-xmpRights';
|
||||
const TAGNAME = 'Owner';
|
||||
const MULTI = true;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPxmpRights_UsageTerms extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-xmpRights:UsageTerms';
|
||||
const NAME_SPACE = 'XMP-xmpRights';
|
||||
const TAGNAME = 'UsageTerms';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class metadata_description_XMPxmpRights_WebStatement extends metadata_Abstract implements metadata_Interface
|
||||
{
|
||||
|
||||
const SOURCE = '/rdf:RDF/rdf:Description/XMP-xmpRights:WebStatement';
|
||||
const NAME_SPACE = 'XMP-xmpRights';
|
||||
const TAGNAME = 'WebStatement';
|
||||
const MAX_LENGTH = 0;
|
||||
const TYPE = self::TYPE_STRING;
|
||||
|
||||
}
|
Reference in New Issue
Block a user