Interesting stuff, nice work. About the UTF8 characters, I found some time ago a gem that helped my out when working with a old SQLSERVER DB: https://github.com/norman/utf8_utils. Just in case someone finds this thread in the future :).
Warm regards, Ignacio El 17/04/14 10:18, Stefan Haslinger escribió: > I had improvements in this area: > > I had a misunderstanding about mounting an engine. After propertly > mounting in the app, routes are picked up as they should. My bad. > > I can move the dryml tags in their respective dirs in the engine, so I > reduce dependencies in the app to a > > <include > src="../../../vendor/engines/#my#engine#name#/app/views/taglibs/admin/*"/> > > in admin_site.dryml for each subsite. > I could probably write a dryml tag for automating this ... that's for > the FIXME / inconvenience category in my app. > > Just a small unrelated sidenote: > This engine I wrote parses roughly 1.2 GB of XML data from the open > Icecat catalogue into some 280 000 records in the Hobo app using > Nokogiri and Saxerator. > I learned the hard way that Ruby is way more tolerant than MYSQL > regarding UTF8 parsing. So never assume files claiming to be UTF8 to be > standard conform UTF8. > But don't ever despair: 1.2GB - something you can never read - had 6 > invalid characters, something you can handle easily. > Code for it is at and around > https://github.com/informatom/mercator_icecat/blob/master/app/models/mercator_icecat/metadatum.rb > > Greetings, > Stefan > > -- > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
