Creating a RSS Feed Reader
Tutorial » Creating a RSS Feed Reader
In this tutorial we're going to create a rss reader with jQuery EasyUI framework.
We will use following plugins:
- layout: create the application user-interface.
- datagrid: show the rss feed list.
- tree: show the feed channels.
Step 1: Create Layout
Step 2: Handling events for datagrid
At this point we need to process some events triggered by users.
This example uses 'onSelect' event to display the feed content and 'onLoadSuccess' event to select the first row.
Step 3: Handling events for tree
When tree data is loaded, we need to select the first leaf node, call 'select' method to select that node. Use the 'onSelect' event to get the selected node, so we can get the corresponding 'url' value. Finally we call 'load' method of datagrid to refresh the feed list data.