Ignore:
Timestamp:
12/01/09 10:10:44 (12 years ago)
Author:
cbyrom
Message:

Add code to allow publishing of data to multiple feeds - to offer
different levels of granularity to subscribe to (with appropriate feed
titles) + add code to
allow feed publication to be done asynchronously + extend to
run atom to DIF transforms at point of publish for atom docs
in the published state (i.e. with state of 'published' or 'Published').
Add code to ingest required organisation data when setting up
the eXist DB - and provide cache of this data to avoid unecessary
lookups. Also extend the eXist DB setup code to initialise the
various new feeds added.
Add utility methods to check if an eXist collection is new and to
establish the publication state of an atom doc - and to change
the state of this doc (NB, need to do a doc delete and doc create
for this - can't see a doc 'move' function in eXist). Also add
code to do the atom to DIF transform direct in the eXist DB.
Improve error handling when publishing feed data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/eXistConnector.py

    r4757 r4782  
    5555    NDG_A_COLLECTION_PATH = "/db/ndg_A_metadata/" 
    5656    NDG_A_COLLECTION_PATH_BACKUP = "/db/ndg_A_metadata_backup/" 
     57    DIF_COLLECTION_PATH = "/db/DIF/" 
     58    PROVIDER_FEED_PATH = BASE_COLLECTION_PATH + "providerFeeds/" 
    5759 
    5860    """Access class for eXist""" 
Note: See TracChangeset for help on using the changeset viewer.