]> gitweb.factorcode.org Git - factor.git/commit
html.streams: the 'image' character stream style now generates an <img> HTML element
authorKeith Lazuka <klazuka@gmail.com>
Tue, 22 Sep 2009 13:06:56 +0000 (09:06 -0400)
committerKeith Lazuka <klazuka@gmail.com>
Tue, 22 Sep 2009 13:06:56 +0000 (09:06 -0400)
commitd552ce8ef60a1fef9fdaf9725ef17bfe1a29c392
tree874a7ec3cbb3cd47781d2c01b20272076213342d
parentc4ed7f38b7efb772819489464b343ea9b80c52ca
html.streams: the 'image' character stream style now generates an <img> HTML element

NOTE: You must manually copy your image resources to your web server
      such that the images are available from the "/images" root URL.
  For example, if your resource is "vocab:definitions/icons/normal-word.tiff"
  then it should be copied such that it is available via the following URL:
  "http://myserver.org/images/basis/definitions/icon/normal-word.tiff"
  (the original path is first normalized and then the Factor root prefix
   is stripped away).

NOTE: Factor's definition-icons are in TIFF format, which appears to be
  supported out-of-the-box by very few web browsers (namely Safari).
  Perhaps we should switch from TIFF to GIF or PNG? Are these vocabs
  ready to be used?
basis/html/html.factor
basis/html/streams/streams.factor