Changeset 1143
- Timestamp:
- Jan 4, 2014, 2:32:36 AM (11 years ago)
- 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 9 9 set "BibTeX with abstracts" in FORMAT 10 10 11 copy paste the link of the submission result to your link.somethingfile11 copy paste the link of the submission result to your *.link file 12 12 13 13 note : you can set your link so that it includes the publications 14 14 from the whole team and set filters later in the python scripts! 15 15 16 see examples basic.py mywebsite.py lmdwebsite.py 16 see example demo.py and more complex examples within folders 17 18 this is free software without warranty 19 if you like this please let me know 17 20 18 21 A. Spiga 22 aymeric.spiga@upmc.fr 19 23 20 24 -
trunk/UTIL/PYTHON/bibweb/mywebsite/spiga.py
r1142 r1143 1 1 #! /usr/bin/env python 2 2 import ads 3 4 ###### 5 lk="spiga.link" 6 ###### 3 7 4 8 ads.makepage('pubdd',\ … … 6 10 retrieve = True,\ 7 11 customcond = ''' -c 'abstract:"devil"' ''',\ 8 linkads = "link.spiga",\12 linkads = lk,\ 9 13 addpdf = "REF/",\ 10 14 title = "<h2>Publications about dust devils</h2>") … … 14 18 retrieve = False,\ 15 19 customcond = ''' -c 'abstract:"gravity wave"' ''',\ 16 linkads = "link.spiga",\20 linkads = lk,\ 17 21 addpdf = "REF/",\ 18 22 title = "<h2>Publications about gravity waves</h2>") … … 22 26 retrieve = False,\ 23 27 customcond = ''' -c 'abstract:"mesoscale"' ''',\ 24 linkads = "link.spiga",\28 linkads = lk,\ 25 29 addpdf = "REF/",\ 26 30 title = "<h2>Publications about mesoscale meteorology</h2>") … … 30 34 retrieve = False,\ 31 35 customcond = ''' -c 'title:"cloud"' ''',\ 32 linkads = "link.spiga",\36 linkads = lk,\ 33 37 addpdf = "REF/",\ 34 38 title = "<h2>Publications about clouds</h2>") … … 38 42 retrieve = False,\ 39 43 customcond = ''' -c 'title:"Earth" or title:"terrestrial" or title:"Andes"' ''',\ 40 linkads = "link.spiga",\44 linkads = lk,\ 41 45 addpdf = "REF/",\ 42 46 title = "<h2>Publications about the Earth</h2>") … … 46 50 retrieve = False,\ 47 51 customcond = ''' -c 'title:"Mars" or title:"martian"' ''',\ 48 linkads = "link.spiga",\52 linkads = lk,\ 49 53 addpdf = "REF/",\ 50 54 title = "<h2>Publications about Mars</h2>") … … 54 58 retrieve = False,\ 55 59 customcond = ''' -c 'title:"boundary layer" or title:"microscale" or title:"large-eddy simulations"' ''',\ 56 linkads = "link.spiga",\60 linkads = lk,\ 57 61 addpdf = "REF/",\ 58 62 title = "<h2>Publications about planetary boundary layer</h2>") … … 62 66 retrieve = False,\ 63 67 customcond = ''' -c 'title:"spectrometer"' ''',\ 64 linkads = "link.spiga",\68 linkads = lk,\ 65 69 addpdf = "REF/",\ 66 70 title = "<h2>Publications about remote sensing</h2>") … … 70 74 retrieve = False,\ 71 75 listyear = [2014,2013,2012,2011,2010,2009,2008,2007],\ 72 linkads = "link.spiga",\76 linkads = lk,\ 73 77 addpdf = "REF/",\ 74 78 title = "",\ -
trunk/UTIL/PYTHON/bibweb/planetowebsite/lmdplaneto.py
r1142 r1143 2 2 import ads 3 3 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 ####### 5 lk = "lmdplaneto.link" 6 ####### 9 7 10 8 ads.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 14 ads.makepage('pubtitan',\ 11 15 retrieve = False,\ 12 customcond = ''' -c 'title:" Mars" or title:"martian"' ''',\13 linkads = "link.LMD_planeto",\14 title = "<CENTER><H2><EM><font color='#B8860B;'> Marspeer-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>") 15 19 16 20 ads.makepage('pubvenus',\ 17 21 retrieve = False,\ 18 22 customcond = ''' -c 'title:"Venus" or title:"venusian"' ''',\ 19 linkads = "link.LMD_planeto",\23 linkads = lk,\ 20 24 title = "<CENTER><H2><EM><font color='#B8860B;'>Venus peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>") 21 25 … … 23 27 retrieve = False,\ 24 28 customcond = ''' -c 'abstract:"exoplanet" or title:"habitable" or title:"habitability"' ''',\ 25 linkads = "link.LMD_planeto",\29 linkads = lk,\ 26 30 title = "<CENTER><H2><EM><font color='#B8860B;'>Exoplanets peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>") 27 31 … … 30 34 customcond = ''' -c 'author:"Forget"' ''',\ 31 35 listyear = range(2014,1992,-1),\ 32 linkads = "link.LMD_planeto",\36 linkads = lk,\ 33 37 title = "<CENTER><H2><EM><font color='#B8860B;'>Francois Forget's peer-reviewed publications</font></EM></H2></CENTER>") 34 38 … … 37 41 customcond = ''' -c 'author:"Lebonnois"' ''',\ 38 42 listyear = range(2014,1998,-1),\ 39 linkads = "link.LMD_planeto",\43 linkads = lk,\ 40 44 title = "<CENTER><H2><EM><font color='#B8860B;'>Sebastien Lebonnois's peer-reviewed publications</font></EM></H2></CENTER>") 41 45 … … 44 48 customcond = ''' -c 'author:"Spiga"' ''',\ 45 49 listyear = range(2014,2006,-1),\ 46 linkads = "link.LMD_planeto",\50 linkads = lk,\ 47 51 title = "<CENTER><H2><EM><font color='#B8860B;'>Aymeric Spiga's peer-reviewed publications</font></EM></H2></CENTER>") 48 52 … … 51 55 customcond = ''' -c 'author:"Millour"' ''',\ 52 56 listyear = range(2014,2007,-1),\ 53 linkads = "link.LMD_planeto",\57 linkads = lk,\ 54 58 title = "<CENTER><H2><EM><font color='#B8860B;'>Ehouarn Millour's peer-reviewed publications</font></EM></H2></CENTER>") 55 59 … … 57 61 retrieve = False,\ 58 62 listyear = range(2014,1992,-1),\ 59 linkads = "link.LMD_planeto",\63 linkads = lk,\ 60 64 title = "<CENTER><H2><EM><font color='#B8860B;'>Peer-reviewed publications of the LMD 'Planetary Atmospheres' team</font></EM></H2></CENTER>",\ 61 65 addlink = ''' … … 74 78 <br> 75 79 <hr> 76 ''') 80 ''',\ 81 target="lmdplaneto")
Note: See TracChangeset
for help on using the changeset viewer.