google-scholar 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +4 -0
  5. data/Guardfile +8 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +29 -0
  8. data/Rakefile +5 -0
  9. data/google-scholar.gemspec +29 -0
  10. data/lib/google/scholar.rb +29 -0
  11. data/lib/google/scholar/article_enumerator.rb +32 -0
  12. data/lib/google/scholar/article_summary.rb +27 -0
  13. data/lib/google/scholar/author.rb +31 -0
  14. data/lib/google/scholar/author_enumerator.rb +32 -0
  15. data/lib/google/scholar/author_search.rb +10 -0
  16. data/lib/google/scholar/base.rb +15 -0
  17. data/lib/google/scholar/document.rb +31 -0
  18. data/lib/google/scholar/document/authors_document.rb +25 -0
  19. data/lib/google/scholar/document/authors_profile_document.rb +14 -0
  20. data/lib/google/scholar/scraper.rb +44 -0
  21. data/lib/google/scholar/version.rb +5 -0
  22. data/spec/fixtures/article_part.htm +1 -0
  23. data/spec/fixtures/author_profile_page.htm +1 -0
  24. data/spec/fixtures/author_result_page.htm +1 -0
  25. data/spec/fixtures/author_result_page_has_next.htm +1 -0
  26. data/spec/fixtures/full_article.htm +1 -0
  27. data/spec/fixtures/single_author_page.htm +14 -0
  28. data/spec/lib/google/scholar/article_enumerator_spec.rb +32 -0
  29. data/spec/lib/google/scholar/article_summary_spec.rb +41 -0
  30. data/spec/lib/google/scholar/author_enumerator_spec.rb +33 -0
  31. data/spec/lib/google/scholar/author_search_spec.rb +20 -0
  32. data/spec/lib/google/scholar/author_spec.rb +66 -0
  33. data/spec/lib/google/scholar/base_spec.rb +15 -0
  34. data/spec/lib/google/scholar/document/authors_document_spec.rb +103 -0
  35. data/spec/lib/google/scholar/document/authors_profile_document_spec.rb +40 -0
  36. data/spec/lib/google/scholar/scraper_spec.rb +39 -0
  37. data/spec/lib/google/scholar_spec.rb +21 -0
  38. data/spec/spec_helper.rb +19 -0
  39. metadata +196 -0
