Simplest Config

Jun 22, 2011 at 10:58 AM

Hi, I downloaded the latest version of the source code, but I can't get it working :(

What is the most basic config?

I currently have this, but no data is retrieved.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sr="clr-namespace:BuiltToRoam.SocialReader;assembly=BuiltToRoam.SocialReader"
                    xmlns:Lists="clr-namespace:BuiltToRoam.SocialReader.Lists;assembly=BuiltToRoam.SocialReader"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib"
                    xmlns:Filters="clr-namespace:BuiltToRoam.SocialReader.Lists.Filters;assembly=BuiltToRoam.SocialReader"
                    xmlns:Extensions="clr-namespace:TechNews.Extensions">
    <!-- Social Reader configuration information. Edit this to include
            information about the social activity sources (ie the Sources)
            and application ids/keys for Twitter, Facebook and Bit.Ly -->
    <!-- TestMode
            Disabled (or omitted)   Not in test mode
            Full                    Display as if in full functionality test mode or non-trial mode (ie app purchased)
            Limited                 Display as if in limited functionality mode
            TrialExpired            Display as if trial has expired-->
    <sr:ReaderConfiguration x:Key="Configuration"
                            BitLyUserName=""
                            BitLyApiKey=""
                            TwitterApiKey=""
                            TwitterSecret=""
                            FacebookAppId=""
                            FacebookAppSecret=""
                            FeedbackEmailAddress=""
                            AdGacAppId=""
                            FullFunctionalityInTrialMode="true"
                            FullFunctionalityTrialModeLengthInDays="5"
                            TrialModeLengthInDays="10"
                            TestMode="Disabled">
        <sr:ReaderConfiguration.Sources>
            <sr:SocialSource x:Name="EngadgetSource" Source="RSS" Id="http://www.engadget.com/rss.xml" OnDemand="False"/>
        </sr:ReaderConfiguration.Sources>
        <sr:ReaderConfiguration.Lists>
            <Lists:DefaultListCreator>
                <Lists:ReaderList Name="EngadgetList">
                    <Filters:SourceName Name="EngadgetSource" />
                </Lists:ReaderList>
            </Lists:DefaultListCreator>
        </sr:ReaderConfiguration.Lists>
        <sr:ReaderConfiguration.Layout>
            <sr:DesignLayout PanoramaFirstListName="EngadgetList">
            </sr:DesignLayout>
        </sr:ReaderConfiguration.Layout>

    </sr:ReaderConfiguration>
</ResourceDictionary>

Coordinator
Jun 22, 2011 at 9:49 PM

Colin

When you created the project (ie before editing the configuration.xaml file) did the application run? It should work out of the box.

Nick Randolph | Built to Roam Pty Ltd | Microsoft MVP – Windows Phone Development | +61 412 413 425
The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Built to Roam does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Built to Roam.

From: ColinM [email removed]
Sent: Wednesday, 22 June 2011 8:58 PM
To: Nick Randolph
Subject: Simplest Config [socialviewer:262310]

From: ColinM

Hi, I downloaded the latest version of the source code, but I can't get it working :(

What is the most basic config?

I currently have this, but no data is retrieved.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sr="clr-namespace:BuiltToRoam.SocialReader;assembly=BuiltToRoam.SocialReader"
                    xmlns:Lists="clr-namespace:BuiltToRoam.SocialReader.Lists;assembly=BuiltToRoam.SocialReader"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib"
                    xmlns:Filters="clr-namespace:BuiltToRoam.SocialReader.Lists.Filters;assembly=BuiltToRoam.SocialReader"
                    xmlns:Extensions="clr-namespace:TechNews.Extensions">
    <!-- Social Reader configuration information. Edit this to include
            information about the social activity sources (ie the Sources)
            and application ids/keys for Twitter, Facebook and Bit.Ly -->
    <!-- TestMode
            Disabled (or omitted)   Not in test mode
            Full                    Display as if in full functionality test mode or non-trial mode (ie app purchased)
            Limited                 Display as if in limited functionality mode
            TrialExpired            Display as if trial has expired-->
    <sr:ReaderConfiguration x:Key="Configuration"
                            BitLyUserName=""
                            BitLyApiKey=""
                            TwitterApiKey=""
                            TwitterSecret=""
                            FacebookAppId=""
                            FacebookAppSecret=""
                            FeedbackEmailAddress=""
                            AdGacAppId=""
                            FullFunctionalityInTrialMode="true"
                            FullFunctionalityTrialModeLengthInDays="5"
                            TrialModeLengthInDays="10"
                            TestMode="Disabled">
        <sr:ReaderConfiguration.Sources>
            <sr:SocialSource x:Name="EngadgetSource" Source="RSS" Id="http://www.engadget.com/rss.xml" OnDemand="False"/>
        </sr:ReaderConfiguration.Sources>
        <sr:ReaderConfiguration.Lists>
            <Lists:DefaultListCreator>
                <Lists:ReaderList Name="EngadgetList">
                    <Filters:SourceName Name="EngadgetSource" />
                </Lists:ReaderList>
            </Lists:DefaultListCreator>
        </sr:ReaderConfiguration.Lists>
        <sr:ReaderConfiguration.Layout>
            <sr:DesignLayout PanoramaFirstListName="EngadgetList">
            </sr:DesignLayout>
        </sr:ReaderConfiguration.Layout>
 
    </sr:ReaderConfiguration>
</ResourceDictionary>
Jun 22, 2011 at 10:02 PM

Tried making a new project and it worked! I had started reading through the docs, when I should of just hit F5. Looks nice!

Coordinator
Jun 22, 2011 at 10:08 PM

Colin

Ok, so now try trimming out the pieces that you don’t want and replacing them with your feeds.

Unfortunately the docs are slightly out of date now as we’ve done some major redesigns of the app – hence why it’s on the source code tab, not under releases.

Nick Randolph | Built to Roam Pty Ltd | Microsoft MVP – Windows Phone Development | +61 412 413 425
The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Built to Roam does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Built to Roam.

From: ColinM [email removed]
Sent: Thursday, 23 June 2011 8:03 AM
To: Nick Randolph
Subject: Re: Simplest Config [socialviewer:262310]

From: ColinM

Tried making a new project and it worked! I had started reading through the docs, when I should of just hit F5. Looks nice!