Hey there.
-- Is there an HTML parser in VAST? Julian You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Julian, I didn't find any HTML parser available. Maybe others do know. But I am throwing an idea in case it helps you. On other environments I had this similar need and what I ended up doing is to use the tody tool to convert from HTML to XHTML and then use a regular XML parser on the result. Something like this: https://stackoverflow.com/questions/138555/how-to-convert-html-to-xhtml Of course, I called 'tidy' tool using the tool of the dialect to fork processes in the OS. In VAST it should be either AbtProgramStarter or their low level os-specific classes. Let me know if that helps, Mariano On Tue, Feb 5, 2019 at 1:33 AM <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi, Mariano.
-- Thank you very much for the reply. I was wondering, since no one had replied to me, if it meant there was no such thing, or if I has asked a remarkably stupid question, and everyone felt I didn't deserve a reply.....LOL. In any case, I ended up spending a couple hours the other night, and wrote my own. You already had the AbtHtmlElement classes, so I just extended the top level class, and wrote a recursive parser (gotta LOVE object-oriented recursion). The whole thing required about 6 methods, took only a couple hours, and now works perfectly (well....it APPEARS to...). Thanks again.. Julian On Thursday, February 7, 2019 at 3:43:09 PM UTC-5, Mariano Martinez Peck wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Mariano Martinez Peck-2
I have a Pharo 4 image with Seaside 3.0 loaded. Also, I found a utility, called Seafox, that opens a web page where HTML code can be pasted, it then outputs Seaside web page definitions. The purpose of Seafox is to speed development of Seaside web pages. I haven't yet tested Seafox, but assume it has an HTML parser. Here's the Workspace code to load Seafox into a Pharo 4 image that already has Seaside up-and-running: >> This is Pharo 4 << Gofer it squeaksource: 'Seafox'; package: 'ConfigurationOfSeafox'; load. ConfigurationOfSeafox loadBleedingEdge ^^ above loaded in this image ^^ a MetacelloFetchingMCSpecLoader(linear load : explicit load : 0.2-baseline [ConfigurationOfSeafox] load : ConfigurationOfObjectMetaTools-MarianoMartinezPeck.2 linear load : 0.2-baseline [ConfigurationOfSeafox] load : Javascript-Jasmine-NickAger.2 linear load : 1.0-baseline [ConfigurationOfObjectMetaTools] load : DynamicDeadCodeFinder-MarianoMartinezPeck.22 load : MethodWrappers-MarianoMartinezPeck.6 load : ObjectMetaTools-NicolasLaplume.9 load : Seafox-NickAger.53) I don't have time to explore this now. If you make some progress with this, please let me know. ... Peter Ode On Thu, Feb 7, 2019 at 12:43 PM 'Mariano Martinez Peck' via VA Smalltalk <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by rjuli...@gmail.com
Julian, Am Freitag, 8. Februar 2019 02:21:52 UTC+1 schrieb [hidden email]:
if that was the case, I would have been banned from this forum about a decade ago or so. Most people here are nice ;-)
I guess you've heard about VASTGoodies...? If not, please ask ;-)
Sounds really good. Joachim You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by rjuli...@gmail.com
Hi Julian,
-- "In any case, I ended up spending a couple hours the other night, and wrote my own. You already had the AbtHtmlElement classes, so I just extended the top level class, and wrote a recursive parser (gotta LOVE object-oriented recursion). The whole thing required about 6 methods, took only a couple hours, and now works perfectly (well....it APPEARS to...)." - Wow..this sounds really cool! Well done! On Thursday, February 7, 2019 at 8:21:52 PM UTC-5, [hidden email] wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by peter.ode
Thank you, Peter.
-- I appreciate the information. I now have what I need, but I will; keep this in mind for the future. Best Regards, Julian On Thursday, February 7, 2019 at 8:23:08 PM UTC-5, Peter Ode wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by jtuchel
Hi, Joachim.
-- What I REALLY needed was some of that Mirto we enjoyed in Sardenia!!! In any case, yes, I have always been impressed by the friendliness of this group. I was really just kidding about not deserving an answer.... Yes, I am quite familiar with VAST Goodies. I had already thought I might push my code into it. Best Regards, Julian On Friday, February 8, 2019 at 2:11:15 AM UTC-5, Joachim Tuchel wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
You know, that Mirto would probably not have solved the problem, but the problem might have seemed a little less pressing ;-) Nevertheless, I hope to see you this year in Cologne... And about that VASTGoodies thing: just press the button, it's easy, Adriaan made a great tool for that ;-) Joachim Am Samstag, 9. Februar 2019 23:45:20 UTC+1 schrieb [hidden email]:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |