#! /usr/bin/env python
import ads
#######
lk = "lmdplaneto.link"
anneec = 2014
gencond = ''' -c 'not journal:"Discussions"' ''' # to solve EGU journal duplication
#######
ads.makepage('pubmars',\
retrieve = True,\
customcond = gencond + ''' -c 'title:"Mars" or title:"martian"' ''',\
linkads = lk,\
printnum = True,\
title = "
Mars peer-reviewed publications of the LMD 'Planetary Atmospheres' team
")
ads.makepage('pubtitan',\
retrieve = False,\
customcond = gencond + ''' -c 'title:"Titan"' ''',\
linkads = lk,\
printnum = True,\
title = "Titan peer-reviewed publications of the LMD 'Planetary Atmospheres' team
")
ads.makepage('pubvenus',\
retrieve = False,\
customcond = gencond + ''' -c 'title:"Venus" or title:"venusian"' ''',\
linkads = lk,\
printnum = True,\
title = "Venus peer-reviewed publications of the LMD 'Planetary Atmospheres' team
")
ads.makepage('pubexo',\
retrieve = False,\
customcond = gencond + ''' -c 'abstract:"exoplanet" or title:"habitable" or title:"habitability"' ''',\
linkads = lk,\
printnum = True,\
title = "Exoplanets peer-reviewed publications of the LMD 'Planetary Atmospheres' team
")
ads.makepage('pubforget',\
retrieve = False,\
customcond = gencond + ''' -c 'author:"Forget"' ''',\
listyear = range(anneec,1993-1,-1),\
linkads = lk,\
printnum = True,\
title = "Francois Forget's peer-reviewed publications
")
ads.makepage('publebonnois',\
retrieve = False,\
customcond = gencond + ''' -c 'author:"Lebonnois"' ''',\
listyear = range(anneec,1999-1,-1),\
linkads = lk,\
printnum = True,\
title = "Sebastien Lebonnois's peer-reviewed publications
")
ads.makepage('pubspiga',\
retrieve = False,\
customcond = gencond + ''' -c 'author:"Spiga"' ''',\
listyear = range(anneec,2007-1,-1),\
linkads = lk,\
printnum = True,\
title = "Aymeric Spiga's peer-reviewed publications
")
ads.makepage('pubmillour',\
retrieve = False,\
customcond = gencond + ''' -c 'author:"Millour"' ''',\
listyear = range(anneec,2008-1,-1),\
linkads = lk,\
printnum = True,\
title = "Ehouarn Millour's peer-reviewed publications
")
ads.makepage('pub',\
retrieve = False,\
listyear = range(anneec,1993-1,-1),\
linkads = lk,\
customcond = gencond,\
printnum = True,\
title = "Peer-reviewed publications of the LMD 'Planetary Atmospheres' team
",\
addlink = '''
Planet:
Mars /
Venus /
Titan /
Exoplanets
Author:
F. Forget /
S. Lebonnois /
E. Millour /
A. Spiga /
''',\
target="/home/marshttp/www-mars/pubplaneto")