Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import mode - Multiple inputs / one output #426

Open
kunwarsaluja opened this issue Sep 11, 2024 · 1 comment
Open

Import mode - Multiple inputs / one output #426

kunwarsaluja opened this issue Sep 11, 2024 · 1 comment

Comments

@kunwarsaluja
Copy link

Description : We've had usecases where we needed to merge multiple urls from a non-Eds site into a single docx file but there wasn't a direct mode to use that can help transform multiple inputs into one output

Use-case - Customer had 1000s of pages where they had slideshows ranging from 10 to 100 slides and urls differentiated by query-parameter. Final output we wanted was a single docx file with all these slides with a section break between them

Way we solved if was to do 2 step process, first to import all these urls into a single docx file (say 100 docx files) and then use node scripts to merge them into a single file.

@kptdobe
Copy link
Contributor

kptdobe commented Sep 11, 2024

Probably an edge case. But of course, if this is a frequent operation, why not extending the importer.

I would have done it the other way around:

  • enable the local cache (aem import --cache ./cache)
  • use the bulk import to feed the cache
  • run a script to merge the cached html slides pages into single slideshow html pages
  • run the import against the cached slideshows served via a local http server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants