-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I try to transfer AEM communities blog that contains posts with a lot of images included directly in bodies.
Using this command: http://server/services/social/ugc/export?path=/content/path/to/blog/page the application produces archive export.zip, that contains only one file: jcr:content/root/body/layoutcontainer/journal.json. This file contains all posts from my blog.
When I tried to import this file into a new AEM instance, blog posts appeared without images, they contained only text.
I opened the file and found in url-encoded jcr:description fields all my posts, and they contain references to images, such as:
<img src="/content/usergenerated/asi/mongo/attachments/path/to/blog/page/jcr%3acontent/root/body/layoutcontainer/journal/_-IOJi/images/banner.jpg">, but this file doesn't contain these images.
However, the Json file contains File Attachments to the posts (files that placed below posts) (I mean fields ugcExport:attachments).
We need a mechanism to pack all related images from blog posts (or just all existing images) into this or new package to transfer them to new AEM instance. Without transferring all RTE contents this tool seems to be not very practically useful.