Introduced in Feature Pack 1

Example of an e-Marketing Spot Atom feed rendered in a feed reader and a remote widget

An Atom feed for an e-Marketing Spot provides text and images for display in both feed readers and remote widgets. To customize the feed formatting JSP files for the Atom feed, you must understand how the XML elements in the JSP files map to the text and images a customer sees in a feed reader or remote widget.

The following two examples illustrate how the same e-Marketing Spot feed is rendered in a feed reader and in a remote widget. The example feed is for a Web activity displaying a selection of catalog entries that are the "Deals of the Week." Both examples use the same set of feed formatting JSP files. These feed formatting JSP files are the default set WebSphere Commerce provides for e-Marketing Spots.

Example: An e-Marketing Spot feed rendered in a feed reader

This example shows the e-Marketing Spot feed rendered in a browser that supports the display of Atom feeds. Keep in mind that each browser or feed reader displays a certain set of Atom elements from the feed, arranged a certain way. Therefore, the results might not be consistent from one browser or feed reader to the next. The numbered callouts in the screen capture show the data from the e-Marketing Spot Atom feed that this particular browser displays:
E-Marketing Spot Atom feed in a feed reader
Feed data Type of data Atom element Feed formatting JSP file that contains this element
1 Title of feed <title> SerializeMarketingSpotDataAtom.jspf

This JSP fragment looks for a title key (feed_<eMarketingSpotName>_title) in the following properties file:

WCDE_installdir\workspace\Rest\src\com\ibm\commerce\stores\atom\eSpotAtomFeedText_en_US.properties

If the properties file does not specify the feed title, then the e-Marketing Spot name in Management Center is used.

2 Catalog entry name <title> SerializeMarketingSpotDataCatalogEntryAtom.jspf
3 Feed current date and time <updated>
4 Catalog entry thumbnail image <content>
5 Catalog entry short description
6 Catalog entry list price
7 Catalog entry offer (standard) price