@@ -0,0 +1,5 @@
1
+ module Google
2
+ module Scholar
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1 @@
1
+ <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;pagesize=100&amp;citation_for_view=M7uPknsAAAAJ:kNdYIx-mwKoC" class="cit-dark-large-link">Weblogs and the 'middle space'for learning</a><br><span class="cit-gray">AM Deitering, S Huston</span><br><span class="cit-gray">Academic Exchange Quarterly 8 (4), 273-278</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=10042010289416132119">25</a></td><td id="col-asterisk"></td><td id="col-year">2004</td></tr>
@@ -0,0 +1 @@
1
+ <div class="g-doc-1024"><script type="text/javascript">function citToggleEmbedLink() {citHide("cit-photo-form");var elem = citGetById("cit-public-url");citToggleElem("cit-public-url", "block");return false;}function citTogglePhotoForm() {citHide("cit-public-url");citToggleElem("cit-photo-form", "inline");return false;}</script><div class="g-section g-tpl-250-alt"><div class="g-unit g-first"><div style="padding-left:1em"><a href="http://scholar.google.com/schhp?hl=en" target="_top"><img src="http://scholar.google.com/intl/en/scholar/images/scholar_logo_md_2011.gif" width="194" height="40" alt="Scholar Home" border="0"></a><form method="get" action="/citations"><input type="hidden" name="hl" value="en"><input type="hidden" name="view_op" value="search_authors"><input type="text" name="mauthors" style="width:100%"><br><input type="submit" value="Search Authors"></form><br><div style="font-size:120%"><a href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ" class="cit-dark-link" target="_top">Get my own profile</a> - <a class="cit-dark-link" href="/intl/en/scholar/citations.html">Help</a></div><br></div><div style="padding-left:1em"><div class="g-section"><div class="cit-rco cit-dgb"></div><div class="cit-rci cit-dgb"></div><div class="cit-dgb" style="font-weight: bold">&nbsp;Follow this author</div><div style="padding:.5em; border:.3em solid #9FD9A7"><div><a class="cit-dark-link" href="javascript:void(0)" onclick="citHide('cit-follow-citations-form');citToggleElem('cit-follow-articles-form', 'block')">Follow new articles</a></div><div id="cit-follow-articles-form" style="display:none"><form method="post" action="/citations?hl=en&amp;user=M7uPknsAAAAJ&amp;view_op=list_works" style="border:2px solid #9FD9A7; padding:0.5em;margin-top:0.5em">Create email alert for new articles in this profile<input type="hidden" name="xsrf" value="AMstHGQAAAAAUZwF8O8dj2fHUn3Kjqj1G6RNnyfDuy_S"><input type="hidden" name="user" value="M7uPknsAAAAJ"><input type="text" size="25" maxlength="100" id="cit-articles-email" name="email_for_op" value="treydt@gmail.com" onfocus="citClearTextHint('cit-articles-email', 'Email')" onblur="citSetTextHint('cit-articles-email','Email')"><br><input type="submit" name="follow_articles_btn" value="Create alert"> <input type="button" name="cancel_follow_articles_btn" value="Cancel" onclick="citHide('cit-follow-articles-form', 'block')"></form></div><div><a class="cit-dark-link" href="javascript:void(0)" onclick="citHide('cit-follow-articles-form');citToggleElem('cit-follow-citations-form', 'block')">Follow new citations</a></div><div id="cit-follow-citations-form" style="display:none"><form method="post" action="/citations?hl=en&amp;user=M7uPknsAAAAJ&amp;view_op=list_works" style="border:2px solid #9FD9A7; padding:0.5em;margin-top:0.5em">Create email alert for new citations to articles in this profile<input type="hidden" name="xsrf" value="AMstHGQAAAAAUZwF8O8dj2fHUn3Kjqj1G6RNnyfDuy_S"><input type="hidden" name="user" value="M7uPknsAAAAJ"><input type="text" size="25" maxlength="100" id="cit-citations-email" name="email_for_op" value="treydt@gmail.com" onfocus="citClearTextHint('cit-citations-email', 'Email')" onblur="citSetTextHint('cit-citations-email','Email')"><br><input type="submit" name="follow_citations_btn" value="Create alert"> <input type="button" name="cancel_follow_citations_btn" value="Cancel" onclick="citHide('cit-follow-citations-form','block')"></form></div></div></div><br><div class="g-section"><div class="cit-rco cit-dgb"></div><div class="cit-rci cit-dgb"></div><div class="cit-dgb" style="font-weight: bold">&nbsp;Co-authors</div><div style="padding:.5em; border:.3em solid #9FD9A7"><span style="color:#000">No co-authors</span></div></div></div></div><div class="g-unit"><div class="cit-user-info"><div class="g-section g-tpl-150"><div class="g-unit g-first"><div style="text-align: center;"><a href="/citations?user=M7uPknsAAAAJ&amp;hl=en"><img width="150" height="140" src="/citations?view_op=view_photo&amp;user=M7uPknsAAAAJ&amp;citpid=1"></a><br><a class="cit-inplaceaction" href="javascript:void(0)" onclick="citTogglePhotoForm();"></a></div></div><div class="g-unit"><div style="margin-left:6px"><form id="cit-name-form" method="post" class="cit-inplaceform" action=""><span id="cit-name-read"><span id="cit-name-display" class="cit-in-place-nohover">Anne-Marie Deitering</span></span></form><form id="cit-affiliation-form" method="post" class="cit-inplaceform" action=""><span id="cit-affiliation-read"><span id="cit-affiliation-display" class="cit-in-place-nohover">Oregon State University Libraries</span></span></form><form id="cit-int-form" method="post" class="cit-inplaceform" action=""><span id="cit-int-read"><a class="cit-dark-large-link" href="/citations?view_op=search_authors&amp;hl=en&amp;mauthors=label:information_literacy">information literacy</a>&nbsp;</span></form><form id="cit-domain-form" method="post" class="cit-inplaceform" action=""><span id="cit-domain-read"><span id="cit-domain-display" class="cit-in-place-nohover">Verified email at oregonstate.edu</span></span></form><form id="cit-homepage-form" method="post" class="cit-inplaceform" style="display:inline" action=""><span id="cit-homepage-read"></span></form></div></div></div></div><div class="g-section"><div class="cit-messagebox" id="message_box" style="visibility:hidden"><table style="display:inline-table"><tbody><tr><td><b></b><i></i><form style="display:none"><input type="hidden" id="cit-show-msg" value=""><input type="text" id="cit-shown-msg" value=""></form><form action="" method="post" name="undoFrm"><input type="hidden" name="" value=""><div id="message_text">&nbsp;</div></form><i></i><b></b></td></tr></tbody></table></div></div><div class="cit-rco cit-lbb"></div><div class="cit-rci cit-lbb"></div><div class="cit-lbb"><table style="text-align:center;width:100%"><tbody><tr><td valign="top"><b>Citation indices</b><br><table id="stats" cellspacing="0" cellpadding="0" width="205"><tbody><tr class="cit-headerrow"><td class="cit-caption">&nbsp;</td><td class="cit-borderleft">All</td><td class="cit-borderleft">Since 2008</td></tr><tr class="cit-borderbottom"><td class="cit-caption"><a href="#" class="cit-dark-link" onclick="return citToggleIndexDef('total_citations_definition')" title="This is the number of citations to all publications. The second column has the &quot;recent&quot; version of this metric which is the number of new citations in the last 5 years to all publications.">Citations</a></td><td class="cit-borderleft cit-data">59</td><td class="cit-borderleft cit-data">49</td></tr><tr class="cit-borderbottom"><td class="cit-caption"><a href="#" class="cit-dark-link" onclick="return citToggleIndexDef('h_index_definition')" title="h-index is the largest number h such that h publications have at least h citations. The second column has the &quot;recent&quot; version of this metric which is the largest number h such that h publications have at least h new citations in the last 5 years.">h-index</a></td><td class="cit-borderleft cit-data">4</td><td class="cit-borderleft cit-data">4</td></tr><tr><td class="cit-caption"><a href="#" class="cit-dark-link" onclick="return citToggleIndexDef('i_ten_index_definition')" title="i10-index is the number of publications with at least 10 citations. The second column has the &quot;recent&quot; version of this metric which is the number of publications that have received at least 10 new citations in the last 5 years.">i10-index</a></td><td class="cit-borderleft cit-data">2</td><td class="cit-borderleft cit-data">2</td></tr></tbody></table></td><td valign="top" width="475"><b>Citations to my articles</b><br><img src="http://www.google.com/chart?chs=475x90&amp;cht=bvs&amp;chf=bg,s,e8f4f7&amp;chco=1111cc&amp;chbh=r,2.0,0.0&amp;chxt=x,y&amp;chxr=1,0,13,13&amp;chd=t:15.4,15.4,23.1,46.2,38.5,76.9,69.2,100.0,38.5&amp;chxl=0:|2005||2007||2009||2011||2013" height="90" width="475" alt="Citations to my articles"></td></tr></tbody></table><div id="h_index_definition" style="display:none" class="cit-definition emphasis">h-index is the largest number h such that h publications have at least h citations. The second column has the "recent" version of this metric which is the largest number h such that h publications have at least h new citations in the last 5 years. &nbsp;<font size="-1"><a class="cit-light-link" href="#" onclick="return citHide('h_index_definition')">hide</a></font></div><div id="i_ten_index_definition" style="display:none" class="cit-definition emphasis">i10-index is the number of publications with at least 10 citations. The second column has the "recent" version of this metric which is the number of publications that have received at least 10 new citations in the last 5 years. &nbsp;<font size="-1"><a class="cit-light-link" href="#" onclick="return citHide('i_ten_index_definition')">hide</a></font></div><div id="total_citations_definition" style="display:none" class="cit-definition emphasis">This is the number of citations to all publications. The second column has the "recent" version of this metric which is the number of new citations in the last 5 years to all publications. &nbsp;<font size="-1"><a class="cit-light-link" href="#" onclick="return citHide('total_citations_definition')">hide</a></font></div></div><form method="post" action="/citations?hl=en&amp;user=M7uPknsAAAAJ&amp;view_op=list_works" id="citationsForm"><input type="hidden" name="xsrf" value="AMstHGQAAAAAUZwF8O8dj2fHUn3Kjqj1G6RNnyfDuy_S"><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td></td><td style="text-align:right;">Show:<select onchange="citGo('/citations?hl\x3den\x26user\x3dM7uPknsAAAAJ\x26view_op\x3dlist_works\x26pagesize\x3d100')"><option selected="">20</option><option>100</option></select> <span style="font-weight: bold; margin: 0 0.5em 0 0.5em;">1-20</span><a href="/citations?hl=en&amp;user=M7uPknsAAAAJ&amp;view_op=list_works&amp;cstart=20" class="cit-dark-link">Next &gt;</a></td></tr></tbody></table></div></div><div class="g-section"><div style="min-height: 200px; height: auto !important;height: 200px; border-left: 0.4em solid #9fd9a7;border-bottom: 0.3em solid #9fd9a7;"><table class="cit-table"><tbody><tr class="cit-table header"><td id="col-title"><a href="/citations?sortby=title&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;view_op=list_works" class="cit-dark-link">Title / Author</a></td><td id="col-citedby">Cited by</td><td id="col-asterisk">&nbsp;</td><td id="col-year"><a href="/citations?sortby=pubdate&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;view_op=list_works" class="cit-dark-link">Year</a></td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:kNdYIx-mwKoC" class="cit-dark-large-link">Weblogs and the 'middle space'for learning</a><br><span class="cit-gray">AM Deitering, S Huston</span><br><span class="cit-gray">Academic Exchange Quarterly 8 (4), 273-278</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=10042010289416132119">25</a></td><td id="col-asterisk"></td><td id="col-year">2004</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:u5HHmVD_uO8C" class="cit-dark-large-link">Step by step through the scholarly conversation: A collaborative library/writing faculty project to embed information literacy and promote critical thinking in first year composition at Oregon State University</a><br><span class="cit-gray">AM Deitering, S Jameson</span><br><span class="cit-gray">College &amp; Undergraduate Libraries 15 (1-2), 57-79</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=121371812641407888">15</a></td><td id="col-asterisk"></td><td id="col-year">2008</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:u-x6o8ySG0sC" class="cit-dark-large-link">Stop reinventing the wheel: using wikis for professional knowledge sharing</a><br><span class="cit-gray">AM Deitering, R Bridgewater</span><br><span class="cit-gray">Journal of web librarianship 1 (1), 27-44</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=549534473101211335">6</a></td><td id="col-asterisk"></td><td id="col-year">2007</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:9yKSN-GCB0IC" class="cit-dark-large-link">Beyond peer-reviewed articles: using blogs to enrich students' understanding of scholarly work</a><br><span class="cit-gray">AM Deitering, K Gronemyer</span><br><span class="cit-gray">portal: Libraries and the Academy 11 (1), 489-503</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=8983621860107064284">5</a></td><td id="col-asterisk"></td><td id="col-year">2011</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:d1gkVwhDpl0C" class="cit-dark-large-link">Complex questions, evolving answers: Creating a multidimensional assessment strategy to build support for the “teaching library”</a><br><span class="cit-gray">P McMillen, AM Deitering</span><br><span class="cit-gray">Public Services Quarterly 3 (1-2), 57-82</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=5665055743775332363">4</a></td><td id="col-asterisk"></td><td id="col-year">2007</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:MXK_kJrjxJIC" class="cit-dark-large-link">“I don't think it's harder, just that it's different”: Librarians' attitudes about instruction in the virtual reference environment</a><br><span class="cit-gray">K Gronemyer, AM Deitering</span><br><span class="cit-gray">Reference Services Review 37 (4), 421-434</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=629236074115482637">3</a></td><td id="col-asterisk"></td><td id="col-year">2009</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:0EnyYjriUFMC" class="cit-dark-large-link">The library as learning commons: Rethink, reuse, recycle</a><br><span class="cit-gray">U Hussong-Christian, HG Rempel, AM Deitering</span><br><span class="cit-gray">College &amp; Undergraduate Libraries 17 (2-3), 273-286</span></td><td id="col-citedby"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=3051200370123245814">1</a></td><td id="col-asterisk"></td><td id="col-year">2010</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:4TOpqqG69KYC" class="cit-dark-large-link">OSU Libraries Framework for Teaching Excellence</a><br><span class="cit-gray">U Hussong-Christian, AM Deitering, V King, T Edmunson-Morton</span><br><span class="cit-gray">Collections</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2012</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:YOwf2qJgpHMC" class="cit-dark-large-link">6 students, 6 iPads, 60 photographs: A qualitative study of undergraduate information practices in the mobile landscape</a><br><span class="cit-gray">AM Deitering, M Mellinger</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2012</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:_kc_bZDykSQC" class="cit-dark-large-link">Share and Share Alike: Barriers and Solutions to Tutorial Creation and Management</a><br><span class="cit-gray">AM Deitering, HG Rempel</span><br><span class="cit-gray">Communications in Information Literacy 5 (2), 102-116</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2012</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:ULOm3_A8WrAC" class="cit-dark-large-link">Old Habits Are Hard to Break: Lessons Learned from a Qualitative Research Study</a><br><span class="cit-gray">S Buck, AM Deitering, HG Rempel</span><br><span class="cit-gray">Collections</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2012</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:KlAtU1dfN6UC" class="cit-dark-large-link">Build It, Share It, Borrow It: Breaking Down the Barriers to Tutorial Creation</a><br><span class="cit-gray">AM Deitering, HG Rempel</span><br><span class="cit-gray">Collections</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2011</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:IjCSPb-OGe4C" class="cit-dark-large-link">Doing Research: Joining the Scholarly Conversation (Chapter 6)</a><br><span class="cit-gray">AM Deitering, L Ede</span><br><span class="cit-gray">Bedford St. Martin's</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2011</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:LkGwnXOMwfcC" class="cit-dark-large-link">Library Instruction 2.0</a><br><span class="cit-gray">R Bridgewater, AM Deitering, K Munro</span><br><span class="cit-gray">Public Services Quarterly 5 (2), 114-124</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2009</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:eQOLeE2rZwMC" class="cit-dark-large-link">PROFESSIONAL READING</a><br><span class="cit-gray">SL Johnson, BF Fernandez, AM Deitering, SS Hines, J Watson, M Aho, A Epperson</span><br><span class="cit-gray">Taylor &amp; Francis Group 3 (3-4), 209-219</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2008</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:_FxGoFyzp5QC" class="cit-dark-large-link">Collaboration in Campus-Wide Assessment: Defining Undergraduate Information Literacy Competencies for Oregon State University</a><br><span class="cit-gray">AM Deitering</span><br><span class="cit-gray">Collections</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2008</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:UeHWp8X0CEIC" class="cit-dark-large-link">Messenger; Vol. 23 No. 2 (Winter 2008)</a><br><span class="cit-gray">K Cook, U Hussong-Christian, T McLennan, S Kunda, JG Webster, C Mead, AM ...</span><br><span class="cit-gray">Oregon State University Libraries</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2008</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:5nxA0vEk-isC" class="cit-dark-large-link">Information Literacy Assessment: Standards-Based Tools and Assignments, by Teresa Y. Neely</a><br><span class="cit-gray">A Deitering</span><br><span class="cit-gray">PUBLIC SERVICES QUARTERLY 3 (3/4), 211</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2007</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:hqOjcs7Dif8C" class="cit-dark-large-link">Guiding Students from Cheating and Plagiarism to Honesty and Integrity, by Ann Lathrop and Kathleen Foss</a><br><span class="cit-gray">A Deitering</span><br><span class="cit-gray">PUBLIC SERVICES QUARTERLY 3 (1/2), 237</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2007</td></tr> <tr class="cit-table item"><td id="col-title"><a href="/citations?view_op=view_citation&amp;hl=en&amp;user=M7uPknsAAAAJ&amp;citation_for_view=M7uPknsAAAAJ:M3ejUd6NZC8C" class="cit-dark-large-link">One Size Fits All.... Or Does it? Developing Scalable Information Literacy Instruction for High Enrollment Courses</a><br><span class="cit-gray">R Wilkinson, AM Deitering</span><br><span class="cit-gray">Discover, connect, engage: creative integration of information literacy ...</span></td><td id="col-citedby"></td><td id="col-asterisk"></td><td id="col-year">2006</td></tr></tbody></table></div></div><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td></td><td style="text-align:right;">Show:<select onchange="citGo('/citations?hl\x3den\x26user\x3dM7uPknsAAAAJ\x26view_op\x3dlist_works\x26pagesize\x3d100')"><option selected="">20</option><option>100</option></select> <span style="font-weight: bold; margin: 0 0.5em 0 0.5em;">1-20</span><a href="/citations?hl=en&amp;user=M7uPknsAAAAJ&amp;view_op=list_works&amp;cstart=20" class="cit-dark-link">Next &gt;</a></td></tr></tbody></table></div></div></form><div class="cit-rci cit-dgb"></div><div class="cit-rco cit-dgb"></div></div></div><div class="g-section"><div style="margin-top: 1em; text-align: center; font-size: 1em;"><div style="margin-bottom: 1em;font-style: italic">Dates and citation counts are estimated and are determined automatically by a computer program.</div>©2013 Google - <a href="/intl/en/scholar/about.html" class="cit-dark-link" target="_top">About Google Scholar</a> - <a href="http://www.google.com/intl/en/about.html" class="cit-dark-link" target="_top">All About Google</a> - <a href="http://www.google.com/support/scholar/bin/request.py?contact_type=general" class="cit-dark-link" target="_top">Provide feedback</a> - <a href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ" class="cit-dark-link" target="_top">My Citations</a></div></div></div>
@@ -0,0 +1 @@
1
+ <div class="g-doc-1024"><table width="100%" cellspacing="0" cellpadding="0" border="0" style="clear:both;margin-top:8px"><tbody><tr><td valign="top"><a href="http://scholar.google.com/schhp?hl=en" target="_top"><img src="http://scholar.google.com/intl/en/scholar/images/scholar_logo_md_2011.gif" width="194" height="40" alt="Scholar Home" border="0"></a>&nbsp;&nbsp;</td><td valign="top" nowrap=""><form method="get" action="/citations"><input type="hidden" name="hl" value="en"><input type="hidden" name="view_op" value="search_authors"><table cellpadding="0" cellspacing="0" border="0" style="margin:1px 3px 1px 0px"><tbody><tr><td valign="top"><input type="text" size="41" maxlength="250" name="mauthors" value="author:&quot;Johnson&quot;">&nbsp;<input type="submit" value="Search Authors">&nbsp;<input type="submit" name="btnS" value="Search Scholar"></td></tr></tbody></table></form></td><td valign="top" align="right"><span style="font-size:medium"><a href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ" target="_top" class="cit-dark-link">My Citations</a></span></td></tr></tbody></table><div class="g-section"><div class="cit-messagebox" id="message_box" style="visibility:hidden"><table style="display:inline-table"><tbody><tr><td><b></b><i></i><form style="display:none"><input type="hidden" id="cit-show-msg" value=""><input type="text" id="cit-shown-msg" value=""></form><form action="" method="post" name="undoFrm"><input type="hidden" name="" value=""><div id="message_text">&nbsp;</div></form><i></i><b></b></td></tr></tbody></table></div></div><div class="g-section"><div class="cit-body"><b></b><i></i><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td><span style="font-size: 1.31em; font-weight: bold;">Authors</span>&nbsp;</td><td style="text-align:right;"><span style="font-weight: bold; margin: 0 0.5em 0 0.5em;">1-10</span><a href="/citations?view_op=search_authors&amp;hl=en&amp;mauthors=author:%22Johnson%22&amp;after_author=6jwJANrc__8J&amp;astart=10" class="cit-dark-link"> &gt;</a></td></tr></tbody></table></div></div><div class="g-section"><div style="border-left: 0.4em solid #9fd9a7; padding: 0.7em;"><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=LyEq7qEAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=LyEq7qEAAAAJ&amp;citpid=1" width="150" height="150"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=LyEq7qEAAAAJ&amp;hl=en">David S. <strong>Johnson</strong></a><br>Head, Algorithms and Optimization Research Dept, AT&amp;T Labs - Research<br>Verified email at research.att.com<br>Cited by 75131<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=ZF2fKzQAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=ZF2fKzQAAAAJ&amp;citpid=1" width="130" height="150"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=ZF2fKzQAAAAJ&amp;hl=en">Philip <strong>Johnson</strong>-Laird</a><br>Stuart Professor of Psychology, Emeritus, Princeton University; Visiting scholar, Psychology, …<br>Verified email at princeton.edu<br>Cited by 31340<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=nI2URPQAAAAJ&amp;hl=en"><img src="/citations/images/green_ghost.jpg" width="96" height="96"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=nI2URPQAAAAJ&amp;hl=en">Simon <strong>Johnson</strong></a><br>MIT Sloan<br>Verified email at mit.edu<br>Cited by 27074<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=ho9niaIAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=ho9niaIAAAAJ&amp;citpid=1" width="150" height="113"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=ho9niaIAAAAJ&amp;hl=en">Eric J. <strong>Johnson</strong></a><br>Norman Eig Professor of Business, Columbia Business School, Columbia University<br>Verified email at columbia.edu<br>Cited by 20326<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=Js4hHgYAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=Js4hHgYAAAAJ&amp;citpid=1" width="121" height="150"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=Js4hHgYAAAAJ&amp;hl=en">David <strong>Johnson</strong></a><br>Department of Nephrology, Princess Alexandra Hospital<br>Verified email at health.qld.gov.au<br>Cited by 11973<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=40UhzoMAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=40UhzoMAAAAJ&amp;citpid=1" width="129" height="150"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=40UhzoMAAAAJ&amp;hl=en">Claes <strong>Johnson</strong></a><br>Royal Insitute of Technology<br>Verified email at csc.kth.se<br>Cited by 11197<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=aU3QmmgAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=aU3QmmgAAAAJ&amp;citpid=1" width="150" height="150"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=aU3QmmgAAAAJ&amp;hl=en">Blair T. <strong>Johnson</strong></a><br>Professor of Psychology, University of Connecticut<br>Verified email at uconn.edu<br>Cited by 10420<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=W7h0qAoAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=W7h0qAoAAAAJ&amp;citpid=1" width="150" height="150"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=W7h0qAoAAAAJ&amp;hl=en">Kenneth S. <strong>Johnson</strong></a><br>Senior Scientist, Monterey Bay Aquarium Research Institute<br>Verified email at mbari.org<br>Cited by 10104<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=DUjCcewAAAAJ&amp;hl=en"><img src="/citations?view_op=view_photo&amp;user=DUjCcewAAAAJ&amp;citpid=1" width="27" height="27"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=DUjCcewAAAAJ&amp;hl=en">Newell <strong>Johnson</strong></a><br>Professor of Dental Research, Griffith University<br>Verified email at griffith.edu.au<br>Cited by 10044<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=aLwIpzYAAAAJ&amp;hl=en"><img src="/citations/images/green_ghost.jpg" width="96" height="96"></a></td><td valign="top"><a class="cit-dark-large-link" href="/citations?user=aLwIpzYAAAAJ&amp;hl=en">Toby <strong>Johnson</strong></a><br>Cited by 8995<br></td></tr></tbody></table></div></div></div></div><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td></td><td style="text-align:right;"><span style="font-weight: bold; margin: 0 0.5em 0 0.5em;">1-10</span><a href="/citations?view_op=search_authors&amp;hl=en&amp;mauthors=author:%22Johnson%22&amp;after_author=6jwJANrc__8J&amp;astart=10" class="cit-dark-link">&gt;</a></td></tr></tbody></table></div></div><i></i><b></b></div></div><div class="g-section"><div style="margin-top: 1em; text-align: center; font-size: 1em;"><div style="margin-bottom: 1em;font-style: italic">Dates and citation counts are estimated and are determined automatically by a computer program.</div>©2013 Google - <a href="/intl/en/scholar/about.html" class="cit-dark-link" target="_top">About Google Scholar</a> - <a href="http://www.google.com/intl/en/about.html" class="cit-dark-link" target="_top">All About Google</a> - <a href="http://www.google.com/support/scholar/bin/request.py?contact_type=general" class="cit-dark-link" target="_top">Provide feedback</a> - <a href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ" class="cit-dark-link" target="_top">My Citations</a></div></div></div>
@@ -0,0 +1 @@
1
+ <div class="g-doc-1024"><table width="100%" cellspacing="0" cellpadding="0" border="0" style="clear:both;margin-top:8px"><tbody><tr><td valign="top"><a target="_top" href="http://scholar.google.com/schhp?hl=en"><img width="194" height="40" border="0" alt="Scholar Home" src="http://scholar.google.com/intl/en/scholar/images/scholar_logo_md_2011.gif"></a>&nbsp;&nbsp;</td><td valign="top" nowrap=""><form action="/citations" method="get"><input type="hidden" value="en" name="hl"><input type="hidden" value="search_authors" name="view_op"><table cellspacing="0" cellpadding="0" border="0" style="margin:1px 3px 1px 0px"><tbody><tr><td valign="top"><input type="text" value="author:&quot;Johnson&quot;" name="mauthors" maxlength="250" size="41">&nbsp;<input type="submit" value="Search Authors">&nbsp;<input type="submit" value="Search Scholar" name="btnS"></td></tr></tbody></table></form></td><td valign="top" align="right"><span style="font-size:medium"><a class="cit-dark-link" target="_top" href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ">My Citations</a></span></td></tr></tbody></table><div class="g-section"><div style="visibility:hidden" id="message_box" class="cit-messagebox"><table style="display:inline-table"><tbody><tr><td><b></b><i></i><form style="display:none"><input type="hidden" value="" id="cit-show-msg"><input type="text" value="" id="cit-shown-msg"></form><form name="undoFrm" method="post" action=""><input type="hidden" value="" name=""><div id="message_text">&nbsp;</div></form><i></i><b></b></td></tr></tbody></table></div></div><div class="g-section"><div class="cit-body"><b></b><i></i><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td><span style="font-size: 1.31em; font-weight: bold;">Authors</span>&nbsp;</td><td style="text-align:right;"><span style="font-weight: bold; margin: 0 0.5em 0 0.5em;">1-10</span><a class="cit-dark-link" href="/citations?view_op=search_authors&amp;hl=en&amp;mauthors=author:%22Johnson%22&amp;after_author=6jwJANrc__8J&amp;astart=10">Next &gt;</a></td></tr></tbody></table></div></div><div class="g-section"><div style="border-left: 0.4em solid #9fd9a7; padding: 0.7em;"><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=LyEq7qEAAAAJ&amp;hl=en"><img width="150" height="150" src="/citations?view_op=view_photo&amp;user=LyEq7qEAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=LyEq7qEAAAAJ&amp;hl=en" class="cit-dark-large-link">David S. <strong>Johnson</strong></a><br>Head, Algorithms and Optimization Research Dept, AT&amp;T Labs - Research<br>Verified email at research.att.com<br>Cited by 75131<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=ZF2fKzQAAAAJ&amp;hl=en"><img width="130" height="150" src="/citations?view_op=view_photo&amp;user=ZF2fKzQAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=ZF2fKzQAAAAJ&amp;hl=en" class="cit-dark-large-link">Philip <strong>Johnson</strong>-Laird</a><br>Stuart Professor of Psychology, Emeritus, Princeton University; Visiting scholar, Psychology, …<br>Verified email at princeton.edu<br>Cited by 31340<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=nI2URPQAAAAJ&amp;hl=en"><img width="96" height="96" src="/citations/images/green_ghost.jpg"></a></td><td valign="top"><a href="/citations?user=nI2URPQAAAAJ&amp;hl=en" class="cit-dark-large-link">Simon <strong>Johnson</strong></a><br>MIT Sloan<br>Verified email at mit.edu<br>Cited by 27074<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=ho9niaIAAAAJ&amp;hl=en"><img width="150" height="113" src="/citations?view_op=view_photo&amp;user=ho9niaIAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=ho9niaIAAAAJ&amp;hl=en" class="cit-dark-large-link">Eric J. <strong>Johnson</strong></a><br>Norman Eig Professor of Business, Columbia Business School, Columbia University<br>Verified email at columbia.edu<br>Cited by 20326<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=Js4hHgYAAAAJ&amp;hl=en"><img width="121" height="150" src="/citations?view_op=view_photo&amp;user=Js4hHgYAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=Js4hHgYAAAAJ&amp;hl=en" class="cit-dark-large-link">David <strong>Johnson</strong></a><br>Department of Nephrology, Princess Alexandra Hospital<br>Verified email at health.qld.gov.au<br>Cited by 11973<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=40UhzoMAAAAJ&amp;hl=en"><img width="129" height="150" src="/citations?view_op=view_photo&amp;user=40UhzoMAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=40UhzoMAAAAJ&amp;hl=en" class="cit-dark-large-link">Claes <strong>Johnson</strong></a><br>Royal Insitute of Technology<br>Verified email at csc.kth.se<br>Cited by 11197<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=aU3QmmgAAAAJ&amp;hl=en"><img width="150" height="150" src="/citations?view_op=view_photo&amp;user=aU3QmmgAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=aU3QmmgAAAAJ&amp;hl=en" class="cit-dark-large-link">Blair T. <strong>Johnson</strong></a><br>Professor of Psychology, University of Connecticut<br>Verified email at uconn.edu<br>Cited by 10420<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=W7h0qAoAAAAJ&amp;hl=en"><img width="150" height="150" src="/citations?view_op=view_photo&amp;user=W7h0qAoAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=W7h0qAoAAAAJ&amp;hl=en" class="cit-dark-large-link">Kenneth S. <strong>Johnson</strong></a><br>Senior Scientist, Monterey Bay Aquarium Research Institute<br>Verified email at mbari.org<br>Cited by 10104<br></td></tr></tbody></table></div></div><div class="g-section g-tpl-50-50"><div class="g-unit g-first"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=DUjCcewAAAAJ&amp;hl=en"><img width="27" height="27" src="/citations?view_op=view_photo&amp;user=DUjCcewAAAAJ&amp;citpid=1"></a></td><td valign="top"><a href="/citations?user=DUjCcewAAAAJ&amp;hl=en" class="cit-dark-large-link">Newell <strong>Johnson</strong></a><br>Professor of Dental Research, Griffith University<br>Verified email at griffith.edu.au<br>Cited by 10044<br></td></tr></tbody></table></div><div class="g-unit"><table style="margin: 5px 0px;"><tbody><tr><td style="text-align: center; padding: 0px 5px;width: 150px;"><a href="/citations?user=aLwIpzYAAAAJ&amp;hl=en"><img width="96" height="96" src="/citations/images/green_ghost.jpg"></a></td><td valign="top"><a href="/citations?user=aLwIpzYAAAAJ&amp;hl=en" class="cit-dark-large-link">Toby <strong>Johnson</strong></a><br>Cited by 8995<br></td></tr></tbody></table></div></div></div></div><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td></td><td style="text-align:right;"><span style="font-weight: bold; margin: 0 0.5em 0 0.5em;">1-10</span><a class="cit-dark-link" href="/citations?view_op=search_authors&amp;hl=en&amp;mauthors=author:%22Johnson%22&amp;after_author=6jwJANrc__8J&amp;astart=10">Next &gt;</a></td></tr></tbody></table></div></div><i></i><b></b></div></div><div class="g-section"><div style="margin-top: 1em; text-align: center; font-size: 1em;"><div style="margin-bottom: 1em;font-style: italic">Dates and citation counts are estimated and are determined automatically by a computer program.</div>&copy;2013 Google - <a target="_top" class="cit-dark-link" href="/intl/en/scholar/about.html">About Google Scholar</a> - <a target="_top" class="cit-dark-link" href="http://www.google.com/intl/en/about.html">All About Google</a> - <a target="_top" class="cit-dark-link" href="http://www.google.com/support/scholar/bin/request.py?contact_type=general">Provide feedback</a> - <a target="_top" class="cit-dark-link" href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ">My Citations</a></div></div></div>
@@ -0,0 +1 @@
1
+ <div class="g-doc-1024"><div class="g-section g-tpl-250-alt"><div class="g-unit g-first"><div style="padding-left:1em"><a href="http://scholar.google.com/schhp?hl=en" target="_top"><img src="http://scholar.google.com/intl/en/scholar/images/scholar_logo_md_2011.gif" width="194" height="40" alt="Scholar Home" border="0"></a><form method="get" action="/citations"><input type="hidden" name="hl" value="en"><input type="hidden" name="view_op" value="search_authors"><input type="text" name="mauthors" style="width:100%"><br><input type="submit" value="Search Authors"></form><br><div style="font-size:120%"><a href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ" class="cit-dark-link" target="_top">Get my own profile</a> - <a class="cit-dark-link" href="/intl/en/scholar/citations.html">Help</a></div><br></div></div><div class="g-unit"><div class="cit-user-info"><div class="g-section g-tpl-150"><div class="g-unit g-first"><div style="text-align: center;"><a href="/citations?user=M7uPknsAAAAJ&amp;hl=en"><img width="150" height="140" src="/citations?view_op=view_photo&amp;user=M7uPknsAAAAJ&amp;citpid=1"></a><br><a class="cit-inplaceaction" href="javascript:void(0)" onclick="citTogglePhotoForm();"></a></div></div><div class="g-unit"><div style="margin-left:6px"><form id="cit-name-form" method="post" class="cit-inplaceform" action=""><span id="cit-name-read"><span id="cit-name-display" class="cit-in-place-nohover">Anne-Marie Deitering</span></span></form><form id="cit-affiliation-form" method="post" class="cit-inplaceform" action=""><span id="cit-affiliation-read"><span id="cit-affiliation-display" class="cit-in-place-nohover">Oregon State University Libraries</span></span></form><form id="cit-int-form" method="post" class="cit-inplaceform" action=""><span id="cit-int-read"><a class="cit-dark-large-link" href="/citations?view_op=search_authors&amp;hl=en&amp;mauthors=label:information_literacy">information literacy</a>&nbsp;</span></form><form id="cit-domain-form" method="post" class="cit-inplaceform" action=""><span id="cit-domain-read"><span id="cit-domain-display" class="cit-in-place-nohover">Verified email at oregonstate.edu</span></span></form><form id="cit-homepage-form" method="post" class="cit-inplaceform" style="display:inline" action=""><span id="cit-homepage-read"></span></form></div></div></div></div></div></div><div class="g-section"><div class="cit-messagebox" id="message_box" style="visibility:hidden"><table style="display:inline-table"><tbody><tr><td><b></b><i></i><form style="display:none"><input type="hidden" id="cit-show-msg" value=""><input type="text" id="cit-shown-msg" value=""></form><form action="" method="post" name="undoFrm"><input type="hidden" name="" value=""><div id="message_text">&nbsp;</div></form><i></i><b></b></td></tr></tbody></table></div></div><div class="g-section"><table class="cit-bodytable"><tbody><tr><td class="cit-contentcell"><div class="cit-body"><b></b><i></i><form method="post" action="/citations?hl=en&amp;user=M7uPknsAAAAJ&amp;pagesize=100&amp;citation_for_view=M7uPknsAAAAJ:kNdYIx-mwKoC&amp;view_op=view_citation" id="citationsForm"><input type="hidden" name="xsrf" value="AMstHGQAAAAAUZwUNhDkVEe98eINVvmKTwGVKUBs1SIM"><input type="hidden" name="s" value="M7uPknsAAAAJ:kNdYIx-mwKoC"><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td><a href="/citations?user=M7uPknsAAAAJ&amp;hl=en&amp;pagesize=100" class="cit-dark-link">« Back to list</a>&nbsp;&nbsp;<input type="submit" value="Export" id="export_btn_top" name="export_btn"> </td><td style="text-align:right;"></td></tr></tbody></table></div></div><div style="border-left:0.4em solid #9fd9a7;"><div class="g-section"><div style="padding: 0.5em 0 0 0"><div class="g-section cit-fieldbox" id="main_sec"><u></u><i></i><div style="float:right;padding:8px;font-size:120%;"><a class="cit-bg-link" href="http://www.rapidintellect.com/AEQweb/5mar2879z4.htm"><span style="font-size:small;font-weight:bold">[HTML]</span> from rapidintellect.com</a><br><a class="cit-bg-link" href="http://mw8xt6bj7r.scholar.serialssolutions.com/?sid=google&amp;auinit=AM&amp;aulast=Deitering&amp;atitle=Weblogs+and+the+%E2%80%98middle+space%E2%80%99for+learning&amp;title=Academic+exchange+quarterly&amp;volume=8&amp;issue=4&amp;date=2004&amp;spage=273&amp;issn=1096-1453">Find it at OSU</a></div><div class="cit-dl"><div class="cit-dt">Title</div><div class="cit-dd"><div id="title"><a style="text-decoration:none" href="http://www.rapidintellect.com/AEQweb/5mar2879z4.htm">Weblogs and the ‘middle space’for learning</a></div></div><div class="g-section"><div class="cit-dt">Authors</div><div class="cit-dd"> Anne-Marie Deitering, Shaun Huston</div></div><div class="g-section" id="pubdate_sec"><div class="cit-dt">Publication date</div><div class="cit-dd">2004</div></div><div class="g-section" id="venue_sec"><div class="cit-dt">Journal name</div><div class="cit-dd">Academic Exchange Quarterly</div></div><div class="g-section" id="volume_sec"><div class="cit-dt">Volume</div><div class="cit-dd">8</div></div><div class="g-section" id="issue_sec"><div class="cit-dt">Issue</div><div class="cit-dd">4</div></div><div class="g-section" id="pages_sec"><div class="cit-dt">Pages</div><div class="cit-dd">273-278</div></div><div class="g-section" id="description_sec"><div class="cit-dt">Description</div><div class="cit-dd">Abstract Advocates suggest that Course Management Systems can transform the higher <br>education classroom into a more student-centered space. However, this has not happened. <br>To achieve this goal more easily, some educators are turning to weblogs (“blogs”). This <br>paper compares the educational potential of blogs and reports on direct experience <br>suggesting that blogs can be a creative and interactive middle space between online and <br>traditional classrooms.</div></div></div><i></i><u></u></div><div class="g-section cit-fieldbox"><u></u><i></i><div class="cit-dl"><div class="g-section" id="scholar_sec"><div class="cit-dt">Total citations</div><div class="cit-dd"><a class="cit-dark-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=10042010289416132119">Cited by 25</a></div></div><br><div class="g-section"><div class="cit-dt">Citations per year</div><div class="cit-dd"><img src="http://www.google.com/chart?chs=475x90&amp;cht=bvs&amp;chf=bg,s,e8f4f7&amp;chco=1111cc&amp;chbh=r,2.0,0.0&amp;chxt=x,y&amp;chxr=1,0,5,5&amp;chd=t:40.0,40.0,60.0,80.0,40.0,20.0,20.0,100.0,40.0&amp;chxl=0:|2005||2007||2009||2011||2013" height="90" width="475" alt=""></div></div><div class="g-section"><div class="cit-dt">Scholar articles</div><div class="cit-dd"><a href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cluster=10042010289416132119&amp;btnI=Lucky" class="cit-dark-link">Weblogs and the ‘middle space’for learning</a><br>AM Deitering, S Huston - Academic Exchange Quarterly, 2004<br><a class="cit-bg-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cites=10042010289416132119">Cited by 25</a> - <a class="cit-bg-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;q=related:F1Z3QydjXIsJ:scholar.google.com/">Related articles</a> - <a class="cit-bg-link" href="http://scholar.google.com/scholar?oi=bibs&amp;hl=en&amp;cluster=10042010289416132119">All 3 versions</a><br></div></div></div><i></i><u></u></div></div></div></div><div class="g-section cit-dgb"><div style="padding:0.3em 0.6em;"><table style="width:100%"><tbody><tr><td><a href="/citations?user=M7uPknsAAAAJ&amp;hl=en&amp;pagesize=100" class="cit-dark-link">« Back to list</a>&nbsp;&nbsp;<input type="submit" value="Export" id="export_btn_bottom" name="export_btn"> </td><td style="text-align:right;"></td></tr></tbody></table></div></div></form><i></i><b></b></div></td></tr></tbody></table></div><div class="g-section"><div style="margin-top: 1em; text-align: center; font-size: 1em;"><div style="margin-bottom: 1em;font-style: italic">Dates and citation counts are estimated and are determined automatically by a computer program.</div>©2013 Google - <a href="/intl/en/scholar/about.html" class="cit-dark-link" target="_top">About Google Scholar</a> - <a href="http://www.google.com/intl/en/about.html" class="cit-dark-link" target="_top">All About Google</a> - <a href="http://www.google.com/support/scholar/bin/request.py?contact_type=general" class="cit-dark-link" target="_top">Provide feedback</a> - <a href="/citations?hl=en&amp;user=5Q_YIHkAAAAJ" class="cit-dark-link" target="_top">My Citations</a></div></div></div>
@@ -0,0 +1,14 @@
1
+ <div class="g-unit g-first">
2
+ <table style="margin: 5px 0px;">
3
+ <tbody>
4
+ <tr>
5
+ <td style="text-align: center; padding: 0px 5px;width: 150px;"><a
6
+ href="/citations?user=XXXXXXX&amp;hl=en"><img src="/citations/images/green_ghost.jpg" width="96"
7
+ height="96"></a></td>
8
+ <td valign="top"><a class="cit-dark-large-link" href="/citations?user=XXXXXXX&amp;hl=en">Test Author</a><br>National
9
+ Institute for <strong>Testing </strong>&amp; Evaluation, Candyland,<br>Verified email at test.org<br>Cited
10
+ by 3020<br></td>
11
+ </tr>
12
+ </tbody>
13
+ </table>
14
+ </div>
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::ArticleEnumerator do
4
+ subject {Google::Scholar::ArticleEnumerator}
5
+ describe ".to_a (through .each)" do
6
+ context "when the document does not have another page" do
7
+ it "should return all the entries from the first document" do
8
+ doc = Google::Scholar::AuthorsProfileDocument.new(authors_profile_with_next)
9
+ doc.stub(:has_next_page?).and_return(false)
10
+ Google::Scholar::Scraper.should_not_receive(:load_url)
11
+ @enumerator = subject.new(Google::Scholar::Scraper.new(nil,doc))
12
+ @enumerator.to_a.should == doc.articles
13
+ end
14
+ end
15
+ context "when the document has another page" do
16
+ it "should return all entries from the second document as well" do
17
+ doc1 = Google::Scholar::AuthorsProfileDocument.new(authors_profile_with_next)
18
+ doc1.stub(:has_next_page?).and_return(false)
19
+ doc2 = Google::Scholar::AuthorsProfileDocument.new(authors_profile_with_next)
20
+ doc2.stub(:has_next_page?).and_return(true)
21
+ doc2.stub(:next_page_url).and_return("bla")
22
+ Google::Scholar::Scraper.should_receive(:load_url).with("bla").and_return(doc1)
23
+ @enumerator = subject.new(Google::Scholar::Scraper.new(nil,doc2))
24
+ @enumerator.map{|x| x.title}.should == doc1.articles.map{|x| x.title}.concat(doc2.articles.map{|x| x.title})
25
+ end
26
+ end
27
+ end
28
+ end
29
+
30
+ def authors_profile_with_next
31
+ @author_profile_with_next ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_profile_page.htm")).read)
32
+ end
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::ArticleSummary do
4
+ subject {Google::Scholar::ArticleSummary.new(doc)}
5
+ it "should be a valid subject" do
6
+ subject
7
+ end
8
+ describe ".title" do
9
+ it "should return the title" do
10
+ subject.title.should == "Weblogs and the 'middle space'for learning"
11
+ end
12
+ end
13
+ describe ".authors" do
14
+ it "should return the authors" do
15
+ subject.authors.should == "AM Deitering, S Huston"
16
+ end
17
+ end
18
+ describe ".publisher" do
19
+ it "should return the publication" do
20
+ subject.publisher.should == "Academic Exchange Quarterly 8 (4), 273-278"
21
+ end
22
+ end
23
+ describe ".citations" do
24
+ it "should return the number of citations" do
25
+ subject.citations.should == 25
26
+ end
27
+ end
28
+ describe ".year" do
29
+ it "should return the year it was published" do
30
+ subject.year.should == 2004
31
+ end
32
+ end
33
+ describe ".full_article_url" do
34
+ it "should return the url for the full article" do
35
+ subject.full_article_url.should == 'http://scholar.google.com/citations?view_op=view_citation&hl=en&user=M7uPknsAAAAJ&pagesize=100&citation_for_view=M7uPknsAAAAJ:kNdYIx-mwKoC'
36
+ end
37
+ end
38
+ end
39
+ def doc
40
+ @doc ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"article_part.htm")).read)
41
+ end
@@ -0,0 +1,33 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::AuthorEnumerator do
4
+ subject {Google::Scholar::AuthorEnumerator}
5
+ describe ".to_a (through .each)" do
6
+ context "when the document does not have another page" do
7
+ it "should return all the entries from the first document" do
8
+ doc = Google::Scholar::AuthorsDocument.new(authors_document_with_next)
9
+ doc.stub(:has_next_page?).and_return(false)
10
+ Google::Scholar::Scraper.should_receive(:load_url).with(Google::Scholar.author_search_url("test")).and_return(doc)
11
+ @enumerator = subject.new(Google::Scholar::Scraper.new(Google::Scholar.author_search_url("test")))
12
+ @enumerator.to_a.should == doc.authors
13
+ end
14
+ end
15
+ context "when the document has another page" do
16
+ it "should return all entries from the second document as well" do
17
+ doc1 = Google::Scholar::AuthorsDocument.new(authors_document_with_next)
18
+ doc1.stub(:has_next_page?).and_return(false)
19
+ doc2 = Google::Scholar::AuthorsDocument.new(authors_document_with_next)
20
+ doc2.stub(:has_next_page?).and_return(true)
21
+ doc2.stub(:next_page_url).and_return("bla")
22
+ Google::Scholar::Scraper.should_receive(:load_url).with(Google::Scholar.author_search_url("test")).and_return(doc2)
23
+ Google::Scholar::Scraper.should_receive(:load_url).with("bla").and_return(doc1)
24
+ @enumerator = subject.new(Google::Scholar::Scraper.new(Google::Scholar.author_search_url("test")))
25
+ @enumerator.map{|x| x.name}.should == doc1.authors.map{|x| x.name}.concat(doc2.authors.map{|x| x.name})
26
+ end
27
+ end
28
+ end
29
+ end
30
+
31
+ def authors_document_with_next
32
+ @author_document_with_next ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_result_page_has_next.htm")).read)
33
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::AuthorSearch do
4
+ subject {Google::Scholar::AuthorSearch}
5
+ before(:each) do
6
+ Google::Scholar::Scraper.should_receive(:open).and_return(author_result.to_html)
7
+ @doc = subject.new(Google::Scholar.author_search_url("test"))
8
+ end
9
+ it "should initialize" do
10
+ @doc
11
+ end
12
+ describe ".authors" do
13
+ it "should return an author enumerator" do
14
+ @doc.authors.should be_kind_of Google::Scholar::AuthorEnumerator
15
+ end
16
+ end
17
+ end
18
+ def author_result
19
+ @author_result ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_result_page.htm")).read)
20
+ end
@@ -0,0 +1,66 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::Author do
4
+ subject {Google::Scholar::Author}
5
+ describe "initialization" do
6
+ it "should require a document" do
7
+ expect{subject.new}.to raise_error
8
+ end
9
+ it "should accept a document" do
10
+ expect{subject.new(test_author_document)}.not_to raise_error
11
+ end
12
+ end
13
+ describe "attributes" do
14
+ subject {Google::Scholar::Author.new(test_author_document)}
15
+ describe ".name" do
16
+ it "should return the author name" do
17
+ subject.name.should == "Test Author"
18
+ end
19
+ end
20
+ describe ".citation_count" do
21
+ it "should return the citation count" do
22
+ subject.citation_count.should == 3020
23
+ end
24
+ end
25
+ describe ".author_url" do
26
+ it "should return the full author url" do
27
+ subject.author_url.should == "#{Google::Scholar.google_url}/citations?user=XXXXXXX&hl=en&pagesize=100"
28
+ end
29
+ end
30
+ describe ".id" do
31
+ it "should return the author id" do
32
+ subject.id.should == "XXXXXXX"
33
+ end
34
+ end
35
+ describe ".full_profile" do
36
+ before(:each) do
37
+ Google::Scholar::Scraper.should_receive(:open).and_return(author_profile_page.to_html)
38
+ end
39
+ it "should return a nokogiri instance for the full profile" do
40
+ subject.full_profile
41
+ end
42
+ end
43
+ describe "profile functions" do
44
+ before(:each) do
45
+ Google::Scholar::Scraper.should_receive(:open).and_return(author_profile_page.to_html)
46
+ end
47
+ describe ".citations" do
48
+ it "should return the number of citations" do
49
+ subject.citations.should == 59
50
+ end
51
+ end
52
+ describe ".articles" do
53
+ it "should return all the articles via an enumerator" do
54
+ subject.articles.should be_kind_of Google::Scholar::ArticleEnumerator
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
60
+
61
+ def test_author_document
62
+ @test_author_document ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"single_author_page.htm")).read)
63
+ end
64
+ def author_profile_page
65
+ @author_profile_page ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_profile_page.htm")).read)
66
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::Base do
4
+ subject {Google::Scholar::Base}
5
+ describe "#search_author" do
6
+ it "should initialize with the search author string" do
7
+ Google::Scholar::Scraper.should_receive(:new).with(Google::Scholar.author_search_url("test"))
8
+ subject.search_author("test")
9
+ end
10
+ it "should return a Author Search object" do
11
+ Google::Scholar::Scraper.should_receive(:new).with(Google::Scholar.author_search_url("test"))
12
+ subject.search_author("test").should be_kind_of(Google::Scholar::AuthorSearch)
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,103 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::AuthorsDocument do
4
+ subject {Google::Scholar::AuthorsDocument}
5
+ describe "initialization" do
6
+ it "should accept a nokogiri document" do
7
+ expect{subject.new(nokogiri_document)}.not_to raise_error
8
+ end
9
+ end
10
+ describe ".valid" do
11
+ context "if the page says Authors" do
12
+ before(:each) do
13
+ @doc = nokogiri_document("Authors")
14
+ end
15
+ it "should be valid" do
16
+ doc = subject.new(@doc)
17
+ doc.should be_valid
18
+ end
19
+ end
20
+ context "if the page also says it didn't match anything" do
21
+ before(:each) do
22
+ @doc = nokogiri_document("Authors didn't match any user profiles.")
23
+ end
24
+ it "should be invalid" do
25
+ doc = subject.new(@doc)
26
+ doc.should_not be_valid
27
+ end
28
+ end
29
+ end
30
+ describe ".has_next_page?" do
31
+ context "when there is a next page" do
32
+ before(:each) do
33
+ @doc = subject.new(authors_document_with_next)
34
+ end
35
+ it "should have a next page" do
36
+ @doc.should have_next_page
37
+ end
38
+ end
39
+ context "when there is no next page" do
40
+ before(:each) do
41
+ @doc = subject.new(authors_document)
42
+ end
43
+ it "should not have a next page" do
44
+ @doc.should_not have_next_page
45
+ end
46
+ end
47
+ end
48
+ describe ".next_page_url" do
49
+ context "when there is a next page" do
50
+ before(:each) do
51
+ @doc = subject.new(authors_document_with_next)
52
+ end
53
+ it "should return the url for the next page" do
54
+ @doc.next_page_url.should == "http://scholar.google.com/citations?view_op=search_authors&hl=en&mauthors=author:%22Johnson%22&after_author=6jwJANrc__8J&astart=10"
55
+ end
56
+ end
57
+ context "when there isn't a next page" do
58
+ before(:each) do
59
+ @doc = subject.new(authors_document)
60
+ end
61
+ it "should return nil" do
62
+ @doc.next_page_url.should be_nil
63
+ end
64
+ end
65
+ end
66
+ describe ".authors" do
67
+ before(:each) do
68
+ @auth_doc = subject.new(authors_document)
69
+ end
70
+ it "should return a list of authors" do
71
+ @auth_doc.authors.length.should == 10
72
+ end
73
+ it "should return author objects" do
74
+ @auth_doc.authors.first.should be_kind_of Google::Scholar::Author
75
+ end
76
+ it "should parse the objects" do
77
+ @auth_doc.authors.first.name.should == "David S. Johnson"
78
+ end
79
+ end
80
+ describe ".last_author" do
81
+ before(:each) do
82
+ @auth_doc = subject.new(authors_document)
83
+ end
84
+ it "should return the last author" do
85
+ @auth_doc.last_author.id.should == "aLwIpzYAAAAJ"
86
+ end
87
+ end
88
+ end
89
+
90
+ def nokogiri_document(string=nil)
91
+ return @nokogiri_document if @nokogiri_document && string.nil?
92
+ @read_object = double("document")
93
+ string ||= "Authors didn't match any user profiles."
94
+ @read_object.stub(:read).and_return(string)
95
+ self.should_receive(:open).and_return(@read_object)
96
+ @nokogiri_document = Nokogiri::HTML(open("http://test.org"))
97
+ end
98
+ def authors_document
99
+ @author_document ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_result_page.htm")).read)
100
+ end
101
+ def authors_document_with_next
102
+ @author_document_with_next ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_result_page_has_next.htm")).read)
103
+ end
@@ -0,0 +1,40 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::AuthorsProfileDocument do
4
+ subject {Google::Scholar::AuthorsProfileDocument.new(author_profile_page)}
5
+ it "should have a valid subject" do
6
+ subject
7
+ end
8
+ describe ".has_next_page?" do
9
+ context "if the document has a next page" do
10
+ it "should return true" do
11
+ subject.should have_next_page
12
+ end
13
+ end
14
+ context "if the document doesn't have a next page" do
15
+ let(:author_profile_page) {Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_profile_page.htm")).read.to_s.gsub('Next',''))}
16
+ it "should return false" do
17
+ subject.should_not have_next_page
18
+ end
19
+ end
20
+ end
21
+ describe ".next_page_url" do
22
+ it "should return the url for the next page" do
23
+ subject.next_page_url.should == "http://scholar.google.com/citations?hl=en&user=M7uPknsAAAAJ&view_op=list_works&cstart=20"
24
+ end
25
+ end
26
+ describe ".articles" do
27
+ it "should return the articles for this page" do
28
+ subject.articles.length.should == 20
29
+ end
30
+ it "should return article summary objects" do
31
+ subject.articles.first.should be_kind_of Google::Scholar::ArticleSummary
32
+ end
33
+ it "should have the right titles" do
34
+ subject.articles.first.title.should == "Weblogs and the 'middle space'for learning"
35
+ end
36
+ end
37
+ end
38
+ def author_profile_page
39
+ @author_profile ||= Nokogiri::HTML::DocumentFragment.parse(File.open(File.join(FIXTURE_DIR,"author_profile_page.htm")).read)
40
+ end
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar::Scraper do
4
+ describe ".initialize" do
5
+ it "should require a url" do
6
+ expect{Google::Scholar::Scraper.new}.to raise_error
7
+ end
8
+ it "should validate an http url" do
9
+ expect{Google::Scholar::Scraper.new("bla@bla.org")}.to raise_error
10
+ expect{Google::Scholar::Scraper.new("http://scholar.google.com")}.not_to raise_error
11
+ expect{Google::Scholar::Scraper.new("ftp://scholar.google.com")}.to raise_error
12
+ end
13
+ it "should load up a nokogiri document" do
14
+ Nokogiri::HTML::Document.should_receive(:parse)
15
+ Google::Scholar::Scraper.should_receive(:open).with("http://scholar.google.com")
16
+ Google::Scholar::Scraper.new("http://scholar.google.com")
17
+ end
18
+ end
19
+ describe ".valid?" do
20
+ it "should forward its valid method to its document" do
21
+ doc = double("authors document")
22
+ doc.should_receive(:valid?).and_return(true)
23
+ Google::Scholar::AuthorsDocument.should_receive(:new).and_return(doc)
24
+ Google::Scholar::Scraper.should_receive(:open)
25
+ r = Google::Scholar::Scraper.new(Google::Scholar.author_search_url("test"))
26
+ r.valid?
27
+ end
28
+ end
29
+ describe ".has_more_pages?" do
30
+ it "should forward it to the last document it has" do
31
+ doc = double("authors document")
32
+ doc.should_receive(:has_next_page?)
33
+ Google::Scholar::AuthorsDocument.should_receive(:new).and_return(doc)
34
+ Google::Scholar::Scraper.should_receive(:open)
35
+ r = Google::Scholar::Scraper.new(Google::Scholar.author_search_url("test"))
36
+ r.has_more_pages?
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,21 @@
1
+ require 'spec_helper'
2
+
3
+ describe Google::Scholar do
4
+ describe ".google_root" do
5
+ it "should return scholar.google.com" do
6
+ Google::Scholar.google_root.should == "scholar.google.com"
7
+ end
8
+ end
9
+ describe ".author_search_url" do
10
+ context "when given an author name" do
11
+ it "should give an appropriate url" do
12
+ Google::Scholar.author_search_url("test").should == 'http://scholar.google.com/citations?view_op=search_authors&hl=en&mauthors=author%3A%22test%22'
13
+ end
14
+ end
15
+ context "when given an author name with spaces" do
16
+ it "should perform escaping" do
17
+ Google::Scholar.author_search_url("testing this").should == 'http://scholar.google.com/citations?view_op=search_authors&hl=en&mauthors=author%3A%22testing+this%22'
18
+ end
19
+ end
20
+ end
21
+ end