Ignore:
Timestamp:
01/12/11 11:53:49 (9 years ago)
Author:
jukka
Message:

Added chart.apis.google.com as external latex service and adjusted html escaping for latex code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/RSSResults.py

    r3094 r3136  
    1818if 'portfolio' in REQUEST: 
    1919    if 'groups' in path: 
    20         group=context.getBlog()         
    21         if group: 
    22             results=pc.browsingSearch(REQUEST=REQUEST, sort_limit=max, group=group.UID(), author='', RSS=True) 
     20        try: 
     21            group=context.getBlog()         
     22            if group: 
     23                results=pc.browsingSearch(REQUEST=REQUEST, sort_limit=max, group=group.UID(), author='', RSS=True) 
     24        except AttributeError: 
     25             pass 
    2326    elif 'people' in path: 
    24         results=pc.browsingSearch(REQUEST=REQUEST, sort_limit=max, group='', author=context.getMemberId(), RSS=True) 
     27        try: 
     28            results=pc.browsingSearch(REQUEST=REQUEST, sort_limit=max, group='', author=context.getMemberId(), RSS=True) 
     29        except AttributeError: 
     30            pass 
    2531elif 'groups' in path: 
    26     results=context.getRSSResults(max=max) 
     32    try: 
     33        results=context.getRSSResults(max=max) 
     34    except AttributeError: 
     35        pass 
    2736else: 
    2837    results=pc.browsingSearch(REQUEST=REQUEST, sort_limit=max, RSS=True) 
Note: See TracChangeset for help on using the changeset viewer.