#] #] ********************* #] "$d_bin"'webSiteLinks instructions.txt' - ??? # www.BillHowell.ca 23Feb2023 initial # view in text editor, using constant-width font (eg courier), tabWidth = 3 #48************************************************48 #24************************24 # Table of Contents, generate with : # $ grep "^#]" "$d_bin"'webSiteLinks instructions.txt' | sed "s/^#\]/ /" # ********************* "$d_bin"'webSiteLinks instructions.txt' - ??? Instructions - select one of options, work MUST be done in sequence +-----+ pLsts_create() - create pLsts for webWork (no testing requred) +-----+ historical only - just used to convert from old QNial style of embedExecutes : QNialEmbeds_to_pLst() - extract list of embedExecute lines, no args to QNialEmbeds_to_pLst QNialEmbeds_To_htmlEmbeds() - convert old embedExecute lines to new htmlEmbeds remove_backtrack() - search : 'backtrack', replace : 'http://www.BillHowell.ca/' remove_linkError() - search : '!!linkError!!', replace : '' (not always - look) +-----+ pStrPL lists - for changing strings in files create_pStrPL_dirChanges() - known recent movements of dirs special pStrpL - are often created manually combine_pStrLP - cat [dirChanges, special] pStrPL changes, apply to all my webPages +--------------------+ Make changes urls_update() - combined [dir, special] pStrPL changes, apply to all my webPages pHtml_cutPutEmbeds)_ - [cut old, insert new] html embed files, webLocal_update() - copy all webPages to webWork so all viewing is local (no backups) webSite_update_lftp() - lftp to [upload, delete extra] online [file, dir]s #************ #] Instructions - select one of options, work MUST be done in sequence # can often run bash lines above from CLI, don't have to run functions #] +-----+ #] pLsts_create() - create pLsts for webWork (no testing requred) # pLsts_create #] +-----+ #] historical only - just used to convert from old QNial style of embedExecutes : # pLsts_create update as required during processes #] QNialEmbeds_to_pLst() - extract list of embedExecute lines, no args to QNialEmbeds_to_pLst # QNialEmbeds_to_pLst #] QNialEmbeds_To_htmlEmbeds() - convert old embedExecute lines to new htmlEmbeds # QNialEmbeds_To_htmlEmbeds "$d_web"'webWork/urls QNialEmbeds pLst test one.txt' # QNialEmbeds_To_htmlEmbeds "$d_web"'webWork/urls QNialEmbeds pLst test bag.txt' # QNialEmbeds_To_htmlEmbeds "$d_web"'webWork/urls non-[webWork, conference guides] pLst all.txt' #] remove_backtrack() - search : 'backtrack', replace : 'http://www.BillHowell.ca/' # remove_backtrack #] remove_linkError() - search : '!!linkError!!', replace : '' (not always - look) # remove_linkError #] +-----+ #] pStrPL lists - for changing strings in files # includes [moved, incomplete] subDirs, including webWork html files # generate list of errors for link to http://www.BillHowell.ca/, from old QNial code # # web[actual, link, diff]*[dir, fName] - generate pStrPL (no testing requred) # pActualLinklDiffL_create_pStrPLDirFname # dirLst_actual "$d_web"'webWork/urls pLst test.txt' # dirLst_links "$d_web"'webWork/urls pLst test.txt' # dirLst_diff "$d_web"'webWork/urls pLst test.txt' #] create_pStrPL_dirChanges() - known recent movements of dirs create_pStrPL_dirChanges() #] special pStrpL - are often created manually #] combine_pStrLP - cat [dirChanges, special] pStrPL changes, apply to all my webPages combine_pStrLP() #] +--------------------+ #] Make changes #] urls_update() - combined [dir, special] pStrPL changes, apply to all my webPages # urls_update #] pHtml_cutPutEmbeds)_ - [cut old, insert new] html embed files, # pHtml_cutPutEmbeds "$d_web"'webWork/urls pLst test.txt' # pHtml_cutPutEmbeds "$d_web"'webWork/urls pLst test bag.txt' # pHtml_cutPutEmbeds "$d_web"'webWork/urls non-[webWork, conference guides] pLst all.txt' #] webLocal_update() - copy all webPages to webWork so all viewing is local (no backups) # webLocal_update #] webSite_update_lftp() - lftp to [upload, delete extra] online [file, dir]s # webSite_update_lftp # enddoc