Skip to content
Converts Hackpad-compatible HTML to Akoma Ntoso
HTML LiveScript
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Procfile
README.md
in.html
index.html
main.ls
package.json
pad2an.ls
sample.env
server.ls

README.md

Hackpad.tw to SayIt importer

  1. Create a new instance at mySociety SayIt, or use an existing instance.
  2. Click Import Speeches to show the /import/akomantoso screen.
  3. Enter the URL http://pad.archive.tw/ followed by Hackpad source URL (with no spaces in-between) to import the section.

For example, for the original Hackpad.tw URL at https://hackpad.com/Q2WfsTM4Az6 the corresponding import URL is http://pad.archive.tw/https://hackpad.tw/Q2WfsTM4Az6 — you can view it in browser to preview the XML structure (cache updated every minute).


Transcript format:

Speaker’s name on its own line, ending with a colon.

Speech content follows the speaker’s name as indented text and/or bullet items.

(Parenthesised non-indented lines are nonverbal actions.)


Heading 1 denotes sub-sections.

To adjust or delete existing sections, just re-import a pad with the same title text (a different URL is OK) and select Replace them in the import screen.

Usage

npm install -g livescript
npm install
lsc server.ls # or `heroku local`
You can’t perform that action at this time.