2 ms·
I eventually added an editor that displays the html source in a textarea. Above it is a field with the file name, below is the submit button and a password fiel
by 6510 6y ago
I eventually added an editor that displays the html source in a textarea. Above it is a field with the file name, below is the submit button and a password field. (There also is a cookie req that I make manually and it does some IP checks when trying to save.)
After submitting it checks if there are links pointing at the (new) page. If those are missing the "success!" page gets a link pointing back at the editor with the index appended to it as the query string, the url that must be added and the page title. (the substring between <title> and </title>)
When clicked it loads the index into the editor and inserts a link into the html (so that I can move it around or type text around it)
That same functionality is reused by a bookmarklet to insert www links into pages. (it also inserts highlighted text from pages)
Except the save page everything is still static html.