Text to Web
Clive Semmens (2335) 3276 posts |
A little app to take a text file and put in HTML paragraph tags, and convert other things to HTML entities as necessary. Also to convert sexless quotes to sexed ones. |
Clive Semmens (2335) 3276 posts |
No longer converts things to HTML entities as I’m upgrading to HTML 5 so UTF-8 is okay on new pages, and will be on old ones as I get around to them (although I won’t generally bother to replace entities that are already there). Conversion of sexless quotes now distinguishes between quotes in text and quotes within HTML tags, so it doesn’t screw the latter up if you’ve got any HTML embedded in your text. It also breaks long lines (paragraphs) up (at spaces) for the benefit of text editors – without, obviously, putting paragraph tags in where they didn’t ’ad oughter be. |
Clive Semmens (2335) 3276 posts |
(Like my Spreadsheet to Web app, http://clive.semmens.org.uk/RISCOS/index.php?XP1ss2web this doesn’t make complete web pages, on the assumption that you’re putting in links and or images and all sorts of things, and this is merely a tool to help the processing of text to go in a page you’re putting together, probably in a text editor.) |