-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
247 lines (239 loc) · 14.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<html lang="en-US">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!-- Begin Jekyll SEO tag v2.7.1 -->
<title>tfb-badamicalukya-epigraphy | DHARMA Task Force B, Bādāmi Cālukya Inscriptions</title>
<meta property="og:title" content="tfb-badamicalukya-epigraphy"/>
<meta property="og:locale" content="en_US"/>
<meta name="description" content="DHARMA Task Force B, Bādāmi Cālukya Inscriptions"/>
<meta property="og:description" content="DHARMA Task Force B, Bādāmi Cālukya Inscriptions"/>
<link rel="canonical" href="https://erc-dharma.github.io/tfb-badamicalukya-epigraphy/"/>
<meta property="og:url" content="https://erc-dharma.github.io/tfb-badamicalukya-epigraphy/"/>
<meta property="og:site_name" content="tfb-badamicalukya-epigraphy"/>
<link rel="canonical" href="https://erc-dharma.github.io/tfb-badamicalukya-epigraphy/"/>
<link type="application/opensearchdescription+xml" rel="search" href="https://raw.githubusercontent.com/erc-dharma/erc-dharma.github.io/main/search.xml"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous"/>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
<script type="application/ld+json">
{"@type":"WebSite","url":"https://erc-dharma.github.io/tfb-badamicalukya-epigraphy/","headline":"tfb-badamicalukya-epigraphy","description":"DHARMA Task Force B, Bādāmi Cālukya Inscriptions","name":"tfb-badamicalukya-epigraphy","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<style class="anchorjs"></style>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CJ5KNWMVC7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CJ5KNWMVC7');
</script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="https://erc-dharma.github.io/">ERC-DHARMA</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="https://erc-dharma.github.io/">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Collections
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="https://erc-dharma.github.io/#tfa-collection">Task-Force A</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/#tfb-collection">Task-Force B</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/#tfc-collection">Task-Force C</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/#tfd-collection">Task-Force D</a>
<a class="dropdown-item" href="https://github.com/erc-dharma">All the repositories</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdownConv" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Conventions
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="https://erc-dharma.github.io/editorial">Editorial Conventions</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/output/display-prosody.html">Prosodic Conventions</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdownDoc" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Documentation
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="https://erc-dharma.github.io/critEd_elements">Critical Editions Memo</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/DiplEd_elements">Diplomatic Editions Memo</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/encoding-diplomatic/DHARMA%20EGD%20v1%20release.pdf">Encoding Guide for Diplomatic editions</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/FNC/DHARMA_FNC_v01.1.pdf">File Naming Conventions</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/open-access/DHARMA_GuideOpenAccess_March2022.pdf">Guide Open-Access</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/transliteration/DHARMA%20Transliteration%20Guide%20v3%20release.pdf">Transliteration Guide</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/zotero/DHARMA_ZoteroGuide_v01.1.1.pdf">Zotero Guide</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://erc-dharma.github.io/controlled-vocabularies/DHARMA_mdt_artefactControlledVoc">Artefacts – Controlled Vocabularies</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/controlled-vocabularies/DHARMA_mdt_artefactClosedLists">Artefacts – Closed List</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/controlled-vocabularies/DHARMA_mdt_textControlledVoc">Texts – Controlled Vocabularies</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/controlled-vocabularies/DHARMA_mdt_textClosedLists">Texts – Closed List for texts</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/atom/UsingAtom_v01">Starting with Atom</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/atom/UsingAtomGit_v01">Starting with Atom & Git</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/atom/UsingAtomTeletype_v01">Starting with Atom Teletype</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/git/DHARMA_git_guide_v01">Starting with git</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/github-issuetracker/UsingGitHubIssueTracker.pdf">Starting with GitHub issues</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/project-documentation/github-issuetracker/UsingMarkdownSyntax_v01">Starting with markdown</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/digital-areal/">Starting with XML in French</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdownConv" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Authorities files
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="https://opentheso.huma-num.fr/opentheso/?idt=th347">Controlled Vocabularies</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="">Documentation for metadata and authorities - coming</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/mdt-authorities/output/DHARMA_places.html">Places</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/mdt-authorities/output/DHARMA_persons.html">Persons</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/mdt-authorities/output/DHARMA_monuments.html">Monuments</a>
<a class="dropdown-item" href="https://erc-dharma.github.io/mdt-authorities/output/DHARMA_collections.html">Collections</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdownEP" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Epigraphical Publications
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="nav-link" href="https://erc-dharma.github.io/arie">ARIE</a>
<a class="nav-link" href="https://erc-dharma.github.io/tfb-ec-epigraphy/">Epigraphia Carnatica</a>
<a class="nav-link" href="https://erc-dharma.github.io/output-roej/display-roej.html">Répertoire Onomastique Java</a>
<a class="nav-link" href="https://erc-dharma.github.io/tfa-sii-epigraphy/index-sii.html">South-Indian Inscriptions</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/erc-dharma">GitHub</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www.zotero.org/groups/1633743/erc-dharma/library">Zotero Library</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://dharma.hypotheses.org/">Blog</a>
</li>
</ul>
<form id="search_form" class="form-inline my-2 my-lg-0">
<input id="search_input" class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col">
<h1>
<a href="https://github.com/erc-dharma/tfb-badamicalukya-epigraphy">Bādāmi Cālukya Inscriptions</a>
</h1>
<img src="https://img.shields.io/badge/licence-CC--BY-green.svg" class="img-fluid" alt="CC-BY"/>
<img src="https://badges.frapsoft.com/os/v1/open-source.svg?v=103" class="img-fluid" alt="Open Science"/>
<p>Texts edited in XML TEI by Daniel Balogh for the ERC-DHARMA Task force B.</p>
<p><span class="badge badge-warning">Number of files <b id="lenght"></b> </span> </p>
<br/>
<ul id="list" class="list-group">
</ul>
</div>
</div>
</div>
<!-- (async () => {
const response = await fetch('https://api.github.com/repos/erc-dharma/tfb-badamicalukya-epigraphy/contents/texts/htmloutput');
const data = await response.json();
let htmlString = '<ul>';
for (let file of data) {
htmlString += `<li><a href="${file.path}">${file.name}</a></li>`;
}
htmlString += '</ul>';
document.getElementsByTagName('body')[0].innerHTML = htmlString;
})()-->
<script>
const filterFiles = (filter) => {
filter = filter.toLowerCase()
return (file) => {
const filePath = file.path;
const fileName = filePath.replace('.html', '').toLowerCase().replace(/-/g, '');
const isHtml = (/.html$/).test(filePath);
const isNotLicense = filePath !== 'LICENSE.md';
const isNotTemplate = filePath !== 'template';
const isInFilter = filter.split(' ')
.every((token) => fileName.indexOf(token.toLowerCase()) !== -1)
return isHtml && isNotLicense && isInFilter && isNotTemplate;
}
}
// Match by closest to start of word then earliest word
const matchScore = (file, filter) => {
const fileWords = file.name.replace('.html', '').toLowerCase().split('-');
filter = filter.toLowerCase()
let wordIndex;
let letterPosition;
for (wordIndex = 0; wordIndex < fileWords.length; wordIndex++) {
letterPosition = fileWords[wordIndex].indexOf(filter)
if (letterPosition > -1) break;
}
if (letterPosition < 0) {
letterPosition = 100;
}
return wordIndex + letterPosition * 100;
}
// Sort files by best match
const sortFiles = (filter) => {
filter = filter.toLowerCase()
return (fileA, fileB) => {
return matchScore(fileA, filter) < matchScore(fileB, filter) ? -1 : 1;
}
}
// Render search result list
const updateList = (data, filter = '') => {
let htmlString = '';
for (let file of data.filter(filterFiles(filter)).sort(sortFiles(filter))) {
const fileName = file.path.replace('.md', '');
const fileDisplayName = fileName.replace('workflow-output/html/', '').replace('.html', '');
htmlString += `<li class="list-group-item"><a href="${fileName}">${fileDisplayName}</a></li>`;
}
document.getElementById('list').innerHTML = htmlString;
document.getElementById('lenght').innerHTML = data.length;
}
// Quick navigate to file if perfect match
const navigateToFile = (data, filter = '') => {
files = data.filter(filterFiles(filter));
if (files.length === 1) {
const fileName = files[0].path.replace('.md', '');
document.location = fileName;
}
}
(async () => {
// Get GitHub repository file info
const response = await fetch('https://api.github.com/repos/erc-dharma/tfb-badamicalukya-epigraphy/contents/workflow-output/html');
const data = await response.json();
// Initialize search fields and results
const search_form = document.getElementById('search_form');
const search_input = document.getElementById('search_input');
const search_value = decodeURIComponent(document.location.search.replace('?', '').replace(/\+/g, ' '));
search_input.value = search_value;
navigateToFile(data, search_value);
updateList(data, search_value);
// Configure search box events
search_form.addEventListener('submit', (event) => {
event.preventDefault();
navigateToFile(data, search_input.value);
})
search_input.addEventListener('input', (event) => {
updateList(data, event.target.value);
})
document.addEventListener('keypress', (event) => {
search_input.focus()
})
})()
</script>
</body>
</html>