×
Namespaces

Variants
Actions

Example of show RSS

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Code Example
Source file: Media:RssLib.zip
Compatibility
Platform(s):
Symbian
Article
Created: fengforky@gmail.com (22 May 2008)
Last edited: hamishwillee (10 Oct 2012)


Compatibility: Web Runtime in S60 3rd Edition, Feature Pack 2

You can use this code to show a RSS in your application or the application is just a RSS show.

The code: File:RssLib.zip

Add the files above in the zip to your project and include them in your main html file.

Example or method to use above code to show RSS:

var STORE_KEY_FeedURL = "gf_FeedURL";
var STORE_KEY_FeedName = "gf_FeedName";
 
GF_RSS_URL= "http://answers.yahoo.com/rss/catq?sid=396546051";
GF_RSS_TITLE = "Yahoo! Answers";
 
 
function gf_showRssView()
{
document.getElementById("tickerView").style.display = "none";
widget.setPreferenceForKey(GF_RSS_URL, STORE_KEY_FeedURL);
widget.setPreferenceForKey(GF_RSS_TITLE, STORE_KEY_FeedName);
init();
}


	<style>
@import url("RSSReader.css");
 
</style>
 
<script type="text/javascript" src="FeedUpdateBroker.js"></script>
<script type="text/javascript" src="RSSReader.js"></script>
This page was last modified on 10 October 2012, at 08:44.
73 page views in the last 30 days.
×