O'Reilly logo

jQuery Mobile Web Development Essentials Second Edition by Andy Matthews, Raymond Camden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the RSS Reader application

Our application begins with the first page, index.html. This page will load in jQuery and jQuery Mobile as well. Its core mission is to list your current feeds, but it has to recognize when the user has no feeds at all and provide a bit of text encouraging them to add their first feed:

Code 13-1: index.html <!DOCTYPE html> <html> <head> <title>RSS Reader App</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="jquery.mobile/jquery.mobile-1.3.2.min.css" /> <script src="jquery.mobile/jquery-1.9.1.min.js"></script> <script src="jquery.mobile/jquery.mobile-1.3.2.min.js"></script> <script src="main.js"></script> </head> <body> <div data-role="page" id="intropage"> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required