Open djplaner opened 2 years ago
CUrrent testing reveals the issue of a single collection of bbImage styled text being turned into multiple sequential span=bbImage and each on being treated individually. Need to
Last stage needs to detect span.canvasImage and try to find matching filenames.
e.g. the existing file links one or create a new one?
New one will require an
w2c-imageLink-found
findImageLink
checkImageLinkFound
replaceCanvasImageLinks
which creates the old file name src with the new link
Pages like 3203EDN Resources use content collection hosted images in img tags.
downloadContent.py now translates these into a new style Blackboard Image that is similar to the Embed style (i.e. encoded HTML that needs to be reinserted) but with two types
Standard image on the web - just translate
Content collection image - the URL is now a filename, need to get the URL for that filename
[x] w2c recognises Blackboard Image
[x] decodes standard html and sticks it in
[x] recognises content collection image
[x] replaces the filename with a URL to the files section (if possible)