LIFO - Université d'Orléans - IUT d'Informatique

Yannick Parmentier

HALLO

the HAL Lightweight Observer

About HALLO

HALLO is a perl program implementing a web-service in order to extract a list of publications from HAL. It offers an alternative to classical web interfaces to HAL.

HALLO is released under the terms of the GPL, and can be downloaded here: HALLOv3-20150324.tar.gz

top

Installing HALLO

To run HALLO, you need :

Under linux-based systems, you can install curl and these perl libraries by invoking e.g.

sudo aptitude install libcurl4-openssl-dev
sudo aptitude install libcpan-meta-perl
sudo cpan install WWW::Curl::Easy
sudo cpan install JSON
(and so on for the others perl libraries)

Once all these requirements are met, all you need to do to run HALLO, is to download HALLO's sources, extract them, go inside HALLO's directory, and run

perl main.pl --help

to get the list of options.

Detailed information about the installation procedure can be found in the INSTALL and README files included in HALLO's tarball.

top

Using HALLO

Basically, all HALLO needs is a file containing requests of form:

FIELD1:VALUE1 OP ... OP FIELDn:VALUEn
where:

A FIELD can be one of these:

Please note that lab Ids can be found at https://aurehal.archives-ouvertes.fr.

A VALUE is a string representing a number, a name, or a time span between [ ] (such as [2012 TO *]).
* are allowed as jokers (meaning any char).
Values are not case-sensitive.

An OPerator can either be + (meaning "and"), | (meaning "or"), or _ (meaning "and not").
Spaces around OP are *mandatory* (while spaces around the ":" separating keys from values are *forbidden*).

Example:
select all publications from the lab LIFO after 2006 where the author is not parmentier is written

lab:LIFO + year:[2006 TO *] _ author:parmentier

Say your requests are written in the file FOO.req, you can extract a bibtex file from HAL using the following command line:

perl main.pl -i FOO.req -d -b

The -i option is used to define the input file, the -d asks HALLO to decode accents into latex representations (such as \'e), and the -b option is used to indicate that we want to produce a bibtex file only (no HTML output or LaTeX output). As a result the file FOO.bib will be created. For more explanations, see the README file included in HALLO's sources.

top
Last modified: Sun Jan 18 21:46:47 CET 2015 / yannick.parmentier@univ-orleans.fr