我几乎成功地将我的ZODB(一小部分文件夹,包括从其他文件夹中获取的资源)的摘录转移到另一个Plone实例; showstopper是:在导入期间,我的对象不会被写入.这是我的导出脚本:
[transmogrifier]
pipeline =
sitewalker
xmlwalker
uidextractor
encapsulator
manifestexporter
fileexporter
marshaller
propertiesexporter
commentsexporter
datacorrector
portletsexporter
writer
EXPORTING
[sitewalker]
blueprint = quintagroup.transmogrifier.sitewalker
path =
folder1
folder2
[xmlwalker]
blueprint = collective.transmogrifier.sections.xmlwalker
[uidextractor]
# my own section which parses the html text of the given fields,
# checks the href and src attributes for UIDs, and injects entries
# for the refered objects into the pipeline
blueprint = my.transmogrifier.uidextractor
inspect_fields =
text
description
notes
[encapsulator]
blueprint = plone.app.transmogrifier.mimeencapsulator
mimetype = item/_mimetype
field …Run Code Online (Sandbox Code Playgroud) 我正在使用transmorgrifier配方将一些数据从drupal导入到基于Plone 4.1的buildout中.buildout基于https://github.com/claytron/drupal-plone-transmogrifier,(主要是我更新它使用plone 4.1而不是4.0).导入工作,我成功地将数据从drupal站点导入我的plone站点.唯一的问题是导入的html中的html标记显示为文字标记.
如果,在成功导入后,我手动转到每个项目并选择"编辑",然后单击"保存",然后正确解释html,但这将是大量编辑和保存,以解决我的问题.
查看显示html标签的新导入内容的屏幕截图.

实际进口该领域的蓝图是(我相信)如下所示:
[text_mimetype]
blueprint = collective.transmogrifier.sections.inserter
key = string:_text_mimetype
value = string:text/html
Run Code Online (Sandbox Code Playgroud)
我尝试在蓝图中使用text/structured而不是text/html,但结果相同:
我需要的是一个导致html被解释的额外蓝图,或者是关于如何确保在导入时解释我的html的提示.
我的管道中使用的蓝图的完整列表如下所示:https: //github.com/claytron/drupal-plone-transmogrifier/blob/master/src/my.migration/my/migration/config/base.cfg