18
!"#$$%&'"()*
+",,,!,*-!
.
!"$$%&'
"()*
!""" !
( /$/00/ 123
4 10$ $$$3
.%2%$1 /$13
' 000 $$0.3
' 11%./$ $$2%3
5" 102.2$. 1$3
65 $. $/1.3
/%1/00 112.3
7 %0/%% 13
+" 2./$2.$/ .113
+",,,!
///
/
#$%&' '''('
!"8(79*'"6(:5!&+&+;$$%<=6>>84?"( !&9,!+&=1%*?"&$$%
111
1
$ %(')(*+
&',-.
,/#$,
'"8448(' !&!("!'
7"(44,('
. >",(!&' 4"@(&,*"
/ "!("4"&A4(' (
0+ ("1"1"''''"'+
0 ,"!"
% #(,8&&4(*!
!"' !8*!,-4
.+ ('"'"" 1"'1'"1"-"""""+
$2
9& ' &'8,8?B,9"9"'4C*DE!
D>87!A4$$2",8!5F '/G"1%$0.1*/$00./%/10'/H$$2H9&H HH' H(
0
0
>8!"3$$
3$$;&Really Simple Syndicaon"4Rich Site Summary<(&(web feed("
"(I"&",8J"!K,K,K"JA(
RSS document ;,web feedchannel<"(""A;"<K"!
"
"
•
'"expose,(,!"subscribe
•
68!4(,(8,aggregaon,(&aggregator
%%
%
>8!"&4"
D(,;<L,!8("&"",
•
(G++,&"222
•
&news feed (or channel) ,&
K
("*4K
"K
"K
8,!,"
•
Atom Syndicaon FormatG++$F6M"!AK",(;
(&:!K#NK "K'K# KO<
>8!"&4"
''" '
5'" 6" ( 7''
/"8 MP(,! +70$2 $
(' +! $
" +4"A!4;$$< +! $
" +! &
!'" )" +! &
'&! +! $
!'6 )"4 +! $
/ ="M!( M! &
9" '8&, +! &
!&,,!! !"QG'!&( '!& &
3" G4!(&4!;+!(")'+!< +! &
$' +"(8!" +" $
#"$' G("P" Q+" $
G(,,,,.! G7 5*'"
22
2
>8!"&4"
5'" :;
&&"(RS&T&T**"8&,!A
G(,,,,.! G7 5*'"
5' 6"
' 4(
' QGM(
" &
5("(
"!
" QGM(!(4!
'" -
!"I"&4P
6 ,,"
" G++(
$$
$
>8!"&4"
5<'
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>RSS Title</title>
<description>This is an example of an RSS feed</description>
<link> /><lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate>
<pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
<item>
<title>Example entry</title>
<description>Here is some text containing an interesting description of the thing to be described.
</description>
<link> /><guid>unique string per item</guid>
<pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
</item>
</channel>
</rss>
+",8!,8G++
#$2
,,,,!,4UV
(&'
,,///UHVMD7WHVWVMD7H
&'
,,,,
"
,,,!
,,,
,"8..//
,,,&4&:B
85<
&G++
5
,,,!
,,,
3$$
,,,*,8
,,,&4
,,,&-*&
.
,,,"-
"
'
"
'
3$$$"
=3$$ "''
"">
)G4)"G;%*7*$$2<
,,,!
.
.
?8/" !33$$4;.-"(!N<
<?xml version="1.0"?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="/include/xsl/rss.xsl"?>
<rss xmlns:npr=" xmlns:nprml="
xmlns:itunes="
xmlns:content=" version="2.0">
<channel>
<title>NPR Topics: Science</title>
<link> /> <description>The latest health and science news. Updates on medicine, healthy
living, nutrition, drugs, diet, and advances in science and technology.
Subscribe to the Health & Science podcast.</description>
<copyright>Copyright 2009 NPR - For Personal Use Only</copyright>
<generator>NPR API RSS Generator 0.93</generator>
<lastBuildDate>Sat, 17 Oct 2009 14:38:00 -0400</lastBuildDate>
<image>
<url> /> <title>Science</title>
<link> /></image>
/
/
?8/" !33$$4;.-"(!N<
<item>
<title>California Develops Earthquake Early-Warning System</title>
<description>Lives may be saved with an earthquake early-warning system
&mdash; the kind that's already in place in Japan and Mexico. But
here in the U.S., such a system is still several years away.</description>
<pubDate>Sat, 17 Oct 2009 14:38:00 -0400</pubDate>
<link> /><guid> /><content:encoded><![CDATA[<p>Lives may be saved with an earthquake early-warning
system — the kind that's already in place in Japan and Mexico. But here in
the U.S., such a system is still several years away.</p><p><a
href="
E-Mail This</a> <a href=" />http%3A%2F%2Fwww.npr.org%2Ftemplates%2Fstory%2Fstory.php%3FstoryId%3D113877510">»
Add to Del.icio.us</a></p>]]></content:encoded>
</item>
6&R 56S,4&P!A
1
1
?8/" !33$$4;..-"(!N<
<item>
<title>Mapping The Boundaries Of The Solar System</title>
<description>NASA launched the Interstellar Boundary Explorer (IBEX)
spacecraft last year to investigate the edges of the
heliosphere &mdash; the insulating bubble the sun creates around the
solar system. IBEX principal investigator David McComas reports on the
first surprising results.</description>
<pubDate>Fri, 16 Oct 2009 13:19:00 -0400</pubDate>
<link> /> <guid> /> <content:encoded><![CDATA[<p>NASA launched the Interstellar Boundary Explorer (IBEX) spacecraft last
year to investigate the edges of the heliosphere — the insulating bubble the sun creates around
the solar system. IBEX principal investigator David McComas reports on the first
surprising results.</p>
<p><a href="
E-Mail This</a> <a href="
url=http%3A%2F%2Fwww.npr.org%2Ftemplates%2Fstory%2Fstory.php
%3FstoryId%3D113870291">»
Add to Del.icio.us</a></p>]]></content:encoded>
</item>
</channel>
</rss>
<! Burned on demand at 2009-10-17 10:49:43 >
<! LIVE >
<! Burned 10/17/2009 10:49:43.407 >
6&R 56S,4&P!A
0
0
3"3$$?8/"(
)"
6'4&
(("
%
%
6,@8')6,8*.
6,@8';6,8<4!!()(HTML ,*(XML"
D"7-6K!""K!""KK(&K
""(76!
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document dom = db.parse(someHttpInputStream);
'" HpComponents !.
H#pClient;")<("!B )*,4;",,,<
"!&(
=((!8"'2
5(
GI"4(P"
!,$(
+"4P"
=56
+:5 "!&
!#(
Q4(P"
65/5(5
P"
(35
58I"
,!(,$
G"B )"(PQGM
,5(
'I"4 '))"K""&(++M*&"4;B )+<"!"&B )&
$""2
78K>GI"K"KO
2
2
!A''"B5<''
-,,4&&&'!'3
;)G<
$
$
!3!@B!'+
)G""(,(!(,!
( #3/
+
Q+,
D,
>"
BW+
W5
)4W+&
)W)
7
,,,!UV$$
,,,!UV$$.
,,,!UV$$/
,,,!UV$$0
,,,!UV$$%
,,,!UV$$
,,,!UV$
,,,!UV$
,,,!UV$1%
!3!@B!'+
D,&ListView,!(,",84D",*(
"(!&
'
XBW+Y
!3!@B!'+
. "(!&& Q
84""-
7"F6M:;"
,
XBW+Y"-D,8,"@(!+
+&
.
.
!3!@B!'+
/("&(&!> "!
4(closing,,!more(4
D,4(4K,
8X6Y"
/
/
!3!@B!'+
1 8F6M:;"&&!D94&D"!
!"-
D & ( * !
, & " " (
4 " "K
"KKK
1
1
C%!""!3
"G++(XBW+YD2EE++E""E""+>FG
?(!!"=D")
. !(!(K"!(F6M"
/ ,8!(RS"
1 5,!!-(GRS"!
R4SKR4SKR8SKR"4SK