Spaces:
Running
Running
restore Section/Column head label (type + def + hotkey h)
Browse files- index.html +3 -2
index.html
CHANGED
|
@@ -103,7 +103,7 @@ const GOLD_NAME = "revads-gold";
|
|
| 103 |
const userRepo = () => ({ type:"dataset", name:`${username()}/${GOLD_NAME}` });
|
| 104 |
const TYPES = [
|
| 105 |
["Masthead/Nameplate","#8e44ad"],["Date","#9b59b6"],["Price","#b6597e"],
|
| 106 |
-
["Publication Metadata","#221a52"],["Page Number","#2d2566"],["Article","#2e86de"],
|
| 107 |
["Editorial/Opinion","#1abc9c"],["Advertisement","#e74c3c"],["Legal/Official notice","#c0392b"],
|
| 108 |
["Table/List","#f1c40f"],["Illustration/Cut","#16a085"],["Masthead rate/terms","#d35400"],
|
| 109 |
["Other","#7f8c8d"],["Illegible/Skip","#34495e"],
|
|
@@ -115,6 +115,7 @@ const DEFS = {
|
|
| 115 |
"Price":"Subscription price (e.g. 'Two Dollars per Annum').",
|
| 116 |
"Publication Metadata":"Printer, place, volume/number, publication terms.",
|
| 117 |
"Page Number":"Folio / page number ('Whole No. 436').",
|
|
|
|
| 118 |
"Article":"News item, foreign/domestic report, correspondence.",
|
| 119 |
"Editorial/Opinion":"Editor's commentary, essays, address to the public.",
|
| 120 |
"Advertisement":"Paid commercial notice — goods, services, sales, wants.",
|
|
@@ -127,7 +128,7 @@ const DEFS = {
|
|
| 127 |
};
|
| 128 |
const KEYMAP = { "1":"Article","2":"Advertisement","3":"Legal/Official notice","4":"Editorial/Opinion",
|
| 129 |
"5":"Table/List","6":"Illustration/Cut","7":"Masthead/Nameplate","8":"Publication Metadata",
|
| 130 |
-
"9":"Date","0":"Other","p":"Price","g":"Page Number","c":"Masthead rate/terms","x":"Illegible/Skip" };
|
| 131 |
const KEYFOR = Object.fromEntries(Object.entries(KEYMAP).map(([k,v])=>[v,k]));
|
| 132 |
const SUBTYPES = ["patent","runaway (servant/enslaved person)","slave sale/hire","dry-goods/mercantile",
|
| 133 |
"real estate/land","estate/probate notice","rentals","lottery","shipping/freight/stage",
|
|
|
|
| 103 |
const userRepo = () => ({ type:"dataset", name:`${username()}/${GOLD_NAME}` });
|
| 104 |
const TYPES = [
|
| 105 |
["Masthead/Nameplate","#8e44ad"],["Date","#9b59b6"],["Price","#b6597e"],
|
| 106 |
+
["Publication Metadata","#221a52"],["Page Number","#2d2566"],["Section/Column head","#e67e22"],["Article","#2e86de"],
|
| 107 |
["Editorial/Opinion","#1abc9c"],["Advertisement","#e74c3c"],["Legal/Official notice","#c0392b"],
|
| 108 |
["Table/List","#f1c40f"],["Illustration/Cut","#16a085"],["Masthead rate/terms","#d35400"],
|
| 109 |
["Other","#7f8c8d"],["Illegible/Skip","#34495e"],
|
|
|
|
| 115 |
"Price":"Subscription price (e.g. 'Two Dollars per Annum').",
|
| 116 |
"Publication Metadata":"Printer, place, volume/number, publication terms.",
|
| 117 |
"Page Number":"Folio / page number ('Whole No. 436').",
|
| 118 |
+
"Section/Column head":"A standalone heading over a column, section, or ad (e.g. 'DANCING.', 'NOTICE').",
|
| 119 |
"Article":"News item, foreign/domestic report, correspondence.",
|
| 120 |
"Editorial/Opinion":"Editor's commentary, essays, address to the public.",
|
| 121 |
"Advertisement":"Paid commercial notice — goods, services, sales, wants.",
|
|
|
|
| 128 |
};
|
| 129 |
const KEYMAP = { "1":"Article","2":"Advertisement","3":"Legal/Official notice","4":"Editorial/Opinion",
|
| 130 |
"5":"Table/List","6":"Illustration/Cut","7":"Masthead/Nameplate","8":"Publication Metadata",
|
| 131 |
+
"9":"Date","0":"Other","p":"Price","g":"Page Number","c":"Masthead rate/terms","x":"Illegible/Skip","h":"Section/Column head" };
|
| 132 |
const KEYFOR = Object.fromEntries(Object.entries(KEYMAP).map(([k,v])=>[v,k]));
|
| 133 |
const SUBTYPES = ["patent","runaway (servant/enslaved person)","slave sale/hire","dry-goods/mercantile",
|
| 134 |
"real estate/land","estate/probate notice","rentals","lottery","shipping/freight/stage",
|