#] #] ********************* #] "$d_bin"'webSite update notes.txt' - LOCAL d_web update, notes # www.BillHowell.ca 01Sep2023 initial, previous notes in QNial, etc ("see also" below Setup) # view in text editor, using constant-width font (eg courier), tabWidth = 3 #] +-----+ #] see also : #] "$d_bin"'webSite update [old ToDo, templt, geany regexpr]s.txt' #] "$d_bin"'webSite maintenance specific files.link.txt' #48************************************************48 #24************************24 # Table of Contents, generate with : # $ grep "^#]" "$d_bin"'webSite update notes.txt' | sed "s/^#\]/ /" >"$d_bin"'webSite update TbleOfContents.txt' # #24************************24 #] +-----+ #] ToDos active : 14Sep2023 pOvrClassL_get_pClassL pOvrClassL pHtmlClassAll_L - generate a pList of all classes 16Sep2023 must also trap [no-tab, empty] strP in pHum_sed_pCde? ...later... don't think affects the current situation (no empty pCde), but may make code more bullet-proof in general 17Sep2023 I need a script to better handle dirChanges across processes Already done? : 'lftp update www-BillHowell-ca.sh' 20Sep2023 format 'status & updates' MenuTops [All_, TrNN] I need to split [projmajor, projmini, pandemics, etc] - by color? 20Sep2023 MenuTop [copyright, help] are incomplete, fix classes 23Sep2023 probably deleted, must get from backup : /home/bill/web/eir3.gif /home/bill/web/../eir_subscribe_button.gif /home/bill/web/eirtoc/2000/eirtoc_2742.html 23Sep2023 /0_test/fileops/povrL_pStrP_replace/fileops dif.txt, OK but error msg - later 26Sep2023 webSite_getCheck_links() : further split Hrf into [html, txt, doc, ods, etc] 27Sep2023 steps of pWebPageL_pStrP_replaceGetBad() - checks should be logged by func!! #] +-----+ #24************************24 #08********08 #] ??Sep2023 #08********08 #] ??Sep2023 #08********08 #] ??Sep2023 #08********08 #] ??Sep2023 #08********08 #] ??Sep2023 #08********08 #] ??Sep2023 #08********08 #] ??Sep2023 #08********08 #] ??Sep2023 #08********08 #] 30Sep2023 fix webSite_get_links_run() in filops.sh +-----+ olde code if [ -f "$pMixTmp901" ];then rm "$pMixTmp901" fi nItr=0 bolLnk=1 while [ 1 -eq "$bolLnk" ]; do nItr=$(( nItr + 1 )) # echo "$linMix901" >>"$pMixTmp901" # diff "$pMixTmp901" "$pLnkTmp901" --suppress-common-lines | grep ">" | sed 's/> //' >"$pDifTmp901" # grep "$sedExpr901" "$pDifTmp901" >"$pLnkWWk901" # cp "$pLnkWWk901" "$pBadTmp901" # rm "$pMixTmp901" # if [ -s "$pLnkWWk901" ]; then # bolLnk=1 # else bolLnk=0 # fi # if ! [ 6 -le "$nItr" ]; then # break # fi done #08********08 #] 27Sep2023 pHtmlPathAll_L upload onLine - online webPages, this MUST be run ONLY from : # "$d_PROJECTS"'bin - secure/lftp update specified dir.sh' It worked GREAT!! Many links don't work for captioned-iages, but it's a start. +-----+ olde code useless - done by dWebPage_update_dWebOnly in "$d_bin_secure" : # update_dWebHtmlOnly(no args) - rm html in dWebOnly to make sure it's "clean", cp current # otherwise old html will be re-sent to webSiteOnline # 17Sep2023 inital update_dWebHtmlOnly() { date_ymdhms=$(date +"%0y%0m%0d %0kh%0Mm%0Ss") echo >>"$p_log" "$date_ymdhms update_dWebHtmlOnly" d_webOnly="$d_PROJECTS"'webHtmlOnly' pWebPageL="$d_webWork"'pHtmlPathAll_L.txt' find "$d_webOnly" -type f -print0 | xargs -0 rm -f # transfer only webPages from d_web to d_webOnly while IFS='' read -u 9 pWebPage; do pWebOnly=$( echo "$pWebPage" | sed 's|/home/bill/web/|/home/bill/PROJECTS/webHtmlOnly/|' ) # echo "$pWebOnly" cp -p "$pWebPage" "$pWebOnly" done 9<"$pWebPageL" } # pHtmlPathExclL - not necessary, as pHtmlPathAll_L is a specified list of files pTmp="$d_temp"'dWeb_update_dOnline html temp.txt' #08********08 #] 27Sep2023 update_dWebHtmlOnly(no args) - [edit, run] update_dWebHtmlOnly(no args) - rm html in dWebOnly to make sure it's "clean", cp current I added : # transfer only webPages from d_web to d_webOnly while IFS='' read -u 9 pWebPage; do pWebOnly=$( echo "$pWebPage" | sed 's|/home/bill/web/|/home/bill/PROJECTS/webHtmlOnly/|' ) # echo "$pWebOnly" cp -p "$pWebPage" "$pWebOnly" done 9<"$pWebPageL" 19:16$ bash "$d_bin"'fileops run webSite.sh' cp: cannot create regular file '/home/bill/PROJECTS/webHtmlOnly/Neural nets/callerID-SNNs/callerID-SNNs.html': No such file or directory cp: cannot create regular file '/home/bill/PROJECTS/webHtmlOnly/Neural nets/callerID-SNNs/nomenclature.html': No such file or directory >> oops, dir is lacking 19:17$ bash "$d_bin"'fileops run webSite.sh' >> perfect? #08********08 #] 27Sep2023 iterate : new "$d_webWork"'pStrPAll_L change.txt' +-----+ webSite_check_internalLinks(no args) check if-valid internal links /home/bill/web/Neural nets/TrNNs_ART/images- captioned/p030tbl01.02 complementary streams: What- [rapid, stable] learn invariant object categories, Where- [labile spatial, action] actions.png /home/bill/web/Neural nets/TrNNs_ART/images- captioned/p035fig01.22 Presentation [normal, silence, noise replaced].png /home/bill/web/Neural nets/TrNNs_ART/images- captioned/p128fig04.04 reflectance changes at contours: fill-in color contours.png /home/bill/web/Neural nets/TrNNs_ART/images- captioned/p392fig11.30 How multiple scales vote for multiple depths, scale-to-depth and depth-to-scale maps.png /home/bill/web/Neural nets/TrNNs_ART/images- captioned/p428fig12.25 ARTSPEECH: auditory-articulatory feedback loop & imitative map, [auditory, motor] dimensionally consistent, motor theory of speech.png /home/bill/web/Neural nets/TrNNs_ART/images- captioned/p505fig13.32 Behavioral contrast: [response suppression, antagonist rebound] both calibrated by shock levels.png /home/bill/web/Neural nets/TrNNs_ART/videoProdn/Grossberg's Consciousness: video script.html /home/bill/web/webWork/pMenuTopHelp TrNNs_ART.html >> not bad, most are missing /images- captioned/ Two need fixing : /home/bill/web/Neural nets/TrNNs_ART/videoProdn/Grossberg's Consciousness: video script.html /home/bill/web/webWork/pMenuTopHelp TrNNs_ART.html pWebPageL_str_extractPthLWithStr_pout '/videoProdn/Grossberg's Consciousness: video script.html' >> not easy to search this one /home/bill/web/Neural nets/TrNNs_ART/videoProdn/Grossbergs Consciousness: video script.html >> it was in pWebPageL_str_extractPthLWithStr_pout '/web/webWork/pMenuTopHelp TrNNs_ART.html' /home/bill/web/Neural nets/TrNNs_ART/webWork/bash script: put [caption, reference]s on [figure, table]s.html:27:copyrights