LISTSERV mailing list manager LISTSERV 16.5

Help for CODE4LIB Archives


CODE4LIB Archives

CODE4LIB Archives


CODE4LIB@LISTS.CLIR.ORG


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

CODE4LIB Home

CODE4LIB Home

CODE4LIB  April 2011

CODE4LIB April 2011

Subject:

Re: NY Times Bookmarklet

From:

Jonathan Rochkind <[log in to unmask]>

Reply-To:

Code for Libraries <[log in to unmask]>

Date:

Wed, 27 Apr 2011 12:29:38 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (167 lines)

Sure, I've experimented myself with getting around the paywall's
restrictions, it's not hard.

It's not something I would suggest my organization publically (or even
privately, really) recommend to users or instruct users in how to do,
however.

There's a role for libraries in this stuff, but I think it's probably
NOT instructing our users in how to subvert the nytimes Terms of
Service. On the other hand, showing our users how to access the same
nytimes article through a source the library pays for on their behalf,
or from some other free source, like James' idea -- yeah, that's a great
idea.

On 4/27/2011 12:01 PM, Andreas Orphanides wrote:
>
> This is a kind of naive approach, and my lack of actually thinking through the matter is entirely a result of not having had to deal with it, but:
>
> As I understand it, the NYT paywall doesn't count referrals from blog posts, FriendFace, the Twitchers and the like. I'm not sure how it figures this out (referrer possibly? but see sub). I do know that frequently I'll see a variety of different query parameters at the end of a nytimes.com URL when I get to one of their pages from another source.
>
> Now, I've heard [1] that the NYT paywall isn't particularly sophisticated -- e.g., it doesn't work if Javascript is off. Also, bearing in mind that NO ONE would EVER make a practice of such a nefarious activity as trying to avoid a paywall through trickery, has anyone experimented with the effect of query parameters on said paywall?
>
> -Dre.
>
> [1] Rumors, rumors, rumors.... Maybe somewhere on daring fireball?
>
>
>>>> Erin R White/FS/VCU<[log in to unmask]> 4/27/2011 11:45 AM>>>
> James, AWESOME idea. I'm excited to share with my library.
>
> For those of you who are getting NYT through LexisNexis I've modified the
> code below - just throw in your proxy URL and library name.
>
> I also fixed the first regex to work with non-article items as well
> (op-eds, etc).
>
> javascript:
> (
> function()
> { var source = document.documentElement.innerHTML;
> var regex1 = /appeared in print on
> ((January|February|March|April|May|June|July|August|September|October|November|December)
> ([1-2][0-9]|3[0-1]|0?[1-9]), ((19|20)[0-9][0-9])), on page (\w+) of the
> New York edition with the headline:(.*)</g;
> var match = regex1.exec(source);
> if (match)
> {
> var articleDate = new Date(match[2] + ' ' + match[3] + ', '
> + match[4]);
> var articleYear = articleDate.getFullYear();
> var articleMonth = articleDate.getMonth()+1;
> var articleDay = articleDate.getDate();
> var regex2 = /([A-Z]+)(\d+)/g;
> var pageMatch = regex2.exec(match[6]);
> var articleURL =
> 'http://www.lexisnexis.com/us/lnacademic/api/version1/sr?shr=t&csi=6742&sr=HLEAD%28'
> + match[7] + '%29+AND+DATE+IS+' + articleMonth + '%2F' + articleDay +
> '%2F' + articleYear;
> window.open('http://proxy.library.vcu.edu/login?url=' +
> articleURL);
> }
> else
> {
> alert("This article hasn't been published in the print
> version of the NY Times and isn't accessible through VCU Libraries.");
> }
> }
>
> )
> ();
>
> --
> Erin White
> Web Applications Developer, VCU Libraries
> 804-827-3552 | [log in to unmask] | http://library.vcu.edu/
>
>
>
>
> From:
> Jonathan Rochkind<[log in to unmask]>
> To:
> [log in to unmask]
> Date:
> 04/27/2011 10:13 AM
> Subject:
> Re: [CODE4LIB] NY Times Bookmarklet
> Sent by:
> Code for Libraries<[log in to unmask]>
>
>
>
> This is a great idea, thanks for sharing.
>
> On 4/27/2011 9:10 AM, Van Mil, James (vanmiljf) wrote:
>> Hi everyone! (first post!)
>>
>> We've been getting lots of feedback at my library about the problem with
> the NY Times paywall and the lack of institutional access to their
> website, but we do have a subscription to a Proquest database which
> includes all current content that is included in the print addition.
>> However, every article at the web version of the NY Times that was also
> published in the print version includes a reference to the article from
> the print edition, including date, page number, and print version title
> (information which is all still accessible in the page source when the
> paywall blocks access). Additionally, the Proquest database has very clear
> search syntax.
>> So, I wrote a bookmarklet to check whether the article was published in
> print and to open a new browser window to search for the article at
> Proquest. (I know that there are other work-arounds to the paywall, but
> I'm interested in one that our library could ethically promote.)
>> The code for the bookmarklet is short, so I've included it below. I'd
> like to add the option to search the headline in Google News for any
> articles that aren't available in the print version, and I need to write
> some title-string sanitization to deal with some funky punctuation in the
> occasional headline. If anyone has any other feedback, I'd love to hear
> it. (And I apologize both for the lack of commenting (bookmarklets don't
> seem to have room for this) and for the lack of style (I started learned
> Javascript yesterday).)
>> Thanks!
>> James
>>
>> James Van Mil
>> Collections& Electronic Resources Librarian
>> Electronic Resources Department
>> University of Cincinnati Libraries
>> PO Box 210033
>> Cincinnati OH 45221-0033
>> Telephone: (513) 556-1410
>> [log in to unmask]<mailto:[log in to unmask]>
>>
>>
>>
>> javascript:
>> (
>> function()
>> { var source = document.documentElement.innerHTML;
>> var regex1 = /A version of this article appeared in print on
> ((January|February|March|April|May|June|July|August|September|October|November|December)
> ([1-2][0-9]|3[0-1]|0?[1-9]), ((19|20)[0-9][0-9])), on page (\w+) of the
> New York edition with the headline:(.*)</g;
>> var match = regex1.exec(source);
>> if (match)
>> {
>> var articleDate = new Date(match[2] + ' ' + match[3] + ',
> ' + match[4]);
>> var articleYear = articleDate.getFullYear();
>> var articleMonth = articleDate.getMonth()+1;
>> var articleDay = articleDate.getDate();
>> var regex2 = /([A-Z]+)(\d+)/g;
>> var pageMatch = regex2.exec(match[6]);
>>
> window.open('https://proxy.libraries.uc.edu/login?url=http://proquest.umi.com/pqdweb?RQT=305&SQ=issn%2803624331%29%20and%20ti%28'
> + match[7] + '%29%20and%20pdn%28' + articleMonth + '%2F' + articleDay +
> '%2F' + articleYear + '%29%20and%20startpage%28' + pageMatch[1] + '.' +
> pageMatch[2] + '%29');
>> }
>> else
>> {
>> alert("This article hasn't been published in the print
> version of the NY Times and isn't accessible through the UC Libraries.");
>> }
>> }
>>
>> )
>> ();
>>

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003

ATOM RSS1 RSS2



LISTS.CLIR.ORG

CataList Email List Search Powered by the LISTSERV Email List Manager
https://lists.clir.org/cgi-bin/wa?A2=ind1104&L=CODE4LIB&D=0&F=P&P=182278
lists.clir.org
crawl=CC-MAIN-2019-43
63258
application/http; msgtype=response
sha1:ZQDFALX7JCF4OPRCU3WRRQD364POZFYG
<urn:uuid:ce648511-fb90-4745-beb5-e22860a37f4d>
2019-10-16T06:49:31Z
66.175.211.245
text/html
sha1:GGSDX4QGCBX2W7MQJ3DSQTVUTGQBNMJN
<urn:uuid:f0221941-80eb-4afb-999f-3e7e871fd9b2>
https://lists.clir.org/cgi-bin/wa?A2=ind1104&L=CODE4LIB&D=0&F=P&P=182278
response
<urn:uuid:623a3ac3-01e6-4039-aeaf-0cdcbdccab85>
isPartOf: CC-MAIN-2019-43
publisher: Common Crawl
description: Wide crawl of the web for October 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-65.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/