forked from scieloorg/Web
-
Notifications
You must be signed in to change notification settings - Fork 0
Configespec_googlescholar_en
scielo edited this page Mar 10, 2011
·
3 revisions
The base directory for the processing that generates the Google Scholar XML's is proc/scielo_gsc
The following steps are executed from the directory proc/scielo_gsc.
- Copy the configuration file.
#> cp shs\googleSchoolar_config.sh.template shs\googleSchoolar_config.sh
- Edit the configuration file to change the variables paths if it is necessary.
#> vi shs/googleSchoolar_config.sh
Sample of the configuration file
##################
# variáveis com caminho para bases de dados utilizadas no processmento.
##################
export database_title="/var/www/scielo/bases/title/title"
export database_article="/var/www/scielo/bases/artigo/artigo"
export database_issue="/var/www/scielo/bases/issue/issue"
export cisis_dir="/var/www/scielo/proc/cisis"
- Run the script to generate the XML files that will be harvested by Google.
#> cd shs/
#> ./googleSchoolar_run.sh
- The results of this process will be generated at the directory /var/www/scielo/proc/scielo_gsc/output/
- You must create a cron cofiguration to periodically generate those XML files.
- You must publish those files available in the directory /var/www/scielo/proc/scielo_gsc/output in a public URL. Eg: artigos.scielo.br, artigos.scielo.cl, artigos.scielo.org.ar