Book Image

jQuery Mobile Web Development Essentials-Third Edition - Third Edition

By : Raymond Camden, Matthews
Book Image

jQuery Mobile Web Development Essentials-Third Edition - Third Edition

By: Raymond Camden, Matthews

Overview of this book

jQuery Mobile is a HTML5-based touch-optimized web framework. jQuery Mobile can be used to build responsive cross-platform websites and apps for a wide range of smartphones, tablets, and desktop devices. The jQuery Mobile framework can be integrated with other mobile app frameworks such as PhoneGap, IBM Worklight, and more. Introduction to jQuery Mobile explains how to add the framework to your HTML pages to create rich, mobile-optimized web pages with minimal effort. You’ll learn how to use jQuery Mobile’s automatic enhancements and configure the framework for customized, powerful mobile-friendly websites. We then dig into forms, events, and styling. You'll see how jQuery Mobile automatically enhances content, and will find out how to use the JavaScript API to build complex sites. We’ll introduce you to how jQuery Mobile can be themed as well looking into how JavaScript can be used for deep sets of customizations. The examples are ready to run and can be used to help kick-start your own site. Along the way, you will leverage all the concepts you learn to build three sample mobile applications.
Table of Contents (15 chapters)
14
Index

RSS reader – the application


Really Simple Syndication (RSS) is a way for websites to create a computer-readable index of their information. Using a common XML format, websites can let people read their content via other websites and applications. RSS is most popular on blog and news websites.

Before diving into the code, it may make sense to quickly demonstrate the application in its final working form, so you can see the pieces and how they work together. The RSS reader application is an application meant to take RSS feeds (for example, from CNN, ESPN, and other websites), parse them into readable data, and provide a way for the user to view the articles. This application will allow you to add and delete feeds, providing both a name and a URL, and then provide a way to view the current entries from the feed.

The application begins with a basic set of instructions. These instructions are only visible when you run the application without any known feeds, as shown in the following screenshot...