Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/c/o/collective.gsa-2.0rc9/collective/gsa/skins/collective.gsa/livesearch_reply.py   collective.gsa(Download)
from Products.PythonScripts.standard import html_quote
 
from collective.gsa.utils import remove_html_tags
 
ploneUtils = getToolByName(context, 'plone_utils')
                                                                            icon.width,
                                                                            icon.height))
        full_title = safe_unicode(remove_html_tags(pretty_title_or_id(result)))
 
        if len(full_title) > MAX_TITLE:
        if result.data_record_normalized_score_:
            write('''<span class="discreet" dir="%s">[%s%%]</span>''' % (test(portal_state.is_rtl(), 'rtl', 'ltr'), result.data_record_normalized_score_))
        display_description = safe_unicode(remove_html_tags(result.Description))
        if len(display_description) > MAX_DESCRIPTION:
            display_description = ''.join((display_description[:MAX_DESCRIPTION],'...'))

src/c/o/collective.gsa-2.0rc9/collective/gsa/parser.py   collective.gsa(Download)
 
from collective.gsa.interfaces import IGSAFlare
from collective.gsa.utils import remove_html_tags
from logging import getLogger