Changeset 994 for TI07-MOLES/trunk


Ignore:
Timestamp:
24/05/06 07:42:40 (13 years ago)
Author:
lawrence
Message:

Modifying the discovery return to fit in browse (part 1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/StubB/XSLT/browse/portal/cgi/renderDiscoveryResponses.py

    r963 r994  
    22from DIF import DIF 
    33 
    4  
    5 def render(difSet,summary=0,services=0,spatial=0,temporal=0, 
     4def renderDiscoverySet(difSet,summary=0,services=0,spatial=0,temporal=0, 
    65    linkto='NDG_B_SERVICE'): 
    76    '''Takes a set of xml DIFS from a discovery search and renders a list of responses as a table, 
     
    8483    for result in results: 
    8584        difs.append(xmlCleanup(result)) 
    86     html=render(difs,summary=1,spatial=1,temporal=1) 
     85    html=renderDiscoverySet(difs,summary=1,spatial=1,temporal=1) 
    8786    f=file('output.html','wb') 
    8887    f.write(html) 
Note: See TracChangeset for help on using the changeset viewer.