html
Format Definition
rss_100 or rdf RSS 1.0
rss_200_enc RSS 2.0 with enclosures (but without enclosure sizes)
php Code to represent feed as a PHP array
php_serial Input to the PHP unserialize function
csv Comma-separated value
json JavaScript Object Notation (http://www.json.org/)
sql Statements to store the feed data into a SQL database
yaml YAML (http://en.wikipedia.org/wiki/YAML)
cdf Channel Definition Format (http://en.wikipedia.org/wiki/Channel_
Definition_Format)
If format is not specified, Atom 1.0 is assumed. Note that RSS 2.0, RSS 1.0, and Atom 1.0
(along with RSS 0.92 and RSS 0.91) are included among the formats. I??™ll present some samples
of various formats later in this chapter, after I cover the rest of the URL language for Flickr feeds.
The second pervasive and optional parameter is lang, which represents the language you
can use to query Flickr. Table 4-2 lists the values. The default language is en-us (English).
Table 4-2. Values for the lang Parameter in Flickr Feeds
Format Definition
de-de German
en-us English
es-us Spanish
fr-fr French
it-it Italian
ko-kr Korean
pt-br Portuguese (Brazilian)
zh-hk Traditional Chinese (Hong Kong)
I??™ll now list the feeds available. Remember that all the feed URLs can include the optional
format and lang parameters.
Examining the Flickr Feeds
Feeds for public photos in Flickr are available here:
http://api.
Pages:
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189