reader icon indicating copy to clipboard operation
reader copied to clipboard

https://cord.distantreader.org/carrels should list titles of carrels not just filenames

Open molikd opened this issue 4 years ago • 4 comments

https://carrels.distantreader.org/ should list titles of carrels not just filenames

molikd avatar Apr 15 '20 18:04 molikd

Is the source or the creator of this page in the repository? I can't seem to find it.

dbrower avatar May 27 '20 16:05 dbrower

I think this is an html template and some support scripts that pull the directory names on a machine, but I can't seem to find them either. @ericleasemorgan do you know how carrels get onto carrel.distantreader.org?

molikd avatar May 27 '20 17:05 molikd

Okay, I figured it out @dbrower your princess is in another castle: https://github.com/ericleasemorgan/reader-carrels repo is where the carrel names are added, I would start there.

molikd avatar May 27 '20 17:05 molikd

Actually, the program used to add titles (as opposed to short names) is located in the following file: https://github.com/ericleasemorgan/cord-19/blob/master/bin/add-context.pl Once a carrel is given a title, then the whole set of carrels is distilled into a table (TSV file), here https://github.com/ericleasemorgan/cord-19/blob/master/bin/make-table.sh Finally, the table ITSV file) is wrapped in an HTML page using a third file: https://github.com/ericleasemorgan/cord-19/blob/master/bin/make-directory.pl

The expectation is:

  1. a person creates a study carrel
  2. the same person evaluates the results
  3. if evaluation is not good, then go to Step #1
  4. person adds context (title and provenance) to study carrel
  5. person "publishes" the carrel by creating the table and then HTML page

The real intellectual effort is Step #1 and Step #2. Everything is relatively easy.

ericleasemorgan avatar May 28 '20 11:05 ericleasemorgan