Unfortunately my code is not online yet. I have not had time to prep it for release. (Or even work on it much at all, for that matter).
Florent's TurboBlog code looks good, though. I think you can accomplish your goals by using it as an example. Best of luck, Krys On Sunday 3 June 2007 09:18, Florent Aide wrote: > > > 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! > > Here is how a really similar thing is performed in TurboBlog: > > http://turboblog.devjavu.com/projects/turboblog/browser/trunk/turboblog/mod >el.py#L867 > > look at the check_tags function. > > regards, > Florent. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

