1

我正在尝试 使用Mikko 的 Simple JSON export script迁移使用FileSystemStorage的旧 Plone 3.3 站点。

一切都运行良好,除了图像字段上没有值,它作为空字符串 ( '') 返回:

[
    ...
    {
        "allowDiscussion": false, 
        "contributors": [], 
        "creation_date": "2009-11-04T15:15:36-02:00", 
        "creators": [
            "johndoe"
        ], 
        "description": "", 
        "effectiveDate": null, 
        "excludeFromNav": false, 
        "expirationDate": null, 
        "id": "banner_vertical.jpg", 
        "image": "", 
        "language": "", 
        "location": "", 
        "modification_date": "2009-11-04T15:15:37-02:00", 
        "portal_type": "Image", 
        "relatedItems": [], 
        "rights": "", 
        "subject": [], 
        "title": "Banner vertical", 
        "urlLegend": "http://"
    },
    ...
 ]

有什么提示吗?

(使用的iw.fss版本是 2.8.0rc5)。

4

1 回答 1

1

编写脚本的站点不知道或使用 FSS。

您可能需要改造convert()和其他方法来支持您的用例。

于 2016-01-12T11:34:19.853 回答