#] #] "$d_bin"'webLocal/1_webLocal links.txt': links for webLocal local maintenance (NOT webUploads!) #] www.BillHowell.ca 24Aug2024 initial # view in text editor, using constant-width font (eg courier), tabWidth = 3 +-----+ #] web[Update, Upload] distinctions, file [extension, keyword]s webLocal work is split according to : update - local work on computer, [file, webPage]s that can be made public - [add, delete, modify] webPages etc, using d_webWork as tracking place upload - strictly for uploading webLocal online - fNames start with "webUpload", same extensions as updateFuncs file extensions: " header.sh" - generic bash lheader of [global variable, some functions] " instructions.txt" - res ipsa loquitor " library.sh" - generic bash library of [function, local variable]s " notes.txt" - detailed [concept, comment, note]s for web[Update, Upload]s other keyWords: TblOfCons - table of contents: auto-generated list of details in file, using '^#] ' #] 08********08 #] file descriptions for web[Update, Upload]: #] updates - local work on computer, [file, webPage]s that can be made public [add, delete, modify] webPages etc, using d_webWork as tracking place start: "$d_bin""starter/webLocal start.sh" "$d_bin": webLocal instructions.txt webLocal TblOfCons notes.txt webLocal notes.txt - detailed [concept, comment, note]s for webUpdates webLocal header.sh - global variables adapted for webLocal library.sh Library webLocal TblOfCons library.txt webLocal library.sh - library of handy bash functions for webLocal maintenance webLocal TblOfCons run.txt webLocal run.sh - run fileops.sh functions for webLocal-specific needs webLocal [find, fix, create] details.sh special webLocal functions, often [one-time, rare] changes eg [get, change, check]*[webPage, link]s add ALL THREE sets of failures to "$d_webWork"'pStrPAll_L change.txt' htmlHeadings_to_TblOfContents replace webPage header, reminder - must escape linP (strt, endd) list str occurences with [fNam, linNum] Special recovery of earlier " archive" versions of webPages if something goes wrong #] uploads - strictly for uploading webLocal to webOnline, separate see : "$d_bin"'webOnline/4_webOnline instructions.txt' - for actual webSite uploading, not for local preparations pNwpWeb_upload_online #(no args) upload pInclHtmHowAll files changes links (/home/bill/web/ -> http://www.BillHowell.ca/) lftp to online webSite "$d_bin"'webOnline/' webOnline instructions.txt - upload only, uses only lftp!! (works) webOnline notes.txt - track webUpdate [concept, work] in detail webOnline library.sh - bash funcs for uploading webSite webOnline header.sh - global variables for uploadLib #] 24************************24 #] Older links & stuff "$d_bin"'webSite maintenance specific files.txt' www.BillHowell.ca ?date? initial # 12Sep2023 see : # "$d_webWork"'fileops run.sh' - especially webSite section # "$d_webWork"'fileops run webSite.sh' - process to update [, sub]webSites # "$d_PROJECTS"'bin - secure/lftp update specified dir.sh' - actual uploading of files # "$d_bin"'webSite/webSite update notes.txt' - LOCAL d_web update, notes # "$d_bin"'webSite/webSite update.sh' - LOCAL d_web update # "$d_bin""webSite/webSite check for [z_Archive, z_Old].sh" - make sure these are not in lists # "$d_bin"'webSite/webSite maintenance specific files.link.txt' # "$d_SysMaint"'Linux/permissions notes.link.txt' - permissions issue (problematic!) "$d_SysMaint"'webSite/1_website bash upload instructions.txt' see : "$d_SysMaint"'internet & wifi/' : 0_Google Analytics - website hits.txt wget notes.txt XplorNet notes.txt etc... 09********08 ?date? incomplete listing of webSite-related functions : see "$d_bin"'fileops.sh' : # +-----+ # webSite maintenance specific # htmlHeadings_to_TblOfContents() - create a TblOfContents from headings in html file # dWeb_addHdrFtr_dTmp() - prepare files in dWeb for upload # html files MUST be pre-processed, others just copied # dWeb_update_all - update one-way only! separate [, non-]html files # see "$d_PROJECTS""bin - secure/lftp update specified dir.sh" # bash auto-generation of html TableOfContents # grep ' ||;s|["]||g;s|\(.*\)|