categories[]-One or more category String tags.
For google.feeds.Feed.MIXED_FORMAT result format both
the feed and xmlDocument sub-elements are present in the root
element. An additional sub-element called xmlNode is present for each
entry for MIXED_FORMAT. The xmlNode sub-element is a pointer to the
XML element in the XML document in the xmlElement element.
The google.feeds.FeedControl class is used to download and
display multiple feeds. The FeedControl methods are discussed in
Table 9.3.
184 9 RSS Feed with Ajax
Table 9.3 FeedControl Methods
Method Description
addFeed(url, label) Adds the feed specified by the url to the
FeedControl.
draw(element, opt_options?) Loads the feeds and displays the feeds. The element
argument specifies the DOM node that contains the
resulting entries. The optional opt_options specifies
the control options as a JSON object to display the
results. The object has a single property called
drawMode, which has the value
google.feeds.FeedControl.DRAW_MODE_TABBE
D or
google.feeds.FeedControl.DRAW_MODE_LINEA
R (default).
setNumEntries(num) Specifies the number of entries for each feed.
Default value is 4.
setLinkTarget(linkTarget) Specifies the link target to display the HTML for an
entry. The following values may be specified:
google.feeds.LINK_TARGET_BLANK
google.feeds.LINK_TARGET_SELF (default)
google.feeds.LINK_TARGET_TOP
google.feeds.LINK_TARGET_PARENT
Google Ajax Feed API provides a global method
google.
Pages:
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168