Mark Stosberg wrote:
I have some interest in a pure-perl FillInForm to support a more
portable Titanium distribution. The trick there is finding a suitable
replacement for HTML::Parser.

I haven't had much luck with this. The only pure-perl HTML parser is HTML::TagParser. It works very differently to HTML::Parser and has no methods to re-create the page based on changes you make. I contacted the author about this, he said he has no plans to add that feature but would consider patches. I had an idea about how I might to able to do it, emailed him asking what he thought and haven't heard back for over a week :/

HTML::TagParser currently parses it's way through the HTML extracting everything out into DOM style objects. My idea was to modify the lexer so that it stored the start and end point of each tag. That way when the DOM objects were changed they could be re-made into HTML and swapped back into the original. Whether that's the best idea or not I don't know :/

However I have made some good progress on my YAML based form creation module, which negates the need for HTML::FillInForm. Hopefully I'll have some distributable code soon.


Lyle


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to