proxy.golang.org : github.com/jimmyfrasche/htmlrep
Command htmlrep prints a report of tags and links used in a UTF-8 encoded HTML blob read from stdin. The document is never parsed, only tokenized, so many documents may be concatenated together. These reports are useful when preparing to migrate legacy data into a new web site. There are three reports: tags and attributes, links in attributes, and links in text nodes. The tags and attributes report lists each tag used in the blob on a line followed by all attributes used on all instances of that tag, where each attribute is indented by one tab. The reports are separated by blank lines. Both link reports list all unique links, one per line, in the blob. The links in attributes reports links found in all attributes known to contain links. The links on content scans text nodes for things that may be links, using a number of heuristics to cull false positives, which, while unicode aware, are largely English-centric. By default all reports are shown, but some may be hidden using the following flags: Show all reports Show only tags and attributes reports Show only links reports Show only probable links from text nodes: Show only links from attributes:
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/jimmyfrasche/htmlrep
License: BSD-2-Clause
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/jimmyfrasche
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 months ago