Changeset 1141
- Timestamp:
- Jan 4, 2014, 1:51:17 AM (11 years ago)
- Location:
- trunk/UTIL/PYTHON/bibweb
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/bibweb/ads.py
r968 r1141 3 3 ## ----------------------------------------------------------------- 4 4 ## Purpose: make a nice publication page with an ADS database link 5 ## Author: Aymeric Spiga 19/05/201 25 ## Author: Aymeric Spiga 19/05/2013 6 6 ## ----------------------------------------------------------------- 7 7 ## NB: uses BIBTEX2HTML https://www.lri.fr/~filliatr/bibtex2html/doc/manual.html … … 18 18 retrieve = True, 19 19 addpdf = None, 20 addlink = None): 20 addlink = None, 21 target=None): 21 22 22 23 htmlcontent = "" … … 37 38 ### if linkads is None, we set it to "link.authorref" 38 39 if linkads is None: 39 linkads = 'link.'+authorref40 linkads = authorref+'.link' 40 41 41 42 ### GET INFO FROM ADS … … 169 170 print >> htmlmain, htmlcontent 170 171 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 2 2 import ads 3 3 4 ads.makepage(' pub',\4 ads.makepage('feynman',\ 5 5 retrieve = True,\ 6 6 listyear = range(1990,1938,-1),\ 7 linkads = " link.feynman",\7 linkads = "feynman.link",\ 8 8 title = "<CENTER><H2><EM><font color='#B8860B;'>Richard Feynman's publications</font></EM></H2></CENTER>") -
trunk/UTIL/PYTHON/bibweb/header.html
r968 r1141 53 53 <li><a href="../teaching.html">Teaching</a></li> 54 54 <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> 55 56 </ul> 56 57 </div> -
trunk/UTIL/PYTHON/bibweb/inpress.html
r968 r1141 1 <!-- 1 2 <h3>In press or just published</h3> 2 3 <p> … … 9 10 </p> 10 11 <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> 17 Arnaud 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 29 29 retrieve = False,\ 30 30 customcond = ''' -c 'author:"Forget"' ''',\ 31 listyear = range(201 3,1992,-1),\31 listyear = range(2014,1992,-1),\ 32 32 linkads = "link.LMD_planeto",\ 33 33 title = "<CENTER><H2><EM><font color='#B8860B;'>Francois Forget's peer-reviewed publications</font></EM></H2></CENTER>") … … 36 36 retrieve = False,\ 37 37 customcond = ''' -c 'author:"Lebonnois"' ''',\ 38 listyear = range(201 3,1998,-1),\38 listyear = range(2014,1998,-1),\ 39 39 linkads = "link.LMD_planeto",\ 40 40 title = "<CENTER><H2><EM><font color='#B8860B;'>Sebastien Lebonnois's peer-reviewed publications</font></EM></H2></CENTER>") … … 43 43 retrieve = False,\ 44 44 customcond = ''' -c 'author:"Spiga"' ''',\ 45 listyear = range(201 3,2006,-1),\45 listyear = range(2014,2006,-1),\ 46 46 linkads = "link.LMD_planeto",\ 47 47 title = "<CENTER><H2><EM><font color='#B8860B;'>Aymeric Spiga's peer-reviewed publications</font></EM></H2></CENTER>") … … 50 50 retrieve = False,\ 51 51 customcond = ''' -c 'author:"Millour"' ''',\ 52 listyear = range(201 3,2007,-1),\52 listyear = range(2014,2007,-1),\ 53 53 linkads = "link.LMD_planeto",\ 54 54 title = "<CENTER><H2><EM><font color='#B8860B;'>Ehouarn Millour's peer-reviewed publications</font></EM></H2></CENTER>") … … 56 56 ads.makepage('pub',\ 57 57 retrieve = False,\ 58 listyear = range(201 3,1992,-1),\58 listyear = range(2014,1992,-1),\ 59 59 linkads = "link.LMD_planeto",\ 60 60 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 7 7 customcond = ''' -c 'abstract:"devil"' ''',\ 8 8 linkads = "link.spiga",\ 9 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\9 addpdf = "REF/",\ 10 10 title = "<h2>Publications about dust devils</h2>") 11 11 … … 15 15 customcond = ''' -c 'abstract:"gravity wave"' ''',\ 16 16 linkads = "link.spiga",\ 17 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\17 addpdf = "REF/",\ 18 18 title = "<h2>Publications about gravity waves</h2>") 19 19 … … 23 23 customcond = ''' -c 'abstract:"mesoscale"' ''',\ 24 24 linkads = "link.spiga",\ 25 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\25 addpdf = "REF/",\ 26 26 title = "<h2>Publications about mesoscale meteorology</h2>") 27 27 … … 31 31 customcond = ''' -c 'title:"cloud"' ''',\ 32 32 linkads = "link.spiga",\ 33 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\33 addpdf = "REF/",\ 34 34 title = "<h2>Publications about clouds</h2>") 35 35 … … 39 39 customcond = ''' -c 'title:"Earth" or title:"terrestrial" or title:"Andes"' ''',\ 40 40 linkads = "link.spiga",\ 41 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\41 addpdf = "REF/",\ 42 42 title = "<h2>Publications about the Earth</h2>") 43 43 … … 47 47 customcond = ''' -c 'title:"Mars" or title:"martian"' ''',\ 48 48 linkads = "link.spiga",\ 49 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\49 addpdf = "REF/",\ 50 50 title = "<h2>Publications about Mars</h2>") 51 51 … … 55 55 customcond = ''' -c 'title:"boundary layer" or title:"microscale" or title:"large-eddy simulations"' ''',\ 56 56 linkads = "link.spiga",\ 57 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\57 addpdf = "REF/",\ 58 58 title = "<h2>Publications about planetary boundary layer</h2>") 59 59 … … 63 63 customcond = ''' -c 'title:"spectrometer"' ''',\ 64 64 linkads = "link.spiga",\ 65 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\65 addpdf = "REF/",\ 66 66 title = "<h2>Publications about remote sensing</h2>") 67 67 … … 69 69 embedded = True,\ 70 70 retrieve = False,\ 71 listyear = [201 3,2012,2011,2010,2009,2008,2007],\71 listyear = [2014,2013,2012,2011,2010,2009,2008,2007],\ 72 72 linkads = "link.spiga",\ 73 addpdf = " http://dl.dropbox.com/u/11078310/my_papers/ref/",\73 addpdf = "REF/",\ 74 74 title = "",\ 75 75 addlink = '''
Note: See TracChangeset
for help on using the changeset viewer.