-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SoSOL Metadata Preview #197
Comments
Tom to do code review to determine how/where XSLT is invoked. Email thread with subject line "XSLT". |
Dealing with a similar problem #199 is also important. |
That's exactly right, Carmen. The table you provided looks good. Could you
please move Author & Work up higher, to just after Title?
Thanks!
Rodney
…On Wed, Feb 22, 2017 at 10:58 AM, James M.S. Cowey ***@***.*** > wrote:
Assigned #197 <#197> to @rla2118
<https://github.com/rla2118>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#197 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF1PsYjpPyeaGAxEcHAamTWNQIwEaop7ks5rfAa2gaJpZM4LYRFM>
.
|
If I may, I think the issues are still tangled here. These seem to me to be the options:
My recommendation is number 1. Otherwise we are wasting time maintaining multiple sets of code with parallel function. @Edelweiss if there is a technical problem with implementing a solution like no. 1, please say so here. Thanks. |
I don’t assume that there should be any tech problems with solution #1. I will take a look at the implementation for ddb files to find out how best to deal with this issue. |
I came up with a solution that seems to be doing the job. The code looks somewhat cluttered and hacked, though. For instance, I’m not sure wether we really need to call the biblio template (see lines 15-16, 20 and 24-35). And what about the path variables in lines 12-14? What are they needed for? Do they need to point to a specific location? I would be happy if someone like @paregorios, @leoba or @wsalesky could review the code to find out whether it’s unnecessarily complicated (or just not complicated enough?) or perhaps even altogether wrong. |
XSLT code review needed on a new Papyrological Editor metadata preview stylesheet, which leverages our existing XSLT in order to provide on-demand previews of texts being edited in the editor. @Edelweiss indicates her concerns in the preceding comment. Would wone of @wsalesky @leoba @sarcanon be in a position to self-assign this ticket and undertake this review in the next few days? |
It looks like on the DCLP |
navigator and epidoc point now to the correct version. |
@hcayless this is the issue that @m-k-r was raising during our skype call this morning. I think I actually muddied the waters with my attempted clarification of same. @m-k-r now that I see this, I don't think you need to open a new ticket as @jcowey and I requested. Instead we just need to follow up your questions here. @ryanfb when you are back I'd like to talk to you about this. |
I think what needs doing here (@ryanfb please confirm/expand/correct) is making sure that the correct epidoc-xslt gets checked out during the setup along with the navigator xslt and that it's all in the right place. |
To clarify the problem: https://github.com/DCLP/sosol/blob/development/script/setup#L19 creates the external dependencies which are defined in https://github.com/DCLP/sosol/blob/development/config/externals.yml. These files are already configured for dclp. So the editor needs in addition to the epidoc-xslt which is defined in externals.yml the epidoc-xslt content in navigator/pn-xslt. For this reason we can't get a functioning editor with the setup-script because we have no version of the navigator which contains the content of epidoc-xslt in the pn-xslt directory. My question was how we solve this. The possibillities I see are:
|
This is what the current version of papyri/navigator pn-xslt looks like (your link points to a very old commit): https://github.com/papyri/navigator/tree/master/pn-xslt (it looks very much like the current DCLP pn-xslt directory) It defines an The DCLP version of this is also now configured to point to the DCLP/epidoc-xslt repo: https://github.com/DCLP/navigator/blob/master/pn-xslt/Rakefile As long as the navigator/pn-xslt |
Is it possible that some DCLP repos is missing important upstream changes?
On Thu, Aug 17, 2017 at 10:18 AM Ryan Baumann ***@***.***> wrote:
This is what the current version of papyri/navigator pn-xslt looks like
(your link points to a very old commit):
https://github.com/papyri/navigator/tree/master/pn-xslt (it looks very
much like the current DCLP pn-xslt directory)
It defines an epidoc-xslt checkout to a sibling directory inside its
Rakefile: https://github.com/papyri/navigator/blob/master/pn-xslt/Rakefile
The DCLP version of this is also now configured to point to the
DCLP/epidoc-xslt <https://github.com/DCLP/epidoc-xslt> repo:
https://github.com/DCLP/navigator/blob/master/pn-xslt/Rakefile
As long as the navigator/pn-xslt Rakefile and SoSOL externals.yml point
to the same repo+revision for their XSLT, and their respective checkout
commands are actually used, they will have the same XSLT. The editor
should/does not need the navigator-specific XSLT in pn-xslt.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQEdSEwOuSZuE1RvQb9y31Rcqjkg3seks5sZFmzgaJpZM4LYRFM>
.
--
--
Tom Elliott, Ph.D.
Associate Director for Digital Programs and Senior Research Scholar
Institute for the Study of the Ancient World (NYU)
http://isaw.nyu.edu/people/staff/tom-elliott
Humanities Commons: @paregorios <https://hcommons.org/members/paregorios/>
OrcID: 0000-0002-4114-6677 <http://orcid.org/0000-0002-4114-6677>
|
@ryanfb I see a different behaviour. I updated the externals.yml today so it points to our newest versions. I ran "bundle exec cap local externals:setup" and after that "rake setup" in naviagator-root/pn-xslt/ Am I missing something? The linked papyri-navigator is old but the version referenced here: |
For "Commentary" you need to update https://github.com/DCLP/sosol/blob/development/data/xslt/ddb/commentary.xsl to point to the appropriate files. See: DCLP/sosol#2 |
Fix XSLT paths in commentary.xsl for DCLP/dclpxsltbox#197
Thanks, that worked. |
Are the changes merged to master and pushed to GitHub?
On Fri, Aug 18, 2017 at 10:27 AM Marcel Keller ***@***.***> wrote:
Thanks, that worked.
I think we can close this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQEdYZR4uxQZq0SRRriRoMqnEGYaWq_ks5sZa1qgaJpZM4LYRFM>
.
--
--
Tom Elliott, Ph.D.
Associate Director for Digital Programs and Senior Research Scholar
Institute for the Study of the Ancient World (NYU)
http://isaw.nyu.edu/people/staff/tom-elliott
Humanities Commons: @paregorios <https://hcommons.org/members/paregorios/>
OrcID: 0000-0002-4114-6677 <http://orcid.org/0000-0002-4114-6677>
|
The changes are merged to development. |
I merged the changes to master |
@ryanfb does this look to be resolved to you? |
Yes. |
Display metadata that is specific to DCLP, such as ancient bibliography and information about layout and foliation. (ruby ka? xslt ka?)
The text was updated successfully, but these errors were encountered: