TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: Tips to convert Google Docs into clean HTML? From:Geoff Mann <geoff -dot- mann -at- uxwordsense -dot- com> To:techwr-l -at- lists -dot- techwr-l -dot- com Date:Tue, 4 Feb 2020 12:23:39 -0500
Just to elaborate a bit, the key conversion issue I run into with various
methods is that ordered lists break when they contain nested items such as
paragraphs and other lists.
There is a script out there (thanks, Keith) -- http://jimbir.ch/blog/clean-google-docs-html-programmatically -- that is a
few steps in the right direction for individual files, but it doesn't solve
the list numbering issue. Plus, the process isn't ideal for a large number
of files primarily because it outputs to email, which adds steps to the
overall process.
There are also a couple online HTML generators such as https://html-online.com/editor/ and https://htmlg.com/html-editor/, but
again they don't handle nested lists well and are limited to one file at a
time. That said, any one-file-at-a-time solution is workable considering
that's all I have now.
Cheers!
On Mon, Feb 3, 2020 at 10:34 PM Geoff Mann <geoff -dot- mann -at- uxwordsense -dot- com>
wrote:
> Hey folks,
>
> I hope to speed up my manual process for converting Google Docs into clean
> HTML, which currently consists of copying G Doc content into a CMS's
> WYSIWYG and cleaning up the HTML with a few search-and-replaces a couple
> manual tweaks. I'm sure there isn't a magic one-click solution that will
> convert the full range of formatting options that a tech writer utilizes
> (e.g., in-list indentations and nested lists), but does anyone happen to
> use a Chrome plugin or script that can export clean(er) HTML? Bonus points
> for a solution that can handle a batch of Google Doc files as once.
>
> Thanks for pondering.
>
> --
> Geoff
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Visit TechWhirl for the latest on content technology, content strategy and content development | https://techwhirl.com