Menu

[r3204]: / trunk / Docs / Design / FileFormats / news-rss.html  Maximize  Restore  History

Download this file

76 lines (61 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2012, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* CodeSnip File Format Documentation: News RSS Stream
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>
CodeSnip File Format Documentation - News RSS Stream
</title>
<link
rel="stylesheet"
type="text/css"
media="screen"
href="main.css"
/>
</head>
<body>
<div class="title">
<div>
DelphiDabbler CodeSnip
</div>
<div class="subtitle">
File Format Documentation
</div>
</div>
<h1>
News RSS Stream
</h1>
<p>
CodeSnip downloads news about the program and database as an RSS feed from
DelphiDabbler.com.
</p>
<p>
The feed is generated as an RSS XML document using the default encoding used
by the DelphiDabbler web server, ISO-8859-1. The XML document has no encoding
information embedded in it.
</p>
<p>
CodeSnip's HTTP handling code gets the RSS document as text and converts it to
a Unicode string using the encoding indicated by the web service (ISO-8859-1
by default).
</p>
<p>
The XML is then parsed as a Unicode string.
</p>
<p>
Therefore, although no explicit encoding information is embedded in the XML,
the document is translated to Unicode correctly and information is preserved.
</p>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.