ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Validate External Links/Development/ValExtLinks to-do.rtf
Revision: 1182
Committed: Sun May 7 19:53:19 2023 UTC (2 years, 5 months ago) by iritscen
Content type: application/rtf
File size: 4115 byte(s)
Log Message:
ValExtLinks: Added special code for checking OneDrive file links.  Added some safety code around 'curl' usage on YT and OneDrive link checks.  Fix logic error with handling the wildcard in a URL.

File Contents

# Content
1 {\rtf1\mac\ansicpg10000\cocoartf\nisusversion50300 {\*\nisusorigapp Cocoa}{\*\nisusorigdate\yr2023\mo5\dy6\hr8\min46 }{\*\nisussysvers 13.3.1}\deff0
2 {\*\fonttbl
3 {\f0\fswiss\fcharset77 Helvetica;}}
4 {\colortbl ;\red0\green0\blue254 ;}
5 {\*\nisustoctable
6 {\nisustoc\tcf68 {\nisustocname Default TOC}{\*\nisustoctabrep }{\*\nisustocretrep }{\nisustoclevelstyle TOC 1}{\nisustoclevelstyle TOC 2}{\nisustoclevelstyle TOC 3}{\nisustoclevelstyle TOC 4}{\nisustoclevelstyle TOC 5}{\nisustoclevelstyle TOC 6}{\nisustoclevelstyle TOC 7}{\nisustoclevelstyle TOC 8}{\nisustoclevelstyle TOC 9}}\nisusactivetoc68 }
7 {\*\nisusxetable
8 {\nisusxe\xef68 {\nisusxename Default Index}{\nisusxeheaderstyle Index Heading}{\nisusxelevelstyle Index 1}{\nisusxelevelstyle Index 2}{\nisusxelevelstyle Index 3}{\nisusxelevelstyle Index 4}{\nisusxelevelstyle Index 5}{\nisusxelevelstyle Index 6}{\nisusxelevelstyle Index 7}{\nisusxelevelstyle Index 8}{\nisusxelevelstyle Index 9}{\*\fldinst INDEX \\k ". " \\g \endash \\e "\tab " \\l ", " \\f D}}\nisusactivexe68 }
9 {\stylesheet
10 {\s104\snext104 \ltrpar\pardirnatural\ql\widctlpar\sb0\sa0\sl240\slmult1\hyphpar1\li0\lin0\fi0\ri0\rin0 Header;}
11 {\s105\snext105 \ltrpar\pardirnatural\ql\widctlpar\sb0\sa0\sl240\slmult1\hyphpar1\li0\lin0\fi0\ri0\rin0 Footer;}
12 {\*\cs106\ul\cf1 Hyperlink;}}
13 \defformat {\*\generator Nisus Writer Express 4.3 [0503.0004.01]}{\info {\*\nisusgmtoffset -4:00}{\author Admin}{\creatim\yr2020\mo4\dy30\hr11\min38 }{\revtim\yr2023\mo5\dy6\hr20\min41 }}
14 {\*\userprops }\nisusrulerunits0\nisusstatusbar1\nisusareaid1\viewkind4\viewscale100\nisusviewruler1\nisusviewrulerh1\nisusviewrulerv0\nisusviewtoolbar1\nisusviewtooldrawer0\nisusviewtoolswidth0\nisusviewpagenumtype1\nisusviewrulericons0\donotshowcomments1
15 {\*\nisusviewsettings\viewkind4\viewscale100 {\nisusnavsettings {\*\visible 0}{\*\width 160}{\*\isOnRightSide 0}{\*\mode toc}{\*\sort location}}{\nisuscommentsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 0}{\*\width 180}{\*\titlebarInfo 2}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}{\nisusrevisionsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 1}{\*\width 180}{\*\titlebarInfo 4}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}}
16 {\*\nisusviewsettings\viewkind1\viewscale100 {\nisusnavsettings {\*\visible 0}{\*\width 160}{\*\isOnRightSide 0}{\*\mode toc}{\*\sort location}}{\nisuscommentsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 0}{\*\width 180}{\*\titlebarInfo 2}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}{\nisusrevisionsettings {\*\visible 0}{\*\showPane 1}{\*\isOnRightSide 1}{\*\width 180}{\*\titlebarInfo 4}{\*\showTextHighlighting 1}{\*\showGutterIcons 1}}}
17 \nisusareasplitv0
18 {\*\nisuswindow\x718\y102\w613\actualw613\h631 }
19 \nshwinv0\nshwpg1\nisusinlinespell0\nisushyphnone\spltpgpar\nisusselectstart500\nisusselectlength0\fet2\ftnbj\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\pgnstart1\nocolbal \f0
20 \sectd\endnhere\cols1\ltrsect\colbalsxn0\pgwsxn12240\pghsxn15840\marglsxn1440\margrsxn1440\margtsxn1440\margbsxn1440\guttersxn0\headery720\footery360\pgncont\pgndec\sxnstarts1\sxnrestart\sxndec
21 {\header\plain\pard\s104\ltrpar\pardirnatural\ql\widctlpar\f0\fs28 }
22 {\footer\plain\pard\s105\ltrpar\pardirnatural\ql\widctlpar\f0\fs28 }
23 \deftab720 {\*\nisusscroll\nisusarea1\xoffset0\yoffset2 }{\pard\ltrpar\pardirnatural\qc {\fs28\ul ValExtLinks to-do list}{\fs28 \par
24 \par }}
25 {\pard\ltrpar\pardirnatural\ql {\fs28 - Consider porting entire script to Python. This will allow me to unify it with the existing Pywikibot scripts for checking interwiki links and intrawiki section links, which are not in the extlinks table that ValExtLinks depends upon. If reading page markup directly, will need to make sure to ignore links marked with <nowiki>.\par
26 \par
27 - Add argument --only-200-ok which doesn't treat the other entries in my OK_CODES array as OK. This may allow us to catch additional problems.{\nisusselectcaret \par }
28 \par
29 - OneDrive links like http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/Images/head.png are 404s but return 200. Need to detect these!\par }}}