Skip to content
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

Change tei to solr general script to use slug params #22

Closed
jduss4 opened this issue Oct 23, 2015 · 2 comments
Closed

Change tei to solr general script to use slug params #22

jduss4 opened this issue Oct 23, 2015 · 2 comments
Assignees

Comments

@jduss4
Copy link
Contributor

jduss4 commented Oct 23, 2015

https://github.com/CDRH/data/blob/master/scripts/xslt/cdrh_to_solr/solr_transform_tei.xsl#L19

Rather than finding the slug from the project path, we could use the slug parameter that is already being passed into the xslt:
https://github.com/CDRH/data/blob/master/config/config.example.yml#L37

I'm having trouble getting neihardt's uris to come out correctly in solr and I discovered this, though I'm not sure that it is currently contributing to my neihardt problem.

@jduss4
Copy link
Contributor Author

jduss4 commented Oct 23, 2015

:(

        "id":"nei.j4c.1.12-14",
        "slug":"",
        "project":"neihardt",
        "uri":"http://rosie.unl.edu/transmississippi/files/nei.j4c.1.12-14.html",
        "uriXML":"http://rosie.unl.edu/data/projects/neihardt//tei/nei.j4c.1.12-14.xml",
        "uriHTML":"http://rosie.unl.edu/data/projects/neihardt//html-generated/nei.j4c.1.12-14.txt",

@jduss4
Copy link
Contributor Author

jduss4 commented Dec 15, 2015

Now using the passed in parameter for slug

@jduss4 jduss4 closed this as completed Dec 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants