Quantcast
Channel: h1
Viewing all articles
Browse latest Browse all 2

A Scala shell script to read HTML H1 tag attributes

$
0
0

A Scala shell script to read HTML H1 tag attributes

I’m putting this Scala shell script out here as a “source code snippet” so I can find it again if I need it. This file reads an input file that contains a series of HTML

tags. I use this as part of a process of publishing an Amazon Kindle ebook from an HTML file, and in one of the steps of the creation process, I use this script to help create the Table of Contents (TOC) for the book.

Here’s the source code:


Viewing all articles
Browse latest Browse all 2

Trending Articles