SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 176 | Next

Raymond Yee

"Pro Web 2.0 Mashups: Remixing Data and Web Services"

You can then find out the
feed??™s URL from the Feed link. Once you have that URL, you can subscribe to the feed and
read the data it contains. For example, if you go to the following address:
http://flickr.com/groups/central/
you will find a the feed icon and link pointing here:
http://api.flickr.com/services/feeds/groups_discuss.gne?id=34427469792@N01&
lang=en-us&format=rss_200
Figure 4-1. Icon for subscribing to a feed in Flickr. (Reproduced with permission of Yahoo! Inc.?®
2007 by Yahoo! Inc.YAHOO! and the YAHOO! logo are trademarks of Yahoo! Inc.)
A second way of finding feeds is to consult Flickr??™s documentation of its feeds:
http://www.flickr.com/services/feeds/
In a moment, I??™ll list the Flickr feeds that are available following the same convention of
using URI templates as I did in Chapter 2. All the feeds share two common optional parameters:
format and lang.
Flickr Feed Parameters
Let??™s look first at format, which can be one of the values listed in Table 4-1.
Table 4-1. Values for the format Parameter in Flickr Feeds
Format Definition
rss_200 or rss2 RSS 2.0
atom_1 or atom Atom 1.0
rss_091 RSS 0.91
rss_092 or rss RSS 0.92
CHAPTER 4 ?–  WORKING WITH FEEDS, RSS, AND ATOM 86
7. http://www-128.ibm.com/developerworks/xml/library/x-atom10.html, http://www-128.ibm.com/
developerworks/xml/library/x-extatom1/, and http://www-128.ibm.com/developerworks/xml/
library/x-extatom2.


Pages:
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188