• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Export HTML5 or Publish online > export html5 package in CC2025

Community Beginner ,
Dec 09, 2024 Dec 09, 2024

Copy link to clipboard

Copied

I am an InDesign Plugin developer and in the new release of InDesign CC 2025 I found a new feature which export a document as an HTML5 package using as follows

Export as an HTML5 or File > publish online > export html5 package

Screenshot 2024-12-10 at 11.25.19.pngScreenshot 2024-12-10 at 11.25.47.png

 

 

 

 

But I could not find any documentation in InDesign SDK or in scripting api how we could export a document as an HTML5 package.

 

Looking input either using scripting api or some service that we need to handle in sdk plugin

Any help here will be appreciated. 

TOPICS
Scripting , SDK

Views

182

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 13, 2024 Dec 13, 2024

Copy link to clipboard

Copied

I could not find a solution or documentation on HTML5 export - If someone has found anything then please share here

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

Hi, not all the new shiny things made it to the SDK or the scripting world.

 

I suspect that you could do an ePub export and then expand the .epub package to access the HTML files for processing.

 

P.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

Eh. I suspect that way lies madness. 🙂


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

Eh? You reckon?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

EPUB uses a limited and largely crippled variant of HTML — the now formally obsolete XHTML — and does not generally build content in web-conforming ways. I suppose you could get from ID -> EPUB -> Useful HTML/CSS, but even with very broad experience in all those areas, it ain't a road I'd take.

 

Not sure either PO or "HTML5 Export" are any better, given that they build pages in FXL mode, placing one digital mosaic tile at a time. The only export mode I've found useful is the now "Legacy HTML," which is imperfect but at least generates code you can repurpose.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

Would you like to offer a solution to the question?

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

I'm not a Script Guy™. 🙂

 

I'd suggest that manual export is not a difficult or time-consuming task and doesn't need to be scripted, at least until this oversight is corrected. (HTML5 export, in fact, bypasses all but one technical setting, so even export settings or a preset aren't needed.)

 

My entire focus was that EPUB is not any kind of good intermediate format for eventual HTML use, even if it does have a script hook.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

The entire Publish Online functionality has never been open to scripting (as far as I can tell), so not surprisingly HTML5 export (which is part of Publish Online) is not there either. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 14, 2024 Dec 14, 2024

Copy link to clipboard

Copied

LATEST

There is a dedicated "InDesign developers prerelease" program in the prerelease site. Ask there. Maybe they're just behind on SDK + documentation or slashed them to cut hours until someone speaks up. Make sure you also mention scripting support.

 

In the meantime I would try some experiments first, if I had the time:

- add cheap plug-in based drawing, e.g. watermark via draw event. If it shows in the manually produced HTML5 package, you know that the service is local.

- even cheaper - pull the plug on your internet while performing an export. If it still works, it is local.

- set a few breakpoints and look around at the call stack. File requests to add headers to relevant facades to the SDK.

- if it is cloud based, watch out for obscure separate web service SDKs in the developer site.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines