def _build_ezid_metadata(node):
 doi = settings.EZID_FORMAT.format(namespace=settings.DOI_NAMESPACE, guid=node._id)
 metadata = {'_target': node.absolute_url, 'datacite': datacite_metadata_for_node(node=node, doi=doi)}
 return (doi, metadata)

def _build_ezid_metadata ( node ) : doi = settings . EZID_FORMAT . format ( namespace = settings . DOI_NAMESPACE , guid = node . _id ) metadata = { '_target' : node . absolute_url , 'datacite' : datacite_metadata_for_node ( node = node , doi = doi ) } return ( doi , metadata )
build metadata for submission to ezid using the datacite profile .