Skip to content

Instantly share code, notes, and snippets.

View jsegars's full-sized avatar

Jeff Segars jsegars

View GitHub Profile
@jsegars
jsegars / README.md
Created September 25, 2017 15:40 — forked from myersjustinc/README.md
Convert HTML image map to SVG

This takes an HTML document that contains a client-side image map ( and elements) and creates an SVG image based on the shapes described in the image map (since SVG's a more general-purpose format than the HTML image map).

The HTML document doesn't necessarily have to be well-formed XML (there's a fallback to the BeautifulSoup parser for documents with some weirdness in them), which might be useful.

Dependencies

  • lxml
  • Python (of course)
@jsegars
jsegars / Index.html
Created September 24, 2013 03:58
TYPO3 Neos ViewHelper for linking to nodes from with a plugin
<mypackage:link.node node="/sites/mysite/mypage">Click Me!</mypackage:link.node>