Revision as of 05:44, 10 October 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example of show RSS

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Code Example
Source file: Media:RssLib.zip
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);

@import url("RSSReader.css");
<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 05:44.
36 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.