This is an alpha version of a RSSReader and it's been made using QML.
RSSReader
This application reads rss feeds and then shows the title and the description to the user.
This application reads 3 rss feeds provided by YLE and then prints them out so the user can read the title and the description for each item in the feed. The application creates a menu to the bottom of the application window where the user can select a category he wants to read (main news, sports and culture). The categories have been translated to finnish in the application because of the language of the news provided by YLE. When user have chosen the category, he can browse the news by scrolling down the window.
Alpha
The application is made of 6 QML files: RSSReader.qml, Header.qml, Footer.qml, Feeds.qml, NewsDelegate.qml and CategoryDelegate.qml
RSSReader.qml is the main window where everything happens. Header.qml is anchored to the top of the application and it shows YLE logo with a gradient background.
Footer.rss is anchored to the bottom of the page and it shows news categories from which the user can select the one he wants to read. When user selects a different category, the property string currentFeed on RSSReader.qml gets updated by CategoryDelegate.qml.
Feeds.qml contains a ListModel with ListElements. This is where the application gets the feed urls and categorynames.
In RSSReader.qml there is a Row element that anchors to header and footer. This row element uses NewsDelegate.qml to print out article titles and descriptions that are located in property string currentFeed.
(this was written in ~5 minutes because I thought the deadline was something around Thursday night, sorry for that)
Jyri Lehvä, Haaga-Helia ammattikorkeakoulu 2010