Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

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 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 05:44.
55 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.

×