How to convert an InDesign document into Html file using script. Anyone guide me
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.
Hi Derek_Cross and Manan Joshi,
Thanks for your reply!! I have find the one line scripting code to export indesign document into html.
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:
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.
Can you confirm why you want to export a document from InDesign as HTML – what is the purpose?
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/...
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