Changeset 189


Ignore:
Timestamp:
05/12/09 09:09:43 (6 years ago)
Author:
jon
Message:

Changes to allow educommons to import and export IMS content packages

Location:
enpraxis.educommons/branches/educommons-imsintegration/enpraxis/educommons
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • enpraxis.educommons/branches/educommons-imsintegration/enpraxis/educommons/overrides.zcml

    r165 r189  
    134134    /> 
    135135 
     136 
     137  <utility 
     138    provides="collective.imstransport.utilities.interfaces.IIMSManifestWriter" 
     139    factory="enpraxis.educommons.utilities.eduimscpwriter.eduIMSCPWriter" 
     140    name="IMS Content Package" 
     141    /> 
     142 
     143  <utility 
     144    provides="collective.imstransport.utilities.interfaces.IIMSManifestReader" 
     145    factory="enpraxis.educommons.utilities.eduimscpreader.eduIMSCPReader" 
     146    name="IMS Content Package" 
     147    /> 
     148 
     149 
    136150  <utility 
    137151     provides="collective.imstransport.utilities.interfaces.IIMSObjectCreator" 
  • enpraxis.educommons/branches/educommons-imsintegration/enpraxis/educommons/utilities/eduimsccreader.py

    r171 r189  
    77from collective.imstransport.utilities.imscc.ccreader import CCReader 
    88from collective.imstransport.utilities.packagingio import ZipfileReader 
     9from collective.imstransport.IMS_exceptions import ManifestError 
    910import re 
    1011 
  • enpraxis.educommons/branches/educommons-imsintegration/enpraxis/educommons/utilities/eduimsccwriter.py

    r164 r189  
    44from zope.annotation.interfaces import IAnnotations 
    55from collective.contentlicensing.utilities.interfaces import IContentLicensingUtility 
     6from collective.imstransport.IMS_exceptions import ManifestError 
    67from xml.dom import minidom 
    78from collective.imstransport.utilities.imscc.ccresourcewriter import CCResourceWriter 
     
    141142 
    142143                path = self._getObjectPath(object, context) 
    143                 rlomwriter = eduCCResourceWriter(ccwriter) 
     144                rlomwriter = eduResourceWriter(ccwriter) 
    144145                rlomwriter.writeResource(refId, 'webcontent', path) 
    145146                rlomwriter.writeLOMMetadata() 
  • enpraxis.educommons/branches/educommons-imsintegration/enpraxis/educommons/utilities/objcreator.py

    r171 r189  
    22from collective.imstransport.utilities.interfaces import IIMSObjectCreator 
    33from zipfile import ZipFile 
     4from collective.imstransport.IMS_exceptions import ManifestError 
    45 
    56class ObjectCreator(object): 
Note: See TracChangeset for help on using the changeset viewer.