Not signed in (Sign In)
 

Quick Links

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthordapperdan
    • CommentTimeFeb 10th 2012
     
    The voxeu.org translator is not working (example), because they removed www. from the default URLs. They still accept it though, i.e. they do not redirect www.voxeu.org/* to voxeu.org/*.
    In short: the target regex has to be changed to ^https?://[\w\-\.]*voxeu\.org or something similar.
    • CommentAuthoradamsmith
    • CommentTimeFeb 10th 2012
     
    thanks - I'll get to that asap (I'll change the regexp to (www\.)? which is the customary and slightly more elegant way to deal with this.).
    • CommentAuthordapperdan
    • CommentTimeFeb 10th 2012
     
    Sure. [\w\-\.]* may be more robust in (the admittedly very odd) case they decide to change it to something completely different again. Plus, being a regex newbie, it took me some time to figure it out. :)
    Seriously and just for my interest, is there a drawback in using [\w\-\.]*?
    • CommentAuthoradamsmith
    • CommentTimeFeb 10th 2012
     
    we try to keep regexps pretty narrow and restrictive to avoid false positives. If I read your code correctly, it would return TRUE for a pretty much anything before voxeu - mobile.voxeu.org for example - which I don't think exists, but if it did probably wouldn't work.
    • CommentAuthoradamsmith
    • CommentTimeFeb 11th 2012
     
    it's now up - thanks again for the pointer.

Zotero Forums are powered by Vanilla 1.1.5a