Changeset 1143


Ignore:
Timestamp:
Jan 4, 2014, 2:32:36 AM (11 years ago)
Author:
aslmd
Message:

bibweb: a version with clean repositories 2

Location:
trunk/UTIL/PYTHON/bibweb
Files:
5 added
4 deleted
1 edited
1 copied
5 moved

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/bibweb/README

    r1061 r1143  
    99set "BibTeX with abstracts" in FORMAT
    1010
    11 copy paste the link of the submission result to your link.something file
     11copy paste the link of the submission result to your *.link file
    1212
    1313note : you can set your link so that it includes the publications
    1414from the whole team and set filters later in the python scripts!
    1515
    16 see examples basic.py mywebsite.py lmdwebsite.py
     16see example demo.py and more complex examples within folders
     17
     18this is free software without warranty
     19if you like this please let me know
    1720
    1821A. Spiga
     22aymeric.spiga@upmc.fr
    1923
    2024
  • trunk/UTIL/PYTHON/bibweb/mywebsite/spiga.py

    r1142 r1143  
    11#! /usr/bin/env python
    22import ads
     3
     4######
     5lk="spiga.link"
     6######
    37
    48ads.makepage('pubdd',\
     
    610             retrieve = True,\
    711             customcond = ''' -c 'abstract:"devil"' ''',\
    8              linkads = "link.spiga",\
     12             linkads = lk,\
    913             addpdf = "REF/",\
    1014             title = "<h2>Publications about dust devils</h2>")
     
    1418             retrieve = False,\
    1519             customcond = ''' -c 'abstract:"gravity wave"' ''',\
    16              linkads = "link.spiga",\
     20             linkads = lk,\
    1721             addpdf = "REF/",\
    1822             title = "<h2>Publications about gravity waves</h2>")
     
    2226             retrieve = False,\
    2327             customcond = ''' -c 'abstract:"mesoscale"' ''',\
    24              linkads = "link.spiga",\
     28             linkads = lk,\
    2529             addpdf = "REF/",\
    2630             title = "<h2>Publications about mesoscale meteorology</h2>")
     
    3034             retrieve = False,\
    3135             customcond = ''' -c 'title:"cloud"' ''',\
    32              linkads = "link.spiga",\
     36             linkads = lk,\
    3337             addpdf = "REF/",\
    3438             title = "<h2>Publications about clouds</h2>")
     
    3842             retrieve = False,\
    3943             customcond = ''' -c 'title:"Earth" or title:"terrestrial" or title:"Andes"' ''',\
    40              linkads = "link.spiga",\
     44             linkads = lk,\
    4145             addpdf = "REF/",\
    4246             title = "<h2>Publications about the Earth</h2>")
     
    4650             retrieve = False,\
    4751             customcond = ''' -c 'title:"Mars" or title:"martian"' ''',\
    48              linkads = "link.spiga",\
     52             linkads = lk,\
    4953             addpdf = "REF/",\
    5054             title = "<h2>Publications about Mars</h2>")
     
    5458             retrieve = False,\
    5559             customcond = ''' -c 'title:"boundary layer" or title:"microscale" or title:"large-eddy simulations"' ''',\
    56              linkads = "link.spiga",\
     60             linkads = lk,\
    5761             addpdf = "REF/",\
    5862             title = "<h2>Publications about planetary boundary layer</h2>")
     
    6266             retrieve = False,\
    6367             customcond = ''' -c 'title:"spectrometer"' ''',\
    64              linkads = "link.spiga",\
     68             linkads = lk,\
    6569             addpdf = "REF/",\
    6670             title = "<h2>Publications about remote sensing</h2>")
     
    7074             retrieve = False,\
    7175             listyear = [2014,2013,2012,2011,2010,2009,2008,2007],\
    72              linkads = "link.spiga",\
     76             linkads = lk,\
    7377             addpdf = "REF/",\
    7478             title = "",\
  • trunk/UTIL/PYTHON/bibweb/planetowebsite/lmdplaneto.py

    r1142 r1143  
    22import ads
    33
    4 ads.makepage('pubtitan',\
    5              retrieve = True,\
    6              customcond = ''' -c 'title:"Titan"' ''',\
    7              linkads = "link.LMD_planeto",\
    8              title = "<CENTER><H2><EM><font color='#B8860B;'>Titan peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>")
     4#######
     5lk = "lmdplaneto.link"
     6#######
    97
    108ads.makepage('pubmars',\
     9             retrieve = True,\
     10             customcond = ''' -c 'title:"Mars" or title:"martian"' ''',\
     11             linkads = lk,\
     12             title = "<CENTER><H2><EM><font color='#B8860B;'>Mars peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>")
     13
     14ads.makepage('pubtitan',\
    1115             retrieve = False,\
    12              customcond = ''' -c 'title:"Mars" or title:"martian"' ''',\
    13              linkads = "link.LMD_planeto",\
    14              title = "<CENTER><H2><EM><font color='#B8860B;'>Mars peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>")
     16             customcond = ''' -c 'title:"Titan"' ''',\
     17             linkads = lk,\
     18             title = "<CENTER><H2><EM><font color='#B8860B;'>Titan peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>")
    1519
    1620ads.makepage('pubvenus',\
    1721             retrieve = False,\
    1822             customcond = ''' -c 'title:"Venus" or title:"venusian"' ''',\
    19              linkads = "link.LMD_planeto",\
     23             linkads = lk,\
    2024             title = "<CENTER><H2><EM><font color='#B8860B;'>Venus peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>")
    2125
     
    2327             retrieve = False,\
    2428             customcond = ''' -c 'abstract:"exoplanet" or title:"habitable" or title:"habitability"' ''',\
    25              linkads = "link.LMD_planeto",\
     29             linkads = lk,\
    2630             title = "<CENTER><H2><EM><font color='#B8860B;'>Exoplanets peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>")
    2731
     
    3034             customcond = ''' -c 'author:"Forget"' ''',\
    3135             listyear = range(2014,1992,-1),\
    32              linkads = "link.LMD_planeto",\
     36             linkads = lk,\
    3337             title = "<CENTER><H2><EM><font color='#B8860B;'>Francois Forget's peer-reviewed publications</font></EM></H2></CENTER>")
    3438
     
    3741             customcond = ''' -c 'author:"Lebonnois"' ''',\
    3842             listyear = range(2014,1998,-1),\
    39              linkads = "link.LMD_planeto",\
     43             linkads = lk,\
    4044             title = "<CENTER><H2><EM><font color='#B8860B;'>Sebastien Lebonnois's peer-reviewed publications</font></EM></H2></CENTER>")
    4145
     
    4448             customcond = ''' -c 'author:"Spiga"' ''',\
    4549             listyear = range(2014,2006,-1),\
    46              linkads = "link.LMD_planeto",\
     50             linkads = lk,\
    4751             title = "<CENTER><H2><EM><font color='#B8860B;'>Aymeric Spiga's peer-reviewed publications</font></EM></H2></CENTER>")
    4852
     
    5155             customcond = ''' -c 'author:"Millour"' ''',\
    5256             listyear = range(2014,2007,-1),\
    53              linkads = "link.LMD_planeto",\
     57             linkads = lk,\
    5458             title = "<CENTER><H2><EM><font color='#B8860B;'>Ehouarn Millour's peer-reviewed publications</font></EM></H2></CENTER>")
    5559
     
    5761             retrieve = False,\
    5862             listyear = range(2014,1992,-1),\
    59              linkads = "link.LMD_planeto",\
     63             linkads = lk,\
    6064             title = "<CENTER><H2><EM><font color='#B8860B;'>Peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>",\
    6165addlink = '''
     
    7478<br>
    7579<hr>
    76 ''')
     80''',\
     81             target="lmdplaneto")
Note: See TracChangeset for help on using the changeset viewer.