This product provides a Plone REST API endpoint called @metadata and available for all dexterity
content-types providing the EEA Core Metadata. This metadata endpoint is expandable.
The basic implementation provides generic metadata for both the Plone Site and basic Dexterity
content-type. If you need to provide this metadata information from some other fields in your
specific content-types, you can provide a ZCA adapter for your content-type.
You can look at eea.restapi.coremetadata.api.servidces.metadata.adapters.dexterity and inherit
the default BaseDexterityCoreMetadataAdapter to provide your own. Do not forget to register the
adapter in ZCML, look at the configure.zcml file in the same folder to know how to register it.
eea.api.coremetadata (the Original Code) is free software; you can
redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc., 59
Temple Place, Suite 330, Boston, MA 02111-1307 USA.
The Initial Owner of the Original Code is European Environment Agency (EEA).
Portions created by Eau de Web are Copyright (C) 2009 by
European Environment Agency. All Rights Reserved.