[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/converters - html.py:1.1.2.1 null.py:1.1.2.1
Andreas Jung
andreas@digicool.com
Mon, 25 Feb 2002 21:14:03 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/converters
In directory cvs.zope.org:/tmp/cvs-serv9646
Added Files:
Tag: ajung-textindexng-branch
html.py null.py
Log Message:
added first 'dumb' converters
=== Added File Zope/lib/python/Products/PluginIndexes/TextIndexNG/converters/html.py ===
# a stupid HTML to Ascii converter
#
# $Id: html.py,v 1.1.2.1 2002/02/26 02:14:02 andreasjung Exp $
import re
reg = re.compile('<.*?>')
def convert(s):
return reg.sub('',s)
=== Added File Zope/lib/python/Products/PluginIndexes/TextIndexNG/converters/null.py ===
# a null converter
#
# $Id: null.py,v 1.1.2.1 2002/02/26 02:14:02 andreasjung Exp $
def convert(s):
return s