In Browser KWIC Indexer #379
DocOtak
started this conversation in
Comments and ideas for changing CF
Replies: 2 comments 5 replies
-
Andrew -- this is really impressive! If we transfer this to the CF website, which is served by github pages, will this qualify as static webpages in a sense that is acceptable by github pages? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Dear Andrew @DocOtak That's a clever idea, and only 150 lines of code! It is slow for me as well. I don't see a reason against trying it as a test from CF GitHub, to see if that makes it KWIKer. I suggest it belongs in the Best wishes Jonathan |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Topic for discussion
Since the KWIC indexer is broken and I wanted to learn some JavaScript DOM manipulation (have been doing react for a while), I've made a page that loads the standard name XML and turns it into a KWIC index, by default it will load the "current" standard name table, but the link to the standard name XML is changeable via a query parameter:
We could remove all the static KWIC file from the website repo and just have links to this single file with the different name tables XMLs as their source. My napkin calculations suggest this would save 200MB from the website repo and we would have the added feature of having a kwic index for all the standard name versions.
This is a potential solution (or stop gap) for #296.
EDIT: Forgot to mention, I would add this file/indexer to the cf website and not be linking to andrewbarna.org, that is just for the demo. Source is here https://github.com/DocOtak/cf_kwic
Beta Was this translation helpful? Give feedback.
All reactions