Changeset 1142 for trunk/UTIL
- Timestamp:
- Jan 4, 2014, 2:11:52 AM (11 years ago)
- Location:
- trunk/UTIL/PYTHON/bibweb
- Files:
-
- 1 deleted
- 1 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/bibweb/ads.py
r1141 r1142 3 3 ## ----------------------------------------------------------------- 4 4 ## Purpose: make a nice publication page with an ADS database link 5 ## Author: Aymeric Spiga 19/05/2013 5 ## Author: Aymeric Spiga 19/05/2013 improvements 10-12/2013 6 6 ## ----------------------------------------------------------------- 7 7 ## NB: uses BIBTEX2HTML https://www.lri.fr/~filliatr/bibtex2html/doc/manual.html … … 172 172 173 173 ## move results to target directory and remove txt files 174 if target is None: target=authorref+"dir"175 target=target+"/"176 arg = target,\174 if target is not None: 175 target=target+"/" 176 arg = target,\ 177 177 authorref+"*.html",\ 178 178 authorref+"*.bib",\ 179 179 authorref+"*.txt",\ 180 180 target,\ 181 target+linkads+".bib" 182 os.system( "mkdir -p %s ; mv %s %s %s %s ; mv %s ./" % (arg) )183 184 181 target+linkads+".bib",\ 182 "*.css",\ 183 target 184 os.system( "mkdir -p %s ; mv %s %s %s %s ; mv %s ./ 2> /dev/null ; cp %s %s 2> /dev/null" % (arg) ) -
trunk/UTIL/PYTHON/bibweb/demo.py
r1141 r1142 5 5 retrieve = True,\ 6 6 listyear = range(1990,1938,-1),\ 7 linkads = "feynman.link",\ 8 title = "<CENTER><H2><EM><font color='#B8860B;'>Richard Feynman's publications</font></EM></H2></CENTER>") 7 linkads = "demo.link",\ 8 title = "<CENTER><H2><EM><font color='#B8860B;'>Richard Feynman's publications</font></EM></H2></CENTER>", 9 target = 'demo') -
trunk/UTIL/PYTHON/bibweb/mywebsite/mywebsite.py
r1141 r1142 84 84 <a href="pubdd.html">Dust devils</a> / 85 85 <a href="pubgw.html">Gravity waves</a> 86 '''+"<br><br /><hr><br>"+open('inpress.html').read()) 86 '''+"<br><br /><hr><br>"+open('inpress.html').read(),\ 87 target = "spiga")
Note: See TracChangeset
for help on using the changeset viewer.