Changes between Version 3 and Version 4 of quintagroup.transmogrifier/howto


Ignore:
Timestamp:
Dec 28, 2010 3:04:16 PM (13 years ago)
Author:
olha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • quintagroup.transmogrifier/howto

    v3 v4  
    1 = quintagroup.transmogrifier How to ... = 
     1= quintagroup.transmogrifier How-tos = 
    22 
    33Source: [http://webteam.medsci.ox.ac.uk/integrators-developers/transmogrifier-i-want-to-... Transmogrifier, I want to .... ] article 
    44 
    5 == 1. How to omit a field from an export == 
     5=== 1. How to omit a field from an export === 
    66 
    77''section blueprint: quintagroup.transmogrifier.marshaller'' 
     
    1919(this is done at the point that marshall is used to create an xml rendition of the content item) 
    2020 
    21 == 2. How to omit a particular content type == 
     21=== 2. How to omit a particular content type === 
    2222 
    2323''section blueprint: quintagroup.transmogrifier.sitewalker'' 
     
    3535(this is done at the point that transmogrifier walks through the site) 
    3636 
    37 == 3. How to export only a section of the site == 
     37=== 3. How to export only a section of the site === 
    3838 
    3939''section blueprint: quintagroup.transmogrifier.catalogsource'' 
     
    5151Note this is a slightly complex example, because the query parameter itself is a dict. You'll need to be fairly comfortable with writing catalog queries. 
    5252 
    53 == 4. How to switch from workflow to another == 
     53=== 4. How to switch from workflow to another === 
    5454 
    5555You probably only need to do this if the workflow you want to abandon is not installed on the new site (and you don't want to install it). Otherwise use the types tool in site setup which does a much better job. 
     
    5959With this method, you actually rewrite the xml that is generated by Marshall and packaged up as part of the content pipeline item. You'll need to write an adapter for this (up to you whether you do this as an export or import step) - which is complicated enough to need a page of instructions of its own. 
    6060 
    61 == 5. How to migrate content from one content type to another == 
     61=== 5. How to migrate content from one content type to another === 
    6262 
    6363If this is a one-off migration, then you might want to consider your options - with just a few items to migrate you may want to think about cutting and pasting, or digging out your regular expressions to manually search and replace the xml files in between the export and import.