I very much agree with stripping URLs down to their functional minimum if
that's easily possible.


On Tue, Feb 26, 2013 at 10:07 PM, Aurimas Vinckevicius <
notifications@github.com> wrote:

> In NASA NTRS.js:
>
> > +					"AIRCRAFT DESIGN",
> > +					"AIRCRAFT STRUCTURES",
> > +					"COMPOSITE MATERIALS",
> > +					"COMPOSITE STRUCTURES",
> > +					"DRAG",
> > +					"LIFT DRAG RATIO",
> > +					"NOISE INTENSITY",
> > +					"NOISE POLLUTION",
> > +					"NOISE REDUCTION",
> > +					"SHAPES",
> > +					"TRANSPORT AIRCRAFT",
> > +					"WINGS"
> > +				],
> > +				"seeAlso": [],
> > +				"attachments": [],
> > +				"url": "http://ntrs.nasa.gov/search.jsp?R=20130002630&hterms=jegley&qs=Ntx%3Dmode%2520matchallpartial%2520%26Ntk%3DAll%26N%3D0%26Ntt%3Djegley",
>
> I think for a stable URL we can just store
> http://ntrs.nasa.gov/search.jsp?R=20130002630, which would strip off
> highlighting and any relationship to the search query. Maybe @adam3smith<https://github.com/adam3smith>thinks otherwise though. I would suggest transforming URLs using url
> = url.replace(/\?.*?\b(R=\d+)(?:&.*)?$/, '?$1');
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zotero/translators/pull/545/files#r3166235>
> .
>



-- 
Sebastian Karcher
Ph.D. Candidate
Department of Political Science
Northwestern University