Changeset 1142 for trunk/UTIL/PYTHON


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

bibweb: a version with clean repositories 1

Location:
trunk/UTIL/PYTHON/bibweb
Files:
1 deleted
1 edited
8 moved

Legend:

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

    r1141 r1142  
    33## -----------------------------------------------------------------
    44## 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
    66## -----------------------------------------------------------------
    77## NB: uses BIBTEX2HTML https://www.lri.fr/~filliatr/bibtex2html/doc/manual.html
     
    172172
    173173    ## 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,\
    177177          authorref+"*.html",\
    178178          authorref+"*.bib",\
    179179          authorref+"*.txt",\
    180180          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  
    55             retrieve = True,\
    66             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  
    8484<a href="pubdd.html">Dust devils</a> /
    8585<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.