proxy scheme variable "domain"

Hello!

I was just trying to use the proxy feature to redirect
from
http://www.ncbi.nlm.nih.gov/pubmed/21609965
to
http://han.srv.meduniwien.ac.at/han/PubMedMUW/www.ncbi.nlm.nih.gov/pubmed/21609965

which works fine manually, but as soon as i want to use the same pattern on multiple sites there's the "domain" variable missing:

I would like to be able to use a pattern like this:

Hostname: www.ncbi.nlm.nih.gov
Scheme: http://han.srv.meduniwien.ac.at/han/PubMedMUW/%d/%p

where "%d" should be "The domain of the proxied page excluding the trailing slash".


By the ways i guess there would be the need for several more of these variables such as "sub-domain", "top-level-domain", etc.

And for automatic recognition: what if all links out of a proxied page would ask if they should be proxied in the same way too? Because if I find something on www.ncbi.nlm.nih.gov and click it, I usually still want to use the proxy.
  • edited July 20, 2011
    If you check the "Multi-Site" checkbox, you should be able to use %h, which I think does what you want.

    If the proxy rewrites the links and the "Automatically Associate New Hosts" box is checked, Zotero will pick up that those URLs should be proxied as well.
  • Okay, Thank you Simon! I totally missed this, now IT WORKS!!!

    My Scheme is now http://han.srv.meduniwien.ac.at/han/PubMedMUW/%h/%p

    And I've already tested the "Automatically Associate New Hosts" feature, it's working!

    THIS FEATURE IS SO GREAT!!! :D
Sign In or Register to comment.