1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Bureaucromancy
[Repository](https://git.argonaut-constellation.org/~alcinnz/bureaucromancy) | [Issues](https://todo.argonaut-constellation.org/~alcinnz/Bureaucromancy)
<blockquote>
<p>Magus Elgar: <q>I can hear Udo on the other side of the door! He must be fighting Victus.</q></p>
<p>Prof Horatio: <q>All that's left is the final trial. What is this? A Chamber of Bureaucromancy? What's that?</q></p>
<p>Intern Kaley Fawn: <q>You ugh! You can't put whatever you want in front of 'mancy' & call it magic! That's just stupid!</q></p>
<p>Magus Elgar: <q>Well, it looks we have to properly file out this paperwork to get through... Blasted legalese, I can't even understand half of this! Hold, we have to fill each of these out in triplicate. If we work together we can get it done in time!</q></p>
<cite><a href="https://maguselgar.com">Magus Elgar</a> E11 <a href="https://www.maguselgar.com/episodes/episode/7919aa82/magus-elgar-s01-ep-11-do-stamps-dream-of-electric-keeps">Do S.T.A.M.P.s Dream of Electric Keeps?</a></cite>
</blockquote>
Bureaucromancy is a module for parsing webforms out of webpages with the aid of XML-Conduit or HTML-Conduit. This aids rendering these forms independently of the rest of the page, with support for hypertext rendering built-in.
Run `cabal run bureaucromancy form.html` to run a local serverside webapp facilitate entering data into the first webform found in the HTML file `form.html`. Run `cabal test` to verify that forms are parsed correctly from an XML-Conduit Document.