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

InDesign document to html

Contributor ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Hi Everyone,

How to convert an InDesign document into Html file using script. Anyone guide me

-Jothi

TOPICS
Scripting

Views

1.0K

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

correct answers 1 Correct answer

Community Expert , Jun 08, 2020 Jun 08, 2020

File > Export, choose HTML or ePub from the format drop-down menu.

Alternatively use InDesign's Publish Online or the in5 plug in: https://ajarproductions.com

Votes

Translate

Translate
Community Expert ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

File > Export, choose HTML or ePub from the format drop-down menu.

Alternatively use InDesign's Publish Online or the in5 plug in: https://ajarproductions.com

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 ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Either go with the solutions that Derek mentioned, if it does not suit your purposes then you will have to work it out yourself. Its not a trivial task as not everything in InDesign has a direct one to one correspondence to HTML elements, for example the text composition of InDesign is something that would be hard to mimic on HTML in my opinion. You will have to earmark the feature set that you want to support and start from supporting just those feature at the start and then evolve the solution.

 

-Manan

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
Contributor ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Hi Derek_Cross and Manan Joshi,

Thanks for your reply!! I have find the one line scripting code to export indesign document into html.

-Jothi

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 ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Have you been set this as a college assignment?

As mentioned this is not really the way to go, but there's more info here for you to dig through:

https://indesignsecrets.com/exporting-from-indesign-to-html5-amazing-free-script.php

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
Contributor ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Hi Derek,

It's not a college assignment. I have visited the link you given and i'ave downloaded and checked the free script Export FXL Html.jsxbin but it's useful. I'm trying to export the InDesign document into html based on the page wise contents for that i start it with exporting full document.

-Jothi

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 ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Can you confirm why you want to export a document from InDesign as HTML – what is the purpose?

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
Contributor ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Hi Derek,

Yeah! i'll explain you I'ave an xml with bold contents insde the <bol> </bol>tag and the reason i have asked about the scripting is to check after exported the InDesign document into HTML whether the <bol> tag appears are not it appears but it shows the bold tag inside the span class. The main issue is, I have generated an xml including <bol></bol> tag for some text. After drag and drop the contents from xml in InDesign document the text included in <bol></bol> tag gets bold then if i need to change something in my document then by using liveupdate i can update it sameway it also gets updated in database too. After liveupdate the bold tag disappears in the database. i don't know what to do with it. i'm searching to do liveupdate with all tags that applied in the xml must apply to the database. Is there ia a way??? I have posted this issue in another thread you can refer by clicking this link https://community.adobe.com/t5/indesign/how-to-find-bold-text-using-script-in-indesign-document/m-p/...

-Jothi

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 ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

I'd recommend Kris for this kind of specialist scripting – he's your man!

https://www.rorohiko.com

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
Contributor ,
Jun 09, 2020 Jun 09, 2020

Copy link to clipboard

Copied

LATEST

Thank you derek i've visited the kris blog it has so many stuff to look. Shall you help me to get the bold text using script manan has helped me to get the bold text count please refer the link https://community.adobe.com/t5/indesign/how-to-find-bold-text-using-script-in-indesign-document/m-p/... for more details

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