# ___________________________________________________________________________________________
# ---------------------------
# Author  : Max Mignotte
# Version : 1.02
# ---------------------------
#
# USAGE :    BiBTeX2HIndex.sh  [your BibTex File]
#
# Comments:
#
# * The string AUTHOR of the Bibtex file should contain the 
#   initial(s) of the first name(s) followed by the last name, 
#   (e.g., 'A. Einstein' and thus do not put the initial(s) 
#   after the last name or do not write 'Albert Einstein'.
#   Use also  'P.-M. Dupont or P.M. Dupont instead of Pierre-Marc Dupont)
#
# * The proposed script uses [htget]
#   [http://dir.filewatcher.com/d/Other/metalab/apps/www/mirroring/htget-0.92.tar.gz.17605.html]
#   namely a file grabber that will get files from HTTP servers 
#
#   ---------------------------
#   
#   The output od this script is the file Result.txt
#
#   ---------------------------
#
#   ----------
#   Remark -1-
#   ----------
#   Massive usage of this script (e.g., in the case of a very large number of papers in your Bibtex file
#   and/or several repeated usage of this script) may be considered by the Google Scholar server as a spam attack, 
#   and may invalidate the IP number of your computer for a while. 
#   If this happens, you get an 'Internet connection failed' error message. Nevertheless, you still can use 
#   Google Scholar from a web browser and re-used this script a bit later. 
#   The 'Internet connection failed' error message of Google is the following
#
#   ----------------
#  Google Error 	 
#    We're sorry...
#
#    ... but your query looks similar to automated requests from a computer virus or spyware application. 
#    To protect our users, we can't process your request right now.
#
#    We'll restore your access as quickly as possible, so try again soon. In the meantime, if you suspect 
#    that your computer or network has been infected, you might want to run a virus checker or spyware 
#    remover to make sure that your systems are free of viruses and other spurious software.
#
#    If you're continually receiving this error, you may be able to resolve the problem by deleting your 
#    Google cookie and revisiting Google. For browser-specific instructions, please consult your browser's 
#    online support center.
#
#    If your entire network is affected, more information is available in the Google Web Search Help Center.
#
#    We apologize for the inconvenience, and hope we'll see you again on Google. 
#   ------------------
#
#   In order to avoid this error message, do not use this script more than three or four times a day.
#
#
#   ----------
#   Remark -2-
#   ----------
#   Since this script uses Google Scholar and since Google Scholar is not perfect 
#   (e.g., some articles are bad referenced in Google Scholar with some typos and errors), the result
#   of this script is not perfect and should be manually refined (for example with supervision
#   for some references).
#
#   Nota: this shell script is constantly under construction. If you have any comments, 
#   suggestions for it, or you want to report a bug, please fell free to send me an Email
#
#_____________________________________________________________________________________________





ProgBibtext2hindex.tar.gz contains the following files

 * BiBTeX2HIndex.sh
 * README.txt
 * uhtget
 * uhtget-0.5.tar

To run the script, use the following commands

chmod 700 BiBTeX2HIndex.sh
BiBTeX2HIndex.sh [your BibTex File]


The ProgBibtext2hindex.tar.gz file also contains the binary file grabbers uhtget. 
If this binary file does not work, you have to recompile it in order
to do a binary file compatible with your computer (to do so, de-tar the uhtget-0.5.tar file 
and type make)

