RSS Reader App
Last updated
Last updated
This is an RSS reader application using jQuery.
Import RSS Reader App to your Monaca Account
Tested Environment
Android 9.0
iOS 12.2
File | Description |
| The Startup page where RSS feeds will be loaded |
| A loading image file |
| A README file about this template |
| A JavaScript file for retrieving the RSS feeds |
| A license file (You can ignore this file.) |
| Style Sheet for the application |
jQuery
InAppBrowser
index.html
is the Startup page.
The HTML body of this file is simply a placeholder of a loading.gif
, the feed list and error message.
As soon as the application starts, the RSS feeds retrieval also begins. While loading the content of RSS feeds, loading.gif
file is displayed. The following JavaScript code is used to invoke the RSS feeds retrieval function. This function is defined in feed-reader.js
file which will be explained later in this page. You can try changing the RSS feeds URL.
When the RSS feeds retrieval function (Feed.load()
) is called, the following JavaScript code is executed:
If the function is successfully executed, the retrieved RSS feed will be displayed on the home screen.
The following JavaScript code corresponds to the display arrangement of RSS feeds in the Home screen (index.html
):
RSS feeds are displayed in a listview format. If you tap each item of this feed, InAppBrowser will launch and transition to the specified URL.
The following JavaScript code corresponds to the above function: