Ignore:
Timestamp:
02/01/07 16:48:14 (13 years ago)
Author:
lawrence
Message:

more minor modifications to wsgi browse

Location:
TI07-MOLES/trunk/PythonCode/wsgi
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/DC.py

    r1930 r1934  
    3535            h+=span(self['creator'],'title')+'<br/>' 
    3636        h+=m 
     37        if 'description' in self.keys(): 
     38            h+='<div class="abstract">'+span('description: ','keywords')+span(self['description'],'metaentry')+'</div>' 
    3739        for key in self.order: 
    38             if key not in ['title','creator']: 
     40            if key not in ['title','creator','description']: 
    3941                k=span(key,'keywords')+': ' 
    4042                if isinstance(self[key],list): 
  • TI07-MOLES/trunk/PythonCode/wsgi/DiscoveryTemplate.py

    r1905 r1934  
    2828New search for text in: <input type="radio" name="textTarget" value="All" checked="checked"/> Everything 
    2929                <input type="radio" name="textTarget" value="Authors"/> Authors 
    30                 <input type="radio" name="textTarget" value="Params"/> Parameters 
     30                <input type="radio" name="textTarget" value="Params"/> Parameters&nbsp;&nbsp; 
     31                (<a href="%(advancedURL)s">Advanced Search</a>,&nbsp;<a href="%(helpAddress)s">Help</a>) 
    3132                </td></tr> 
    32 <tr><td><input type="text" size="66" name="searchString"/></td></tr> 
    33 <tr><td align="center"><table><tr> 
    34     <td width="20%%" align="left"><a class="button" href="%(helpAddress)s">Help</a></td> 
    35     <td width="10%%" align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
    36     <td width="40%%" align="center"><button type="submit" class="button">Submit</button></td> 
    37     <td width="10%%" align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
    38     <td width="20%%" align="right"><a class="button" href="%(advancedURL)s">Advanced</a></td> 
    39 </tr></table></td></tr> 
     33<tr><td><input type="text" size="66" name="searchString"/>&nbsp;<input type="submit"/></td></tr> 
    4034</table></center> 
    4135<input type="hidden" value="0" name="advanced"/> 
  • TI07-MOLES/trunk/PythonCode/wsgi/discovery.log

    r1930 r1934  
    2052052007-01-02 10:42:01,015 INFO Document Load [n=3] took [0.168444156647s] 
    2062062007-01-02 10:42:01,015 INFO Document Load [n=3] took [0.168444156647s] 
     2072007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2082007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2092007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2102007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2112007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2122007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2132007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2142007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2152007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2162007-01-02 15:51:16,149 INFO Search Request [badc] took [0.0540068149567s] 
     2172007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2182007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2192007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2202007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2212007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2222007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2232007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2242007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2252007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2262007-01-02 15:51:16,331 INFO Document Load [n=3] took [0.179332017899s] 
     2272007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2282007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2292007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2302007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2312007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2322007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2332007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2342007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2352007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2362007-01-02 15:53:35,388 INFO Search Request [temperature] took [0.0845131874084s] 
     2372007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2382007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2392007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2402007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2412007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2422007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2432007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2442007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2452007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2462007-01-02 15:53:35,536 INFO Document Load [n=1] took [0.146269083023s] 
     2472007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2482007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2492007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2502007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2512007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2522007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2532007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2542007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2552007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2562007-01-02 15:56:42,510 INFO Search Request [temperature] took [0.0612289905548s] 
     2572007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2582007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2592007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2602007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2612007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2622007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2632007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2642007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2652007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2662007-01-02 15:56:42,586 INFO Document Load [n=1] took [0.073802947998s] 
     2672007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2682007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2692007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2702007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2712007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2722007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2732007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2742007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2752007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2762007-01-02 15:57:07,155 INFO Search Request [temperature] took [0.0883619785309s] 
     2772007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2782007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2792007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2802007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2812007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2822007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2832007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2842007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2852007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2862007-01-02 15:57:07,236 INFO Document Load [n=1] took [0.0790569782257s] 
     2872007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2882007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2892007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2902007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2912007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2922007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2932007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2942007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2952007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2962007-01-02 15:57:35,247 INFO Search Request [temperature] took [0.0963509082794s] 
     2972007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     2982007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     2992007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3002007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3012007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3022007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3032007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3042007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3052007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3062007-01-02 15:57:35,339 INFO Document Load [n=1] took [0.0905709266663s] 
     3072007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3082007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3092007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3102007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3112007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3122007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3132007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3142007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3152007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3162007-01-02 15:57:41,385 INFO Search Request [temperature] took [0.0495209693909s] 
     3172007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3182007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3192007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3202007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3212007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3222007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3232007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3242007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3252007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3262007-01-02 15:57:41,460 INFO Document Load [n=1] took [0.0742018222809s] 
     3272007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3282007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3292007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3302007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3312007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3322007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3332007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3342007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3352007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3362007-01-02 15:58:13,944 INFO Search Request [temperature] took [0.0662791728973s] 
     3372007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3382007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3392007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3402007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3412007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3422007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3432007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3442007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3452007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3462007-01-02 15:58:14,043 INFO Document Load [n=1] took [0.0977439880371s] 
     3472007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3482007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3492007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3502007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3512007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3522007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3532007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3542007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3552007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3562007-01-02 16:24:28,435 INFO Search Request [badc] took [0.0848710536957s] 
     3572007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3582007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3592007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3602007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3612007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3622007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3632007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3642007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3652007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3662007-01-02 16:24:28,616 INFO Document Load [n=3] took [0.179374933243s] 
     3672007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3682007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3692007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3702007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3712007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3722007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3732007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3742007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3752007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3762007-01-02 16:28:22,970 INFO Search Request [temperature] took [0.107907056808s] 
     3772007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3782007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3792007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3802007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3812007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3822007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3832007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3842007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3852007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3862007-01-02 16:28:23,056 INFO Document Load [n=1] took [0.0849459171295s] 
     3872007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3882007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3892007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3902007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3912007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3922007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3932007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3942007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3952007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3962007-01-02 16:28:31,140 INFO Search Request [badc] took [0.0906841754913s] 
     3972007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     3982007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     3992007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4002007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4012007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4022007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4032007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4042007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4052007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4062007-01-02 16:28:31,318 INFO Document Load [n=3] took [0.176112890244s] 
     4072007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4082007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4092007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4102007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4112007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4122007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4132007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4142007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4152007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4162007-01-02 16:29:23,993 INFO Search Request [badc] took [0.0479071140289s] 
     4172007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4182007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4192007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4202007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4212007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4222007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4232007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4242007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4252007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4262007-01-02 16:29:24,158 INFO Document Load [n=3] took [0.163599967957s] 
     4272007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4282007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4292007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4302007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4312007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4322007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4332007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4342007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4352007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4362007-01-02 16:29:30,765 INFO Search Request [badc] took [0.0475540161133s] 
     4372007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4382007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4392007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4402007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4412007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4422007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4432007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4442007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4452007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4462007-01-02 16:29:30,960 INFO Document Load [n=3] took [0.194515943527s] 
     4472007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4482007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4492007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4502007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4512007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4522007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4532007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4542007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4552007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4562007-01-02 16:29:40,883 INFO Search Request [badc] took [0.0510840415955s] 
     4572007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4582007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4592007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4602007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4612007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4622007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4632007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4642007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4652007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4662007-01-02 16:29:41,062 INFO Document Load [n=3] took [0.177216053009s] 
     4672007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4682007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4692007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4702007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4712007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4722007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4732007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4742007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4752007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4762007-01-02 16:30:20,017 INFO Search Request [badc] took [0.188553094864s] 
     4772007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4782007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4792007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4802007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4812007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4822007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4832007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4842007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4852007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
     4862007-01-02 16:30:20,468 INFO Document Load [n=3] took [0.448827028275s] 
  • TI07-MOLES/trunk/PythonCode/wsgi/ndgPageLayout.py

    r1905 r1934  
    11from Utilities import myConfig 
     2from paste.request import parse_querystring 
    23 
    34def DiscoveryFrameFactory(global_config,**local_conf): 
     
    1617             
    1718    configFile=configDir+'ndgDiscovery.config' 
     19     
    1820    def filter(app): 
    1921        return DiscoveryFrame(app,'NERC DataGrid: Data Portal',configFile) 
     
    2830         
    2931        self.wrapTarget=wrapTarget 
     32        self.config=myConfig(configFile) 
     33         
     34        helpAddress=self.config.get('SEARCH','helpURL') 
     35        discoveryURL=self.config.get('SEARCH','discoveryURL') 
     36        advancedURL=self.config.get('SEARCH','advancedURL') 
    3037 
    3138        self.pageStart='''<?xml version="1.0" encoding="utf-8"?> 
     
    4249        <div id="Header">%s</div>'''% self.__buildHeader(configFile) 
    4350         
    44          
    45         self.footer='''<div id="Footer"> 
    46         <p> This portal is a pre-alpha release of NDG software.  
     51        self.disclaimer='''<p> This portal is a pre-alpha release of NDG software.  
    4752        We expect bugs, and things not to work, so please let us know about such problems  
    4853        (please email badc@rl.ac.uk, and include "NDG problem" in the subject line).  
    49         We will be adding a help link to this page when the interface is slightly more stable. 
    50         </p> </div> 
    51         </div>   
    52         </body> 
    53         </html>''' 
     54        </p>''' 
    5455         
     56        self.discovery=''' 
     57            <div class="simpleSearch"> 
     58            <form action="%s"> 
     59            <center><table><tbody> 
     60            <tr><td> New search for text in: <input type="radio" name="textTarget" value="All" checked="checked"/> Everything 
     61                <input type="radio" name="textTarget" value="Authors"/> Authors 
     62                <input type="radio" name="textTarget" value="Params"/>&nbsp;&nbsp;Parameters 
     63                (<a href="%s">Advanced Search</a>,&nbsp;<a href="%s">Help</a>)</td></tr> 
     64            <tr><td><input type="text" size="66" name="searchString"/> <input type="submit"></input></td></tr> 
     65            </tbody></table></center> 
     66            <input type="hidden" value="0" name="advanced"/> 
     67            </form></div>'''%(discoveryURL,advancedURL,helpAddress) 
     68 
    5569    def __call__(self,environ,start_response): 
    5670        ''' Let's prepend and postpend some stuff''' 
    57         response=[self.pageStart,self.header] 
     71        if ('type','xml') in parse_querystring(environ): 
     72            response=['''<?xml version="1.0" encoding="utf-8"?>'''] 
     73            footer=0 
     74        else: 
     75            footer=1 
     76            response=[self.pageStart,self.header] 
     77        if environ['SCRIPT_NAME']=='/discovery': 
     78            insert=self.disclaimer 
     79        else: 
     80            insert=self.discovery+self.disclaimer 
     81        self.footer='''<div id="Footer">%s</div></div></body></html>'''%insert 
    5882        for i in self.wrapTarget(environ,start_response): response.append(i) 
    59         response.append(self.footer) 
     83        if footer: response.append(self.footer) 
    6084        return response 
    6185         
  • TI07-MOLES/trunk/PythonCode/wsgi/renderEntity.py

    r1930 r1934  
    4949                <DIV id=""> 
    5050                <p></p> 
    51                 <h5>%s</h5> 
    52                 <DIV id="Abstract"> 
    53                         <p>%s</p>  
    54                 </DIV> 
     51                <span class="title">%s</span> 
     52                <DIV class="abstract">%s </DIV> 
    5553                <p><br/></p> 
    5654                %s 
Note: See TracChangeset for help on using the changeset viewer.