diff options
author | Rob Austein <sra@hactrn.net> | 2021-07-09 21:21:02 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2021-07-09 21:21:02 +0000 |
commit | d5b501c4046fbdc2354607c12f9f8230159e6135 (patch) | |
tree | 10d5c7a1260aca6b1b67b9e971854ee57cc15fd5 /README | |
parent | 78b3ed35c726cf8ef0ec4c4e7753e6f4775b9001 (diff) |
Incorporate project-independent stuff I did for IETF NOC
Diffstat (limited to 'README')
-rw-r--r-- | README | 32 |
1 files changed, 2 insertions, 30 deletions
@@ -1,33 +1,5 @@ -Attempts to convert Permatrac Wiki to Markdown format. - -Last time I had to do something like this it looks like I took the -Trac -> HTML -> html2markdown path. Could do that again. Recipe for -fetching the HTML: - - wget -r --user=sra@hactrn.net --ask-password https://permatrac.noc.ietf.org/wiki/ - -Slightly better recipe: - - wget -m -R '*[?]*' --user=sra@hactrn.net --ask-password https://permatrac.noc.ietf.org/wiki/ - -But either way, `wget` seems to be non-terminating when walking this -site, even if it throws away .999 of what it retrieves. In theory, -adding `-np` would have fixed this; in practice doing so causes it not -to recurse at all. Grrr. - -Scripts from rpki.net/doc/*/*.{sh,py,xsl}, included here under tools/. - -The other approach is converting Trac wiki directly to markdown. -There are hacks for this, in Ruby: - - https://gist.github.com/somebox/619537 - -But there are also Python versions, which are a bit more tractible. -Several of them included in tools/ too. - - -The most promising approach looks to be `tools/trac2md.py`, which is a -bit crude but is written in a relatively sane style so should be fixable. +Convert wiki.cryptech.is to Markdown +See tools/README for general information about the tools Pelican content format: https://docs.getpelican.com/en/latest/content.html |