Discussion:
IFT.org - URLs from JavaScript not rewritten
Paul Stainthorp
2014-10-09 06:54:26 UTC
Permalink
Dear all,

Another complicated Find/Replace stanza query, I'm afraid:

With some tweaking we've been able to create a working stanza based on Find/Replace to submit the login form for http://www.ift.org/ (can't use FormVariable directives because the login uses __VIEWSTATE), plus DJ and HJ lines.

This logs the user in, correctly, and they can navigate most of the site within the proxied domain http://www.ift.org.{ourproxydomain}.ac.uk/

However navigation to back issues of the magazine is within a central menu on the page http://www.ift.org/food-technology/past-issues.aspx

The links to these back issues are generated via some fiendish JavaScript using (I think) Coveo Javascript search and underscorejs.org. These important links are not being proxied.

Can anyone suggest a way to get this one to work? Can we use one of the plain-text URL rewriting switches like ^U ?

Very many thanks in advance,

Paul

The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.

---
You are currently subscribed to ezproxy as: gee-***@m.gmane.org.
To unsubscribe, send request to ***@itec.suny.edu
Carlos Andres Leal Prieto
2014-10-10 12:54:34 UTC
Permalink
We solved for aps.org, width.... check this:

#our configuration
Title Physical Review Online Archive
URL http://prola.aps.org/
HJ *.aps.org
DJ *.aps.org
find <head>
replace <head><script type="text/javascript" src="http://biblioteca.uniandes.edu.co/Auxiliar/fm_lnk_bd.js"></script>
find </head>
replace <script>window.onload=setTimeout("format_links_aps(new Array('aps.org','doi.org'))",2500);</script></head>


(download the JS file and edit, and upload to your server)
https://biblioteca.uniandes.edu.co/Auxiliar/fm_lnk_bd.js


Cordialmente,

Carlos Andrés Leal P.
Técnico de Soporte
Sistema de Bibliotecas


-----Mensaje original-----
De: Paul Stainthorp [mailto:***@lincoln.ac.uk]
Enviado el: jueves, 09 de octubre de 2014 01:54 a.m.
Para: EZProxy discussion list
Asunto: [ezproxy] IFT.org - URLs from JavaScript not rewritten

Dear all,

Another complicated Find/Replace stanza query, I'm afraid:

With some tweaking we've been able to create a working stanza based on Find/Replace to submit the login form for http://www.ift.org/ (can't use FormVariable directives because the login uses __VIEWSTATE), plus DJ and HJ lines.

This logs the user in, correctly, and they can navigate most of the site within the proxied domain http://www.ift.org.{ourproxydomain}.ac.uk/

However navigation to back issues of the magazine is within a central menu on the page http://www.ift.org/food-technology/past-issues.aspx

The links to these back issues are generated via some fiendish JavaScript using (I think) Coveo Javascript search and underscorejs.org. These important links are not being proxied.

Can anyone suggest a way to get this one to work? Can we use one of the plain-text URL rewriting switches like ^U ?

Very many thanks in advance,

Paul

The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.

---
You are currently subscribed to ezproxy as: ***@uniandes.edu.co.
To unsubscribe, send request to ***@itec.suny.edu


---
You are currently subscribed to ezproxy as: gee-***@m.gmane.org.
To unsubscribe, send request to ***@itec.suny.edu

Loading...