From the course: Complete Guide to Spring MVC
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
RSS and Atom - Spring Tutorial
From the course: Complete Guide to Spring MVC
RSS and Atom
- [Instructor] RSS and Atom. RSS, otherwise known as Really Simple Syndication in Atom, are XML based formats for delivering regularly updated web content. What type of examples would you see for something that's a regularly updated web content? Something like blogs, news, or podcasts. They allow users to subscribe to a feed and receive updates automatically. These formats differ slightly in a syntax, but serve the same process, syndicating content across platforms for easier access. Spring MVC simplifies the creation of RSS and Atom feeds through built-in abstractions like abstract RSS feed view and abstract Atom feed view. These both leverage the ROME library to generate well structured feeds. Here are the steps to create RSS or Atom feeds. Start by creating a controller method. So here I have an example of a feed controller with a RSS feed method that we are preparing our feed items, we're adding in some sample data, or fetching data from a database, and then we are adding items to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Groovy Markup overview4m 23s
-
(Locked)
Thymeleaf4m 34s
-
(Locked)
FreeMarker overview3m 24s
-
(Locked)
Script views overview4m 42s
-
(Locked)
JSP and JSTL overview3m 54s
-
(Locked)
RSS and Atom4m 18s
-
(Locked)
PDF and Excel overview3m 43s
-
(Locked)
Jackson overview5m 3s
-
(Locked)
XML marshalling4m 31s
-
(Locked)
XSLT views overview5m 51s
-
(Locked)
-
-
-