Changeset 8509 for mauRepo


Ignore:
Timestamp:
10/08/12 16:27:11 (7 years ago)
Author:
mnagni
Message:

Correct wsgi.
Add version number on the title

Location:
mauRepo/HPFos/trunk/hpfos
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/HPFos/trunk/hpfos/HPFos/osImpl/myimpl.py

    r8505 r8509  
    5151from ea_model.ceda_metadatamodel.ceda_result.ceda_result import CEDA_Result 
    5252from ceda_markup.opensearch.os_param import OSParam 
     53from hpfos import __version__ 
    5354 
    5455GUID = 'guid' 
     
    5960DUMMY_GUID = 'dummy_guid' 
    6061 
    61 CEDA_TITLE = 'ceda_title' 
     62HPFos_TITLE = 'Discovery feed for Search Services (v. %s)' % (__version__) 
    6263 
    6364 
     
    118119            subresults.append(item) 
    119120         
    120         return Result(count, start_index, start_page, tot_results, subresult = subresults) 
     121         
     122        return Result(count, start_index, start_page, tot_results, subresult = subresults, title=HPFos_TITLE) 
    121123         
    122124    def generateEntryLinks(self, entry, atomroot, path, linkid = None): 
     
    180182        if hasattr(cedaObj, 'identifier'): 
    181183            for ident in cedaObj.identifier: 
    182                 if ident.authority.title == CEDA_TITLE: 
     184                if ident.authority.title == HPFos_TITLE: 
    183185                    return ident.code   
    184186 
  • mauRepo/HPFos/trunk/hpfos/__init__.py

    r8500 r8509  
     1__version__ = '1.0.0-SNAPSHOT' 
Note: See TracChangeset for help on using the changeset viewer.