Genii Weblog


Civility in critiquing the ideas of others is no vice. Rudeness in defending your own ideas is no virtue.


Wed 4 Sep 2013, 05:45 PM
One of the small features that has been added in Midas V5 is support for generating data URIs. These allow the content of a data object, particularly an image, to be converted to Base64 and stored directly in the HTML. For example, this image Embedded gif image is embedded in the HTML. The source for it looks like:

<img 
src="data:image/gif;base64,R0lGODlhFQAVANUAAAAAAP///1aOwbTM38fHxfDw7+vr6
qiop/7xi+fm49nX09bU0OXk4sjHxfOrOfStPPWwQfazR/i2Tvq6VPu9WvzAX9DNyOjm497c2
dDNycGtpYRaS7mBbfz8/N7e3svLy8rKysHBwa2trYiIiGZmZv///wAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAACH5BAEAACUALAAAAAAVABUAAAaPwJJwSCwaj8ikcslsOoeiqHQ6PYo62KwWS
wIZr4WwODwQdLrfznhcPnuLnw7nMDKM7geDwW30cDYEDQwEhAQMDHxFHAgbFwmOFwoYk4lDi
xQbHJqaGhkLC5UlixUUCKanGyEZFqGjFBMSERAPDht7XG9DGwiYG76+cyTCaEW7GyDIycrIR765TyXH0NPURUEAOw==" alt="Embedded gif image" height="21" width="21" 
border="0">

which is pretty hideous, but this allows the images to be part of the single HTML file instead of requiring separate image files or integrated MIME files. As you might guess, this allows capsule views in HTML rather than just in MIME, though that is not the main goal, just a side benefit.

Copyright © 2013 Genii Software Ltd.

Tags:

Wed 4 Sep 2013, 08:56 AM
In one of those last minute "Aha!" moments before releasing Midas V5 to a few early adopters, I realized that the GeniiRTCollection name did not make sense anymore. Like so many things, the original purpose has been changed. The class was originally designed to be a collection of GeniiRTItem objects that might be from multiple documents, even multiple documents in multiple databases or put together in an ad hoc way. The idea was to do GeniiRTItem and GeniiRTChunk type actions on them. As time has gone on, the real value of collections has turned out to have more to do with being a collection of documents than a collection of rich text items.
 
So the GeniiRTCollection class has become the GeniiCollection class. Not a huge change, except that it precipitates another change that has been a long time coming, which is that the Midas Rich Text LSX will become the Midas LSX. It isn't really all about rich text anymore, though it is still about rich content. When I refer to it as Midas V5, that reflects the new reality.
 
Of course, nobody probably cares but me. Customers just buy it to solve problems and open up possibilities. It will still do those things, and more with the new version, no matter what I call it.
 
 
 
 

Copyright © 2013 Genii Software Ltd.