Open pishoyg opened 2 months ago
Status:
Done:
index.html
file.No longer relevant:
coptic
repo, instead of constructing it and copying it in the site_publish
pipeline, which doesn't write anything to coptic
but goes to pishoyg.github.io
straightaway. This is more consistent with what you do in your other pipeline. It will also allow you to look at the home before it's published. (No longer relevant, we don't write markdown anymore.)TODO:
xooxle
to another. Locality is not highly desirable.ts_transpile
, and xooxle
. Consider merging ts_transpile
into other pipelines, and not saving the intermediate copy of the JavaScript.Status:
Done:
xooxle
to another. Locality is not highly desirable. (Done in 746199dd87f119614308c29d217c1cae9ab5a61a.)TODO:
raw
HTML, e.g. by removing comments and excess space.metadata
field. Stop giving the text
field special treatment in xooxle.ts
.metadata
field.ts_transpile
, and xooxle
. Consider merging ts_transpile
into other pipelines, and not saving the intermediate copy of the JavaScript.coptic
, greek
, and possibly others.NOTE: We started experiencing some performance degradation, now that the size of our search index is 24MB. The page takes a few moments to load, and you can now feel it. While this happens only occasionally (because the file gets cached by the browser afterwards), we still shouldn't be wasteful and should keep the data optimal whenever possible.
Status:
Done:
raw
HTML, e.g. by removing comments and excess space.Abandoned:
ts_transpile
, and xooxle
. Consider merging ts_transpile
into other pipelines, and not saving the intermediate copy of the JavaScript.TODO:
Parameterization:
metadata
field. Stop giving the text
field special treatment in xooxle.ts
.metadata
field.Optimization:
coptic
, greek
, and possibly others.I have an idea for HTML reduction. Let's add a retain_classes
parameter to the selector. When we extract text from a tag, let's retain the elements belonging to classes in that list in raw format, and let's extract the text from the other elements.
Let's get rid of the raw
parameter?
This whole thing is complicated and needs some brainstorming!
Update on this optimization suggestion: Initial experimentation shows that it's actually working great! We will adopt it!
Status:
Done:
coptic
, greek
, and possibly others.
TODO:
metadata
field. Stop giving the text
field special treatment in xooxle.ts
.metadata
field.Xooxle has become our flagship product, so we prioritize the improvements.
Status:
No longer relevant:
metadata
field.metadata
field.DONE:
text
field special treatment in xooxle.ts
.TODO:
view
cell. Currently you have three different parameters (view
, path_prefix
, and retain_extension
). It should be just one path_fmt
field.path
. This will also make it possible for you to simplify the JSON parsing in xooxle.ts
.TODO: Document the simplicity of the HTML structure supported by Xooxle. Currently, you only allow the following tags:
<span>
<b>
, <strong>
<i>
, <em>
<br>
Status:
No longer wanted:
path
. This will also make it possible for you to simplify the JSON parsing in xooxle.ts
.DONE:
view
cell. Currently you have three different parameters (view
, path_prefix
, and retain_extension
). It should be just one path_fmt
field.TODO:
Status:
TODO:
Reopened #234.
TODO:
index.html
file.ts_transpile
, andxooxle
.coptic
repo, instead of constructing it and copying it in thesite_publish
pipeline, which doesn't write anything tocoptic
but goes topishoyg.github.io
straightaway. This is more consistent with what you do in your other pipeline. It will also allow you to look at the home before it's published.