You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cohost2autost converts chosts from json to html, but this comes with a few challenges.
some html attributes need to be renamed from their dom or react names to their html names, like ariaDescribedBy → aria-describedby. some attributes have unusual formats in the dom or react that need extra code to convert to html, like className array → class string. some attributes may contain attachment links, which we want to archive and rewrite to point to the archived version.
none of those challenges are solved with 100% accuracy yet, because the code for them is incomplete, so we have a list of known-good attributes that are guaranteed to be handled correctly. we log a warning when we see any attribute not on that list, because the autost post may be incorrect for them.
note that only the attachment links have potential for permanent data loss when cohost goes down. all of the other challenges can be fixed after cohost goes down, by rerunning cohost2autost.
<a alt>
<a rel>
<bdo dir>
<blockquote cite>
<div alt>
<div ariaDescribedBy>
<div ariaLabelledBy>
<div class>
<div dir>
<div height>
<div lang>
<div type>
<div width>
<figure ariaDescribedBy>
<h1 align>
<img align>
<img ariaDescribedBy>
<img hSpace>
<img isMap>
<img useMap>
<input checked>
<input readOnly>
<li class>
<math display>
<math xmlns>
<menclose notation>
<mi mathvariant>
<mo fence>
<mo lspace>
<mo movablelimits>
<mo rspace>
<mo separator>
<mo stretchy>
<mpadded voffset>
<mspace width>
<mstyle displaystyle>
<mstyle mathsize>
<mstyle scriptlevel>
<mtable displaystyle>
<mtable rowspacing>
<ol type>
<p dir>
<p lang>
<span ariaDescribedBy>
<span class>
<span dateTime>
<span lang>
<span name>
<table align>
<table border>
<table cellPadding>
<table cellSpacing>
<table width>
<td colSpan>
<td height>
<td lang>
<td rowSpan>
<td vAlign>
<td width>
<th colSpan>
<th scope>
<th width>
<time dateTime>
<time dir>
<time lang>
The text was updated successfully, but these errors were encountered:
cohost2autost converts chosts from json to html, but this comes with a few challenges.
some html attributes need to be renamed from their dom or react names to their html names, like
ariaDescribedBy
→aria-describedby
. some attributes have unusual formats in the dom or react that need extra code to convert to html, likeclassName
array →class
string. some attributes may contain attachment links, which we want to archive and rewrite to point to the archived version.none of those challenges are solved with 100% accuracy yet, because the code for them is incomplete, so we have a list of known-good attributes that are guaranteed to be handled correctly. we log a warning when we see any attribute not on that list, because the autost post may be incorrect for them.
note that only the attachment links have potential for permanent data loss when cohost goes down. all of the other challenges can be fixed after cohost goes down, by rerunning cohost2autost.
<a alt>
<a rel>
<bdo dir>
<blockquote cite>
<div alt>
<div ariaDescribedBy>
<div ariaLabelledBy>
<div class>
<div dir>
<div height>
<div lang>
<div type>
<div width>
<figure ariaDescribedBy>
<h1 align>
<img align>
<img ariaDescribedBy>
<img hSpace>
<img isMap>
<img useMap>
<input checked>
<input readOnly>
<li class>
<math display>
<math xmlns>
<menclose notation>
<mi mathvariant>
<mo fence>
<mo lspace>
<mo movablelimits>
<mo rspace>
<mo separator>
<mo stretchy>
<mpadded voffset>
<mspace width>
<mstyle displaystyle>
<mstyle mathsize>
<mstyle scriptlevel>
<mtable displaystyle>
<mtable rowspacing>
<ol type>
<p dir>
<p lang>
<span ariaDescribedBy>
<span class>
<span dateTime>
<span lang>
<span name>
<table align>
<table border>
<table cellPadding>
<table cellSpacing>
<table width>
<td colSpan>
<td height>
<td lang>
<td rowSpan>
<td vAlign>
<td width>
<th colSpan>
<th scope>
<th width>
<time dateTime>
<time dir>
<time lang>
The text was updated successfully, but these errors were encountered: