(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Display RSS items using Silverlight control

(3 votes)
5 comments   /   posted by Ilia Iordanov on Jan 26, 2009
Tags:   silverlight , rss , reader , integration-control

We are happy to announce the first version of the free Silverlight RSS control. It is a very light and simple control meant to display the items of a certain RSS feed in a convenient manner. You can easily integrate it in any existing web site (blog, community, portal etc.) by just pasting an HTML code snippet. Moreover you can customize it and localize it via the initialize parameters explained in details in the table below.

Samples: (download source code)

 

To integrate the RSS control just copy and paste the following HTML into your web site:

<div style="width: 175px; height: 175px">
    <object height="175" width="175" data="data:application/x-silverlight-2," type="application/x-silverlight-2">
        <param name="source" value="http://www.silverlightshow.net/showcase/SilverlightNewsWidget.xap"  />
        <param name="onerror" value="onSilverlightError"  />
        <param name="background" value="white"  />
        <param name="minRuntimeVersion" value="2.0.31005.0"  />
        <param name="autoUpgrade" value="true"  />
        <param name="initParams" value="pageSize=3,feedUrl=http://feeds2.feedburner.com/silverlightshow,readMoreLink=http://www.silverlightshow.net/News.aspx,submissionsLink=mailto:editorial@silverlightshow.net"  />
        <a style="text-decoration: none" href="http://go.microsoft.com/fwlink/?LinkID=124807">
            <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" alt="Get Microsoft Silverlight" src="http://go.microsoft.com/fwlink/?LinkId=108181"  /> 
        </a>
    </object>
    <iframe style="border-bottom: 0px; border-left: 0px; width: 0px; height: 0px; visibility: hidden; border-top: 0px; border-right: 0px">
    </iframe>
</div>

Initialize parameters:

Parameter Name Value Description
itemFontColor #1CA0F2 (Default) Sets the font color of the items. Type: Hex. color
primaryColor #FFFFFF (Default) Sets the primary color of the control. Type: Hex. color
secondaryColor #E9E9E9 (Default) Sets the secondary color of the control. Type: Hex. color
submitToolTip Submit News (Default) Sets the tooltip of the submit button. Type: String
titleText Silverlight News (Default) Sets the title of the control. Type: String
itemFontSize 11 (Default) Sets the font size of the items. Type: Double
titleFontSize 18 (Default) Sets the font size of the title. Type: Double
titleFontColor #000000 (Default) Sets the font color of the title. Type: Hex. color
pageSize 5 (Default) Sets the count of the items per page. Type: Int
bulletColor #000000 (Default) Sets the color of the items' bullets. Type: Hex. color

feedUrl
(Required)

http://feeds2.feedburner.com/silverlightshow  Sets the url of the feed that is going to be read. Has no default value and must be set. Type: String
submissionsLink http://[some url] or mailto:[some mail] Sets the link for the submit button. Can be set to "mailto" too. If not set, the submit button doesn't appear. Has no default value. Type: String
readMoreLink http://www.silverlightshow.net/News.aspx  Sets the link for the "Read more..." item on the last page of the control. If not set the "Read more..." item is not displayed.  Has no default value. Type: String

If you want to display the RSS feed with the latest news, articles, videos and more published on SilverlightShow use the following RSS feed url http://feeds2.feedburner.com/silverlightshow or read more about it here 'Stay up-to-date with the latest Silverlight news!'

Have comments or questions? Do not hesitate to contact us, that is what we are living for :)!


Comments

  • -_-

    RE: Display RSS items using Silverlight control


    posted by Jimit on Jan 28, 2009 19:31

    This is great! Do you intend to release the source code? 

  • iiordanov

    RE: Display RSS items using Silverlight control


    posted by iiordanov on Jan 30, 2009 04:36

    Hi Jimit,

    Yes, we intend to release the source code in a few weeks.

  • -_-

    RE: Display RSS items using Silverlight control


    posted by Stacey on May 25, 2010 17:50
    Any chance of getting that source code posted yet?
  • iiordanov

    RE: Display RSS items using Silverlight control


    posted by iiordanov on May 26, 2010 15:12

    Hi Stacey,

    We have added link to the source code in the news above, but you can also download it from here.

  • -_-

    RE: Display RSS items using Silverlight control


    posted by Shahnawaz on Jul 31, 2010 04:24

    well you source code does't run

    i am using ExpressionBlend 3

    any help you can provide

    ur_saajan@yahoo.com

Add Comment

Login to comment:
  *      *       

Our News on Twitter