Changeset 1141 for trunk/UTIL


Ignore:
Timestamp:
Jan 4, 2014, 1:51:17 AM (11 years ago)
Author:
aslmd
Message:

bibweb: small corrections to existing scripts (added target + details)

Location:
trunk/UTIL/PYTHON/bibweb
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/bibweb/ads.py

    r968 r1141  
    33## -----------------------------------------------------------------
    44## Purpose: make a nice publication page with an ADS database link
    5 ## Author: Aymeric Spiga 19/05/2012
     5## Author: Aymeric Spiga 19/05/2013
    66## -----------------------------------------------------------------
    77## NB: uses BIBTEX2HTML https://www.lri.fr/~filliatr/bibtex2html/doc/manual.html
     
    1818             retrieve = True,
    1919             addpdf = None,
    20              addlink = None):
     20             addlink = None,
     21             target=None):
    2122
    2223    htmlcontent = ""
     
    3738    ### if linkads is None, we set it to "link.authorref"
    3839    if linkads is None:
    39       linkads = 'link.'+authorref
     40      linkads = authorref+'.link'
    4041
    4142    ### GET INFO FROM ADS
     
    169170    print >> htmlmain, htmlcontent
    170171    htmlmain.close()
     172
     173    ## move results to target directory and remove txt files
     174    if target is None: target=authorref+"dir"
     175    target=target+"/"
     176    arg = target,\
     177          authorref+"*.html",\
     178          authorref+"*.bib",\
     179          authorref+"*.txt",\
     180          target,\
     181          target+linkads+".bib"
     182    os.system( "mkdir -p %s ; mv %s %s %s %s ; mv %s ./" % (arg) )
     183
     184
  • trunk/UTIL/PYTHON/bibweb/basic.py

    r1061 r1141  
    22import ads
    33
    4 ads.makepage('pub',\
     4ads.makepage('feynman',\
    55             retrieve = True,\
    66             listyear = range(1990,1938,-1),\
    7              linkads = "link.feynman",\
     7             linkads = "feynman.link",\
    88             title = "<CENTER><H2><EM><font color='#B8860B;'>Richard Feynman's publications</font></EM></H2></CENTER>")
  • trunk/UTIL/PYTHON/bibweb/header.html

    r968 r1141  
    5353<li><a href="../teaching.html">Teaching</a></li>
    5454<li><a href="http://www-mars.lmd.jussieu.fr/mars/access.html">MCD</a></li>
     55<li><a href="../planetoplot/index.html">PLANETOPLOT</a></li>
    5556</ul>
    5657</div>
  • trunk/UTIL/PYTHON/bibweb/inpress.html

    r968 r1141  
     1<!--
    12<h3>In press or just published</h3>
    23<p>
     
    910</p>
    1011<hr><br>
     12
     13
     14<h3>In press or just published</h3><br>
     15<p>
     16<b>A Thermal Plume Model for the Martian Convective Boundary Layer</b><br>
     17Arnaud Colaitis, Aymeric Spiga, Frederic Hourdin, Catherine Rio, Francois Forget, Ehouarn Millour (2013)<br>
     18<i>Journal of Geophysical Research</i>, in press<br>
     19<a href="http://onlinelibrary.wiley.com/doi/10.1002/jgre.20104/abstract">[early view]</a>
     20<a href="http://arxiv.org/abs/1306.6215">[arxiv link]</a><br>
     21</p>
     22<hr><br>
     23
     24-->
  • trunk/UTIL/PYTHON/bibweb/lmdwebsite.py

    r967 r1141  
    2929             retrieve = False,\
    3030             customcond = ''' -c 'author:"Forget"' ''',\
    31              listyear = range(2013,1992,-1),\
     31             listyear = range(2014,1992,-1),\
    3232             linkads = "link.LMD_planeto",\
    3333             title = "<CENTER><H2><EM><font color='#B8860B;'>Francois Forget's peer-reviewed publications</font></EM></H2></CENTER>")
     
    3636             retrieve = False,\
    3737             customcond = ''' -c 'author:"Lebonnois"' ''',\
    38              listyear = range(2013,1998,-1),\
     38             listyear = range(2014,1998,-1),\
    3939             linkads = "link.LMD_planeto",\
    4040             title = "<CENTER><H2><EM><font color='#B8860B;'>Sebastien Lebonnois's peer-reviewed publications</font></EM></H2></CENTER>")
     
    4343             retrieve = False,\
    4444             customcond = ''' -c 'author:"Spiga"' ''',\
    45              listyear = range(2013,2006,-1),\
     45             listyear = range(2014,2006,-1),\
    4646             linkads = "link.LMD_planeto",\
    4747             title = "<CENTER><H2><EM><font color='#B8860B;'>Aymeric Spiga's peer-reviewed publications</font></EM></H2></CENTER>")
     
    5050             retrieve = False,\
    5151             customcond = ''' -c 'author:"Millour"' ''',\
    52              listyear = range(2013,2007,-1),\
     52             listyear = range(2014,2007,-1),\
    5353             linkads = "link.LMD_planeto",\
    5454             title = "<CENTER><H2><EM><font color='#B8860B;'>Ehouarn Millour's peer-reviewed publications</font></EM></H2></CENTER>")
     
    5656ads.makepage('pub',\
    5757             retrieve = False,\
    58              listyear = range(2013,1992,-1),\
     58             listyear = range(2014,1992,-1),\
    5959             linkads = "link.LMD_planeto",\
    6060             title = "<CENTER><H2><EM><font color='#B8860B;'>Peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>",\
  • trunk/UTIL/PYTHON/bibweb/mywebsite.py

    r968 r1141  
    77             customcond = ''' -c 'abstract:"devil"' ''',\
    88             linkads = "link.spiga",\
    9              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     9             addpdf = "REF/",\
    1010             title = "<h2>Publications about dust devils</h2>")
    1111
     
    1515             customcond = ''' -c 'abstract:"gravity wave"' ''',\
    1616             linkads = "link.spiga",\
    17              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     17             addpdf = "REF/",\
    1818             title = "<h2>Publications about gravity waves</h2>")
    1919
     
    2323             customcond = ''' -c 'abstract:"mesoscale"' ''',\
    2424             linkads = "link.spiga",\
    25              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     25             addpdf = "REF/",\
    2626             title = "<h2>Publications about mesoscale meteorology</h2>")
    2727
     
    3131             customcond = ''' -c 'title:"cloud"' ''',\
    3232             linkads = "link.spiga",\
    33              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     33             addpdf = "REF/",\
    3434             title = "<h2>Publications about clouds</h2>")
    3535
     
    3939             customcond = ''' -c 'title:"Earth" or title:"terrestrial" or title:"Andes"' ''',\
    4040             linkads = "link.spiga",\
    41              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     41             addpdf = "REF/",\
    4242             title = "<h2>Publications about the Earth</h2>")
    4343
     
    4747             customcond = ''' -c 'title:"Mars" or title:"martian"' ''',\
    4848             linkads = "link.spiga",\
    49              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     49             addpdf = "REF/",\
    5050             title = "<h2>Publications about Mars</h2>")
    5151
     
    5555             customcond = ''' -c 'title:"boundary layer" or title:"microscale" or title:"large-eddy simulations"' ''',\
    5656             linkads = "link.spiga",\
    57              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     57             addpdf = "REF/",\
    5858             title = "<h2>Publications about planetary boundary layer</h2>")
    5959
     
    6363             customcond = ''' -c 'title:"spectrometer"' ''',\
    6464             linkads = "link.spiga",\
    65              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     65             addpdf = "REF/",\
    6666             title = "<h2>Publications about remote sensing</h2>")
    6767
     
    6969             embedded = True,\
    7070             retrieve = False,\
    71              listyear = [2013,2012,2011,2010,2009,2008,2007],\
     71             listyear = [2014,2013,2012,2011,2010,2009,2008,2007],\
    7272             linkads = "link.spiga",\
    73              addpdf = "http://dl.dropbox.com/u/11078310/my_papers/ref/",\
     73             addpdf = "REF/",\
    7474             title = "",\
    7575addlink = '''
Note: See TracChangeset for help on using the changeset viewer.