diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 11:05:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 11:05:10 -0600 |
commit | f7e7a923aca8be643f9ae6f7252f9fb27b3d2c3b (patch) | |
tree | 1f78ef53b206c6b4e4efc88c4849aa9f686a094d /tde-i18n-en_GB/docs/tdebase/kioslave/data.docbook | |
parent | 85ca18776aa487b06b9d5ab7459b8f837ba637f3 (diff) | |
download | tde-i18n-f7e7a923aca8be643f9ae6f7252f9fb27b3d2c3b.tar.gz tde-i18n-f7e7a923aca8be643f9ae6f7252f9fb27b3d2c3b.zip |
Second part of prior commit
Diffstat (limited to 'tde-i18n-en_GB/docs/tdebase/kioslave/data.docbook')
-rw-r--r-- | tde-i18n-en_GB/docs/tdebase/kioslave/data.docbook | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/tde-i18n-en_GB/docs/tdebase/kioslave/data.docbook b/tde-i18n-en_GB/docs/tdebase/kioslave/data.docbook new file mode 100644 index 00000000000..fe7f3908dda --- /dev/null +++ b/tde-i18n-en_GB/docs/tdebase/kioslave/data.docbook @@ -0,0 +1,75 @@ +<article lang="&language;" id="data"> +<title +>Data URLs</title> + +<articleinfo> +<authorgroup> +<author +><personname +><firstname +>Leo</firstname +><surname +>Savernik</surname +></personname +> <address +><email +>l.savernik@aon.at</email +></address +> </author> +<othercredit role="translator" +><firstname +>Malcolm</firstname +><surname +>Hunter</surname +><affiliation +><address +><email +>malcolm.hunter@gmx.co.uk</email +></address +></affiliation +><contrib +>Conversion to British English</contrib +></othercredit +> +</authorgroup> + +<date +>2003-02-06</date> +<!--releaseinfo +>2.20.00</releaseinfo--> + +</articleinfo> + +<para +>Data URLs allow small document data to be included in the URL itself. This is useful for very small HTML testcases or other occasions that do not justify a document of their own.</para> + +<para +><userinput +>data:,foobar</userinput +> (note the comma after the colon) will deliver a text document that contains nothing but <literal +>foobar</literal +> </para> + +<para +>The last example delivered a text document. For HTML documents one has to specify the MIME type <literal +>text/html</literal +>: <userinput +>data:text/html,<title>Testcase</title><p>This is a testcase</p></userinput +>. This will produce exactly the same output as if the content had been loaded from a document of its own. </para> + +<para +>Specifying alternate character sets is also possible. Note that 8-Bit characters have to be escaped by a percentage sign and their two-digit hexadecimal codes: <userinput +>data:;charset=iso-8859-1,Gr%FC%DFe aus Schl%E4gl</userinput +> results in <literal +>Grüße aus Schlägl</literal +> whereas omitting the charset attribute might lead to something like <literal +>Gr??e aus Schl?gl</literal +> </para> + +<para +><ulink url="http://www.ietf.org/rfc/rfc2397.txt" +>IETF RFC2397</ulink +> provides more information.</para> + +</article> + |