Theo Todman's Web Page - Notes Pages


Website Documentation

Website Generator Documentation - Create Notes Web Pages

(Text as at 31/07/2013 12:04:19)

*** THIS IS NOT THE LATEST VERSION OF THIS NOTE ***


(For the live version and other versions of this Note, see the tables at the end)


Button calls cmdNotes_Click, which invokes CreateNotesWebPages.

Check if any “Temp” Notes. If there are, ask if processing them is all we want to do. If so, skip everything until we create the Notes pages themselves.

Otherwise, check if we only want to process changed notes – ie. Temp or “just archived”. If so, flag for later use and carry on as normal.

Archiving

  1. Archive any notes that need it. Ignore “Temp” notes.
  2. Last_Changed_Timestamp = Now() * 1000 – is taken now, and used as the file-name suffix for the entire run; also used to recognise that a Note has been archived in this run.
  3. Determine the latest Archived Note using query Notes_Archive_Latest, and outer-join on Note_ID from Notes. If either the Note Text or Title differs between the current and archived version (if any), the Note is written out to Notes_Archive_Temp. When all Notes have been checked, append the archived Notes from Notes_Archive_Temp to Notes_Archive, use Notes_LastChanged_Update to set the LastChanged date on “just archived” notes to the timestamp in the corresponding Notes_Archive_Temp entry (which is Last_Changed_Timestamp, saved above).

Regenerate the Notes Links
  1. Reads all Notes using query Notes_List_Auto, which digs out the Note_Group name and the hyperlink for the corresponding Master Note (if any). This list is re-read several times in the course of subsequent processing.
  2. Searches are made for plus-plus strings. The “linked to” note is between two such pairs, sometimes with the reference prefixed by “NP”, which indicates that the Note is not to appear in the Printable version. This is recorded when the Notes_Links record is written out.


Regenerate the Note-Papers Links

Regenerate the Note-Book Links

Create Notes Pages

Residue awaiting attention1.



Live Version of this Archived Note

Date Length Title
02/03/2026 07:04:48 1377 Website Generator Documentation - Create Notes Web Pages


Table of the 2 Earlier Versions of this Note

Date Length Title
02/06/2013 10:58:05 1909 Website Generator Documentation - CreateNotesWebPage
18/12/2010 19:58:05 1870 Website Generator Documentation - CreateNotesWebPage


Table of the 4 Later Versions of this Note

Date Length Title
03/04/2021 19:58:05 2993 Website Generator Documentation - Create Notes Web Pages
03/07/2020 22:09:07 924 Website Generator Documentation - Create Notes Web Pages
05/04/2019 10:36:29 621 Website Generator Documentation - Create Notes Web Pages
13/01/2015 19:07:41 856 Website Generator Documentation - Create Notes Web Pages



This version updated Reference for this Topic Parent Topic
31/07/2013 12:04:19 842 (Website Generator Documentation - Create Notes Web Pages) Website Generator Documentation - Control Page



Summary of Notes Links from this Page

Awaiting Attention (Documentation)        

To access information, click on one of the links in the table above (if any).

Text Colour Conventions

  1. Blue: Text by me; © Theo Todman, 2026




© Theo Todman, June 2007 - March 2026.Please address any comments on this page to theo@theotodman.com.File output:
Website Maintenance Dashboard
Return to Top of this PageReturn to Theo Todman's Philosophy PageReturn to Theo Todman's Home Page