Endangered-Language-Alliance / ela-website

Endangered Language Alliance website
1 stars 0 forks source link

HTML stragglers #16

Closed rperlin-ela closed 3 years ago

rperlin-ela commented 3 years ago

These are the language pages I've found with a few special tables and stuff that need a little html conversion help:

abettermap commented 3 years ago

Nahuatl also has haiku shortcodes. Probably best to just search the db for those and anything with table-ness in it.

abettermap commented 3 years ago

Tsou “More info”

not sure what to tell you on this one...

  1. for starters, it's over 900 lines of HTML
  2. it's using at least two ancient third-party Javascript libraries which rely on another ancient third-party JS framework, jQuery, which would be absolutely overkill to add to the project since we already have a JS framework, react.
  3. it has over 150 inline styles, e.g. style="color: #0000cc;", which are not valid with React unless they are converted manually like style={ color: '#0000cc' } (and that example is just one property, some have multiple props)

by far the "simplest" thing to do is strip out all the styles, axe the third-party stuff, and use native browser audio elements for all. i'm not sure how well they can be styled, but here's what it looks like on Chrome on Mac:

image

i don't see it working without spending a half day or more trying to chop it all up and convert it, so let me know what you think.

abettermap commented 3 years ago

ok i made an executive decision on Tsou and just went with this:

image

you have to scroll on mobile, but it took about two hours of Rainmanning the HTML so let's call it a wrap. :) good luck editing any of it though, it's still 460 lines long even after all the whittling!

Neapolitan and Sicilian “Language Structure”, Breton "Background".

🤞 hoping these are less of a nightmare

abettermap commented 3 years ago

knocked 'em out in 45ish. nerd skillz come in handy! 🚀

definitely give all of them in this issue a look. closing it but feel free to reopen and add more to the list if you find any.