Parsing HTML in PHP is generally a bad idea. As garbage collection in PHP is a joke, I would use a better suited tool.
I wrote a simple Java app using the Jsoup HTML parsling library, then wrote the parsed data to a flat file as JSON. Having a flat it's easy to read and import in Cake. It's of course perfectly possible to do the database step i Java. //mathias 2010/4/15 Stefano <palli...@gmail.com>: > Hi, > I've found this tool > http://simplehtmldom.sourceforge.net/ > > I need to parse an external html page and import some data in my db. > Now this would be a great tool, and I've seen that it works out of > cakephp, but I really am not able to make a component out of it. I've > tried, but with no luck. > Do you know if there exists a similar component/plugin doing the same > thing or if someone was able to integrate this tool in a cakephp > installation? > thanks > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > To unsubscribe, reply using "remove me" as the subject. > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en