Bart De Smet explores the IE7 RSS platform using C#

Internet Explorer 7 introduces a unified approach to RSS. The good thing about it, is its availability for developers to consume the RSS feeds of the end-user, for example to build a custom RSS aggregator. Programs like the Windows Sidebar in Vista, the Windows Live Mail Desktop client, Outlook 2007 leverage the power of this API to provide multiple views on the same RSS information. In this series of blog posts Bart De Smet is showing you little snippets to make a jumpstart with the RSS platform.

  • Exploring the IE7 RSS platform in C# – Part 1
  • Exploring the IE7 RSS platform in C# – Part 2
  • Exploring the IE7 RSS platform in C# – Part 3
  • [Via Tom's MSDN Belux Corner]

     

     

    Technorati tags: rss, c#, dotnet, windows

    Return the value for the specific attribute using XPathNodeIterator

    I will use the following XML document in the example below.

    <?xml version="1.0" encoding="utf-8" ?>
    <users>
      <user FirstName="Tom" LastName="Adams" Age="23" />
      <user FirstName="Jhon" LastName="Brams" Age="17" />
      <user FirstName="Bill" LastName="Smith" Age="33" />
    </users>

    The code prints out all the user nodes of the users node that  have an age with a value greater than 17.

    // Read the xml from resource file 
    string xml = Resources.Users; 
    using (StringReader sr = new StringReader(xml)) 
    { 
        XPathDocument document = new XPathDocument(sr); 
        XPathNavigator navigator = document.CreateNavigator(); 
        XmlNamespaceManager ns = new XmlNamespaceManager(navigator.NameTable); 
        //Selects all the user nodes of the users node that 
        // have an age with a value greater than 17  
        XPathNodeIterator it = navigator.Select("/users/user[@Age>17]"); 
        while (it.MoveNext()) 
        { 
            // access the atributes  
            string firstName = it.Current.GetAttribute("FirstName", ns.DefaultNamespace); 
            string lastName = it.Current.GetAttribute("LastName", ns.DefaultNamespace); 
            // Print out  
            Console.WriteLine( "{0} {1}", firstName, lastName ); 
        } 
    }

    Freeware tool for generating reports on projects checked into Subversion repositories.

    StatSVN retrieves information from a Subversion repository and generates various reports describing the project development, e.g. timeline for the lines of code, contribution of each programmer etc. The current version of StatSVN creates a static set of HTML documents containing tables and chart images. StatSVN is open source software.

    See a Sample Html Report

    Visit StatsSVN Wiki

    Download StatSVN from SourceForge

    [Via LarkWare News]

    Technorati tags: svn, subversion, open source, reports

    MSDN Locator plugin for Windows Live Writer

    The plugin allows you to search for a class, namespace, method or property using the full name and then inserts a link tag with a description (title attribute).

    MSDNLocatorplugin4

    Download the plugin here.

    Read more here

    Technorati tags: plugin, live writer, microsoft, blogging

    Data Dictionary Creator

    Data Dictionary Creator  is a simple tool which helps you document SQL Server databases. It saves all the information in Extended Properties, so it’s easier to keep the documentation in sync with the database as it changes.Check out this Data Dictionary Creator Walkthrough to see how easy it is to document your database.

    Download Data Dictionary Creator 1.2

    Technorati tags: tool, database, sql, documentation


    Page 18 of 59« First...10...1617181920...304050...Last »