From: Eric Hodel Date: 2004-09-05T11:55:10+09:00 Subject: Re: OT: Eric Hodel's datafy in ruby stars in Linux Journal NewsWeekly (announcing in the spirit of ruby's advocacy) --mW9eGbZzDIYYWqGs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable "Pe?a, Botp" (botp@delmonte-phil.com) wrote: > Tech Tip >=20 > You can embed items such as images and alternate stylesheets in HTML > with data URLs (RFC 2397). Data URLs save an HTTP request or > conveniently keep small graphics with the associated file. For > example, you can decorate your Bastille Day party invitations with > this graphic: >=20 > src=3D"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACAgMAAADgGo6J= AAA > ADFBMVEUAAAAAAP//////AADp4iP6AAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEgAACxIB0t1/= AAA > AAd > 0SU1FB9QIHxMoJ5tG/nkAAAAMSURBVHicY8hhyAEAAbQA2S8zlQAAAAAASUVORK5CYII=3D"h= eight > =3D"2 > 40"> >=20 > To convert a file to a data URL, use Eric Hodel's datafy.rb script: > http://segment7.net/projects/ruby/datafy/datafy.rb. Sweet! Thanks for the heads-up --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --mW9eGbZzDIYYWqGs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQFBOoALMypVHHlsnwQRAohbAKCqhHZpuhzj/Ot5KxS30gJz0IYQ/QCeJ8ne 6ggszIZOioBhnTQYsKGJ5fA= =Nn3X -----END PGP SIGNATURE----- --mW9eGbZzDIYYWqGs--