MOAI Provider Module

class moai.provider.list.ListBasedContentProvider(content)

Provides content from a python list, implementation of IContentProvider

count()
get_content_by_id(id)
get_content_ids()
set_logger(log)
update(from_date=None)
class moai.provider.file.FileBasedContentProvider(path, content_filter='*')

Provides content by reading directories of files Implements the IContentProvider interface

count()
get_content_by_id(id)
get_content_ids()
set_logger(log)
update(from_date=None)
class moai.provider.oai.OAIBasedContentProvider(oai_url, output_path, metadata_prefix='oai_dc')

Providers content by harvesting OAI feeds. Implements the IContentProvider interface

set_logger(log)
update(from_date=None)
class moai.provider.fedora.FedoraBasedContentProvider(fedora_url, output_path, datastream_name=None, username=None, password=None)
Providers content by harvesting a Fedora Commons OAI feed. Then uses the content from a specific datastream, or retrieves the full foxml file if no datastream is provided Implements the IContentProvider interface
"Moai at Tongariki", photo: Vera & Jean-Christophe. Creative Commons License

Previous topic

MOAI Metadata Module

Next topic

MOAI History

This Page

Quick search