Raymond Yee
"Pro Web 2.0 Mashups: Remixing Data and Web Services"
0, including
and the tags in the
media namespace such as .
??? Remember that RSS is basically a flat structure. That is, a consists of
elements??”but an - doesn??™t consist of other
- elements. This contrasts with
other XML formats that you will learn about in later chapters of the book (such as the
OpenDocument format).
Let??™s take a closer look at the extensions used in the RSS 2.0 Flickr feed:
??? The dc prefix (for example, in ), corresponding to the http://purl.org/
dc/elements/1.1/ namespace, denotes the Dublin Core (DC) metadata standard. DC is
a vocabulary for a core set of metadata designed to be applicable to a wide range of digital
content.
??? Media RSS (http://search.yahoo.com/mrss), which supplements the element
in RSS 2.0, is used by Flickr to store metadata of the photos, such as the following:
??? , with the attributes url, type, height, and width
??? to hold the photo??™s title
??? with HTML to embed that picture into a web page
??? to hold a URL to the thumbnail in the url attribute
??? to indicate the owner of the photo
??? to holds tags
It??™s interesting to look at how all the Flickr metadata is expressed in the other feed formats.
The following:
http://api.
Pages:
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193