How do we update our EZproxy web pages?
Answer
We have created a page builder to centralize this process. The source of this page builder is a set of PHP files that resides in one of our private GitHub repositories, called EZproxy-hosted.
All the pages we have customized are listed on the form. Select a page and your own college. To preview the page as it would look to a user, select the Preview checkbox. Note that EZproxy tokens such as ^U will display literally. In regular use, they will be replaced by other values.
If you are satisfied with the preview, return to the form, uncheck the Preview option, and click Submit. The resulting page will look wrong. The reason for this is that OCLC asks us to use a certain format for file references it hosts, such as CSS files. (This doesn't actually seem to be necessary, but we're complying.)
From this page, right-click and select Save page as or whatever the equivalent is for your browser. You will save this page as an HTML-only file (extension .htm). Replace the relevant file in your locally cached GitHub repository, docs directory. Note that when you are saving the file, your browser will give it a different name by default. If you selected needhost.htm in the page builder, you need to save the file as needhost.htm.
After you save the file, it's a good idea to go to your GitHub Desktop application and ensure that only the elements you expected to change did change. Then, go through the steps of updating your preprod and prod EZproxy server, and commit / push your changes to the GitHub repository.
If we want to update the content, styles, JavaScript etc. for any of the pages, we should do so in the GitHub repository and upload the edited files to the library web server.