IUBLibTech / newton_chymistry

New version of 'The Chymistry of Isaac Newton', using XProc pipelines to generate a website based on TEI XML encodings of Newton's alchemical manuscripts, and Apache Solr as a search engine.
2 stars 0 forks source link

Integrate Latent Semantic Analysis #28

Closed Conal-Tuohy closed 4 years ago

Conal-Tuohy commented 5 years ago

The legacy LSA web page is at http://webapp1.dlib.indiana.edu/newton/lsa/index.php

Conal-Tuohy commented 5 years ago

Wally says:

The LSA component runs on Apache not Tomcat, so it hasn’t been an integral part of the Chymistry site, properly speaking. It is an Ajax app written in PHP with links either to a dev mysql database or to a separate, smaller “released” mysql database for the live site. All we really need on the Chymistry sites are the calling links on the respective splash pages. Our sys admins set up the links and redirections to the component and we’ve been using those.

This is actually still slightly unclear to me. I'm assuming that the "splash" page mentioned is the page which contains the Javascript which calls the Ajax app mentioned, and that integrating the LSA component will therefore consist of migrating that HTML page including its <script> elements into the new framework by creating a page called /page/lsa.html, and also copying the JS libraries it uses into some subfolder of /static/.

Is that correct?

Or do we still want or need to keep the PHP app in charge of producing that HTML page?

Conal-Tuohy commented 5 years ago

@wehooper is there anything else that needs doing on this issue?

wehooper commented 5 years ago

I tested the link to the LSA component on 8220 and it's working, so the remaining issue is bringing the LSA component's IU branding into compliance. I will get some help from Will who has investigated how to do the rebranding.

Conal-Tuohy commented 5 years ago

The XProc pipeline is supposed to be already handling the branding. Is there something specific that's not working you can point me to? If you could give me a link to a page without the correct branding that would be really helpful. Thanks

Conal-Tuohy commented 5 years ago

@wehooper if you make some changes to the branding can you keep me in the loop, so I can update the XProc as necessary? Or alternatively, if you remain within the bounds of what the "proxying/rebranding" XProc pipeline is currently expecting (i.e. that the content to retain is the set of divs in a section with class 'mainContent', plus any scripts), then I can avoid having to do any rework. Cheers! Or, of course, feel free to update that XSLT yourself.

mdalmau commented 4 years ago

@wehooper what's the status on this?

mdalmau commented 4 years ago

I still don't have confirmation from @wehooper but am tagging as "future" so we don't lose site of this.