On Fri, 2007-01-06 at 23:00 -0400, Krys Wilken wrote: > Hi there, > > You could parse the input with elementree or beautifulsoup and then filter > out > all tags except the ones you want. You could wrap all that logic up in a > validator. This is what i did for my blog. Not sure if it is the most > efficient, but it's a sure bet more maintainable than constructing just the > right regular expression, IMHO.
Do you perhaps have an example of that code online? If not, no worries! Thanks Krys, Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

