From 1f5c871db567bed4e7dd7f143de698055fefbf32 Mon Sep 17 00:00:00 2001
From: dvs1
Date: Thu, 2 Jan 2025 10:34:17 +1000
Subject: TODO--

Did the conversion thing a different way.
---
 TODO.md | 36 ------------------------------------
 1 file changed, 36 deletions(-)

diff --git a/TODO.md b/TODO.md
index 801aade..ffb25d3 100644
--- a/TODO.md
+++ b/TODO.md
@@ -5,10 +5,6 @@ pagehistory: https://sledjhamr.org/cgit/notYetAnotherWiki/log/TODO.md
 ---
 ## Do these
 
-See the conversion therapy section below.
-
-Add an Edit button that opens up the page in what ever wiki system it came from, for editing.
-
 Check the timestamps on the files, only update if source is newer than destination.  Meh, it's already 600 times faster than the pandoc version.
 -    One quirk to watch for is if a URL path changes, the docs that have that URL need to be redone.
 -    pandoc is a lot slower though, so do this for sure when dealing with that.
@@ -21,38 +17,6 @@ The first link of the testing/even/deeper trail is still wrong.
 
 Add atom feed for single page.  Alas cgit only seems to have ATOM feed on the whole repo, not individual files.
 
-### conversion therapy
-
-For importing from other systems, have a script that runs on that system
-and creates a nYAWsite.lua structure, same as sites[], which nYAW then
-downloads so it knows what web pages to convert.
-
-Both ends need to know what they are converting -
--    Other system end needs to know how to construct a nYAWsite.lua table from whatever format it's content is in.
--    Both  system ends may need to cooperate to get nYAWsite.lua into a place nYAW can download.  Or if running on the same system, drop it into the other system root.
--    nYAW  system end needs to know how to convert and clean up the pages.
--	nYAWsite.lua should include the name of the convert and clean up script that will be part of notYetAnotherWiki.
-
-NOTE - security risks here -
--    Automatically running Lua scripts from some other system.
--    Letting the other system tell us what script to run.
-
-Alternative is to figure out what the nYAWsite.lua is by poking at the other system.  Any given other system might not give that info easy.
-
-#### conversion ROADMAP
-put my table dumping stuff in it's own Lua library
-
-use it to write the Foswiki and PmWiki install -> nYAWsite.lua scanners, which gets created in their respective directories
-
-while notYetAnotherWiki is scanning for .md files to convert to HTML, if it comes across a nYAWsite.lua file in a directory, stop scanning for that directory and use that instead.
--    this is where it needs to know where to get the web pages to convert, and how to convert
--    -    which is stored in the nYAWsite.lua file
--    -    so we can start with a bare minimum one that just tells us the format, to be replaced by the newly generated one, which needs the format in it as well for next time
--    pandoc URL | cleanupscript > page.md
--    page.md -> page.HTML as usual
-
-figure out the nYAWsite.lua file downloading step later
-
 
 
 ## Try out
-- 
cgit v1.1