We'll now see the use of the
text/plain MIME type in such a situation.
text/plain: link
If we use a MIME type of text/plain and a browser transformation of text/plain: link,
in the scenario just mentioned, we will still see the text for the link, and it will
be clickable:
If all the documents that we want to point to, are located at a common URL prefix,
we can put this prefix (for example, http://domain.com/) in the first transformation
option, with the enclosing quotes. Then, we would only put the last part of the URL
(abc.pdf) in each cell.
MIME-Based Transformations
[ 246 ]
A second transformation option is available for setting a title. This would be
displayed in Browse mode instead of the URL contents, but a click would
nonetheless bring us to the intended URL.
If we use only the second transformation option, we have to put quotes
where the first option is to be entered, as follows: '','this is
the title'.
text/plain: imagelink
This transformation is similar to the previous one, except that we place in the cell
a URL that points to an image. This image will be fetched and displayed in the cell
along with the link text. The image could be anywhere on the Web, including our
local server.
The first available option is the common URL prefix (like the one for text/plain: link),
the second option is the width of the image in pixels (default: 100), and the third is
the height (default: 50).
Pages:
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227