﻿<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns="http://schemas.microsoft.com/appex/2012/configuration.xsd">
  <Manifest AppID="NewsApp" AppNumber="2" SplashImage="url('/images/splash.png')" SplashBackground="#EC1C24">
    <DataSources>
      <DataSource ID="BingDailyClusterDefinitionsQuery" Type="GET">
        <URLTemplate><![CDATA[http://newsdaily.services.appex.bing.com/appexnews/bingdaily/v1{PreviewParams}/{Market}/clusterDefinitions.json]]></URLTemplate>
      </DataSource>
      <DataSource ID="MarketBedrockSlideshows" Type="GET">
        <URLTemplate><![CDATA[http://{Market}.appex-rf.msn.com/ssd/v1/{Market}/News/{SlideshowId}.js]]></URLTemplate>
      </DataSource>
      <DataSource ID="MarketBedrockArticles2" Type="GET">
        <URLTemplate>http://{Market}.appex-rf.msn.com/article/v4/{Market}/news/{PageId}/{ContentId}.js</URLTemplate>
      </DataSource>
      <DataSource ID="VideoEndpoint" Type="GET">
        <URLTemplate>http://cdn.query.prod.cms.msn.com/cms/api/amp/document/{ContentId}</URLTemplate>
      </DataSource>
      <DataSource ID="EntityCollectionQuery" Type="GET">
        <URLTemplate><![CDATA[http://{Market}.appex-rf.msn.com/cg/v8{PreviewParams}/{Market}/news/today.js?$top={ArticleCount}&$select={CollectionId}&heroCount={HeroCount}]]></URLTemplate>
      </DataSource>
      <DataSource ID="DefaultCategoriesEndpoint" Type="GET">
        <URLTemplate><![CDATA[http://{ContentServiceDomain}/none/sources/alias/compositestreambyname/today?market={Market}&tenant=amp&vertical=news]]></URLTemplate>
      </DataSource>
      <DataSource ID="DynamicStreamEndpoint" Type="GET">        
        <URLTemplate><![CDATA[http://{ContentServiceDomain}/common/abstract/alias/compositestreambyname/today_dynamic?count={ArticleCount}&market={Market}&sources={Sources}&tenant=amp&vertical=news]]></URLTemplate>
      </DataSource>
      <DataSource ID="DefaultStreamEndpoint" Type="GET">        
        <URLTemplate><![CDATA[http://{ContentServiceDomain}/common/abstract/alias/compositestreambyname/today?count={ArticleCount}&market={Market}&tenant=amp&vertical=news]]></URLTemplate>
      </DataSource>
      <DataSource ID="CategoryStreamEndpoint" Type="GET">        
        <URLTemplate><![CDATA[http://{ContentServiceDomain}/common/abstract/id/{CategoryContentId}?count={ArticleCount}&market={Market}&tenant=amp&vertical=news]]></URLTemplate>
      </DataSource>
      <DataSource ID="DiscoverStreamEndpoint" Type="GET">
        <URLTemplate><![CDATA[http://{ContentServiceDomain}/none/summary/alias/findTopicStreamsByTerm?market={Market}&tenant=amp&term={Term}]]></URLTemplate>
      </DataSource>
      <DataSource ID="PaginatedStreamEndpoint" Type="GET">
        <URLTemplate><![CDATA[http://{ContentServiceDomain}{NextItemPath}]]></URLTemplate>
      </DataSource>
      <DataSource ID="SuggestedTopics" Type="GET">
        <URLTemplate><![CDATA[http://api.msn.com/data/news/topics/trending?mkt={Market}&mv={MethodVersion}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&$top={ItemCount}]]></URLTemplate>
      </DataSource>
      <DataSource ID="BingNewsSaveNRefresh" Type="GET">
        <URLTemplate><![CDATA[http://{BingNewsSaveNRefreshDomain}/news?a={Scenario}&appid={AppId}&q={Query}&q2={Offset}&q3={Count}&q4={SortByDate}&setmkt={Market}&ET={UseETags}&FORM={FormCode}&cid={Platform_InstrumentationMuid}]]></URLTemplate>
        <DataFormat>GZip</DataFormat>
      </DataSource>
      <DataSource ID="BingAutoSuggest" Type="GET">
        <URLTemplate><![CDATA[http://api.bing.com/osjson.aspx?query={Query}&mkt={Market}&cid={Platform_InstrumentationMuid}]]></URLTemplate>
      </DataSource>
      <DataSource ID="VideoCollectionQuery" Type="GET">
        <URLTemplate><![CDATA[http://{Market}.appex-rf.msn.com/cg/v8{PreviewParams}/{Market}/news/VideosTest.js]]></URLTemplate>
      </DataSource>
      <DataSource ID="OSPrefetch" Type="GET" CacheControl="None">
        <URLTemplate><![CDATA[http://prefetch.services.appex.bing.com.akadns.net/ospcms?cg=today&app=news&mkt={market}&v=5]]></URLTemplate>
        <BackgroundPrefetch Type="Indirect" />
      </DataSource>
      <DataSource ID="NewsDataServiceAutoSuggest" Type="GET">
        <URLTemplate><![CDATA[http://{NewsDataServiceDomain}/data/news/autosuggest/search?$search={Query}&mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}{TopQueryParam}{IncludeTypesQueryParam}]]></URLTemplate>
      </DataSource>
      <DataSource ID="LocalNewsLocationsByCoordinates" Type="GET">
        <URLTemplate><![CDATA[http://api.msn.com/data/news/local/locations?lat={Latitude}&lon={Longitude}&mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}]]></URLTemplate>
      </DataSource>
      <DataSource ID="LocalNewsLocationByID" Type="GET">
        <URLTemplate><![CDATA[http://api.msn.com/data/news/local/locations?locationId={LocationId}&mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}]]></URLTemplate>
      </DataSource>
      <DataSource ID="LocalAutoSuggest" Type="GET">
        <URLTemplate><![CDATA[http://api.msn.com/data/news/local/locations/search?$search={Query}&mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}]]></URLTemplate>
      </DataSource>
      <DataSource ID="LocalNewsProviders" Type="GET">
        <URLTemplate><![CDATA[http://api.msn.com/data/news/providers/local?locationId={LocationId}&$top=10&mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}]]></URLTemplate>
      </DataSource>
      <DataSource ID="LocalNewsFeeds" Type="GET">
        <URLTemplate><![CDATA[http://api.msn.com/data/news/providers/local/{ProviderId}?locationId={LocationId}&$expand=provider/feeds($expand=articleSummaries)&maxFeeds=1&maxArticleSummaries=30&mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}]]></URLTemplate>
      </DataSource>
      <DataSource ID="LocalNewsStream" Type="GET">
        <URLTemplate><![CDATA[http://api.msn.com/data/news/providers/local/stream?locationId={LocationId}&mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}]]></URLTemplate>
      </DataSource>
      <DataSource ID="ExploreSections" Type="GET">
        <URLTemplate><![CDATA[http://{NewsDataServiceDomain}/data/news/interests/categories?mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}]]></URLTemplate>
      </DataSource>
      <DataSource ID="ExploreSectionContents" Type="GET">
        <URLTemplate><![CDATA[http://{NewsDataServiceDomain}/data/news/interests/categories/{CategoryId}?mkt={Market}&p={Platform}&pv={PlatformVersion}&av={AppVersion}&mv={MethodVersion}&$expand=category/interests]]></URLTemplate>
      </DataSource>
      <DataSource ID="SocialGlobalFeedQuery" Type="GET">
        <URLTemplate><![CDATA[http://appexnewsappupdate.blob.core.windows.net/twittertrendingfeeds/twittertrendingnews_{Market}.json]]></URLTemplate>
      </DataSource>
      <DataSource ID="SocialFacebookLoggedInUserFeed" Type="GET">
        <URLTemplate>
          <![CDATA[https://graph.facebook.com/v2.1/me/home?suppress_http_code=1&limit={FetchCountLimit}&fields={Fields}&access_token={AccessToken}]]>
        </URLTemplate>
        <PayloadTemplate/>
      </DataSource>
    </DataSources>
    <Prefetching>
      <Enable>True</Enable>
      <RetryCount>3</RetryCount>
      <Standard>
        <PrefetchIntervalInMilliseconds>100</PrefetchIntervalInMilliseconds>
        <NumberOfConcurrentPrefetches>5</NumberOfConcurrentPrefetches>
        <NumberOfMaxConcurrentFetchesToAllowPrefetch>0</NumberOfMaxConcurrentFetchesToAllowPrefetch>
      </Standard>
    </Prefetching>
    <Networking>
      <Timeout>30</Timeout>
      <RetryCount>0</RetryCount>
    </Networking>
    <Features>
      <!-- master switch for Headlines feature -->
      <Feature ID="Headlines" Enabled="false" />
      <!-- master switch for Topics feature -->
      <Feature ID="Topics" Enabled="false" />
      <!-- feature switch for "My Topics" page -->
      <Feature ID="MyTopics" Enabled="false" />
      <!-- master switch for customization as a feature -->
      <Feature ID="GlobalCustomization" Enabled="false" />
      <!-- feature switch for ability to customize topics within the app -->
      <Feature ID="AddOrRemoveTopic" Enabled="false" />
      <!-- feature switch for ability to refresh within the app -->
      <Feature ID="Refresh" Enabled="false" />
      <!-- feature switch for "Suggested Topics" pivot within "My Topics" page -->
      <Feature ID="SuggestedTopics" Enabled="false" />
      <!-- master switch for Videos feature -->
      <Feature ID="Videos" Enabled="false" />
      <!-- master switch for Local feature -->
      <Feature ID="Local" Enabled="false" />
      <!-- master switch for autosuggest as a feature -->
      <Feature ID="GlobalAutoSuggest" Enabled="false" />
      <!-- feature switch for use of news data service suggestions within autosuggest -->
      <Feature ID="NewsDataServiceAutoSuggest" Enabled="false" />
      <!-- feature switch for use of topics suggestions within autosuggest -->
      <Feature ID="BingAutoSuggest" Enabled="false" />
      <!-- feature switch for use of headlines suggestions within autosuggest -->
      <Feature ID="HeadlinesAutoSuggest" Enabled="false" />
      <!-- feature switch for use of local suggestions within autosuggest -->
      <Feature ID="LocalAutoSuggest" Enabled="false" />
      <!-- feature switch for Interests on Headlines page -->
      <Feature ID="HeadlineWithMyNewsStream" Enabled="false" />
      <!-- feature switch for the local news stream within the Local page -->
      <Feature ID="LocalNewsStream" Enabled="false" />
      <!-- feature switch for Explore in topics page -->
      <Feature ID="TopicsExploreSection" Enabled="true" />
      <!-- feature switch for Social page -->
      <Feature ID="SocialFunctionalities" Enabled="false" />
      <!-- feature switch for Social Facebook page -->
      <Feature ID="SocialForFacebook" Enabled="false" />
      <!-- feature switch for Explore page -->
      <Feature ID="Explore" Enabled="true" />
      <!-- feature switch for featured nav on explore page -->
      <Feature ID="FeaturedExplore" Enabled="false" />
      <!-- feature switch for display interest image on explore page -->
      <Feature ID="ExploreInterestImage" Enabled="false" />
      <!-- feature switch to discover new topicStreams whenever we resolve topics from personalizations -->
      <Feature ID="DiscoverTopics" Enabled="true" />
    </Features>
  </Manifest>
  <Custom>
    <!-- Build Type Configuration.  Set by build automation.    -->
    <String Name="BuildType">
      <Value>Developer</Value>
    </String>
    <String Name="ContentServiceDomain">
      <Value>cdn.content.prod.cms.msn.com</Value>
    </String>
    <String Name="NewsDataServiceDomain">
      <Value>api.msn.com</Value>
    </String>
    <String Name="ArticleUrlFormat">
      <Value>//application/view?entitytype={0}&amp;contentId={1}</Value>
    </String>
    <String Name="SlideShowUrlFormat">
      <Value>//application/view?entitytype={0}&amp;pageId={1}</Value>
    </String>
    <String Name="TopStoriesClusterCategoryKey">
      <Value>topStories</Value>
    </String>
    <String Name="ExcludedCategoryKeys">
      <Value>featured</Value>
    </String>
    <Int32 Name="TopicIslandTopicCount">
      <Value>30</Value>
    </Int32>
    <Int32 Name="InterestsInSourcesCount">
      <Value>25</Value>
    </Int32>
    <Bool Name="OpenTopicsInApp">
      <False/>
    </Bool>
    <String Name="TopicsFormCode">
      <Value>APXPN03</Value>
    </String>
    <Bool Name="TopicsUseETags">
      <True/>
    </Bool>
    <Bool Name="TopicsSortByDate">
      <True/>
    </Bool>
    <String Name="DefaultProviderId">
      <Value>AAPEDK</Value>
    </String>
    <String Name="ADRenderClusterControlName">
      <Value>NewsApp.Controls.CategoryControl</Value>
    </String>
    <String Name="SupportedFeatures">
      <Value>Disclaimer</Value>
    </String>
    <Dictionary Name="CacheSettings">
      <Int32 Name="DefaultMaxRetentionTimeInDays">
        <Value>1</Value>
      </Int32>
      <Int32 Name="DefaultExpiry">
        <!-- Overall default expiry used by the cache if the data source does not define one -->
        <Value>900</Value><!-- 15 min -->
      </Int32>
    </Dictionary>
    <Dictionary Name="Release">
      <Int32 Name="ReleaseNumber">
        <Value>201308</Value>
      </Int32>
      <String Name="UpgradeUrl">
        <Value><![CDATA[ms-windows-store:Updates]]></Value>
      </String>
    </Dictionary>
    <Dictionary Name="EntityClusterConfig">
      <String Name="SupplementalConfigURLPrimary">
        <Value/>
      </String>
      <String Name="SupplementalConfigURLSecondary">
        <Value/>
      </String>
    </Dictionary>
    <String Name="BingNewsSaveNRefreshDomain">
      <Value>appex.bing.com</Value>
    </String>
    <String Name="RenderServiceDomain">
      <Value>rendering.services.appex.bing.com</Value>
    </String>
    <Bool Name="EnableFREForOfflineOnly">
      <False/>
    </Bool>
    <!-- List of hosts that we should prefetch the DNS for -->
    <List Name="PrefetchDnsHostList">
      <String>
        <Value>appex.bing.com</Value>
      </String>
      <String>
        <Value>{market}.appex-rf.msn.com</Value>
      </String>
    </List>
    <!-- List of domains that we will honor the 403 blocking from -->
    <List Name="DomainAllowList403">
      <String>
        <Value><![CDATA[http://appex.bing.com/news]]></Value>
      </String>
    </List>
    <Dictionary Name="MarketLiveTileURLs">
      <String Name="SingleTile">
        <Value><![CDATA[http://cdn.content.prod.cms.msn.com/singletile/summary/alias/experiencebyname/today?market={mkt}&tenant=amp&vertical=news]]></Value>
      </String>
      <String Name="MultiTile0">
        <Value><![CDATA[http://cdn.content.prod.cms.msn.com/multipletile/summary/alias/experiencebyname/today?market={mkt}&tenant=amp&tileid=0&vertical=news]]></Value>
      </String>
      <String Name="MultiTile1">
        <Value><![CDATA[http://cdn.content.prod.cms.msn.com/multipletile/summary/alias/experiencebyname/today?market={mkt}&tenant=amp&tileid=1&vertical=news]]></Value>
      </String>
      <String Name="MultiTile2">
        <Value><![CDATA[http://cdn.content.prod.cms.msn.com/multipletile/summary/alias/experiencebyname/today?market={mkt}&tenant=amp&tileid=2&vertical=news]]></Value>
      </String>
    </Dictionary>
    <Dictionary Name="PinLogo">
      <String Name="Square30X30">
        <Value>images/small.png</Value>
      </String>
      <String Name="Square70X70">
        <Value>images/tiny.png</Value>
      </String>
      <String Name="Square150X150">
        <Value>images/logo.png</Value>
      </String>
    </Dictionary>
    <String Name="HelpURL">
      <Value>http://go.microsoft.com/fwlink/?LinkID=246410</Value>
    </String>
    <String Name="bingAppID">
      <Value>C98EA5B0842DBB9405BBF071E1DA7651077B1B5B</Value>
    </String>
    <String Name="WorldWideMarket">
      <Value>EN-WW</Value>
    </String>
    <!--Suggested Topics Config values-->
    <String Name="TopicsDetailsUrlFormat">
      <Value><![CDATA[//application/view?entitytype=topicdetailspage&topic={topicName}&market={market}]]></Value>
    </String>
    <String Name="PlatformName">
      <Value>Windows</Value>
    </String>
    <String Name="PlatformVersion">
      <Value>8.2.0.0</Value>
    </String>
    <Int32 Name="SuggestedTopicsItemCount">
      <Value>20</Value>
    </Int32>
    <Int32 Name="MaxHeadlineItemCount">
      <Value>30</Value>
    </Int32>
    <Int32 Name="MaxNewsStreamItemCount">
      <Value>30</Value>
    </Int32>
    <Int32 Name="VideoClusterItemCount">
      <Value>20</Value>
    </Int32>
    <Int32 Name="GlobalAutoSuggestMaxTotalItemsCount">
      <Value>6</Value>
    </Int32>
    <Int32 Name="GlobalAutoSuggestMaxHeadlinesCount">
      <Value>1</Value>
    </Int32>
    <Int32 Name="GlobalAutoSuggestMaxLocationsCount">
      <Value>1</Value>
    </Int32>
    <Int32 Name="GlobalAutoSuggestMaxTopicsCount">
      <Value>6</Value>
    </Int32>
    <Int32 Name="GlobalAutoSuggestHeightOverride">
      <Value>280</Value>
    </Int32>
    <String Name="TopicsGettingStartedImageUrl">
      <Value><![CDATA[http://img.s-msn.com/tenant/amp/entityid/AAc17fO.img]]></Value>
    </String>
    <Dictionary Name="PushNotificationSettings">
      <Bool Name="Enable">
        <True/>
      </Bool>
      <String Name="SIAppName">
        <Value>news</Value>
      </String>
    </Dictionary>
    <Dictionary Name="PersonalDataPlatform">
      <Int32 Name="RequestTimeOutInSeconds">
        <Value>10</Value>
      </Int32>
      <String Name="AppDomain">
        <Value>News</Value>
      </String>
    </Dictionary>
    <Bool Name="PrivacyIndicatorWaitForPrefetch">
      <True/>
    </Bool>
    <Dictionary Name="FeedbackSettings">
      <String Name="FeedbackAppName">
        <Value>News</Value>
      </String>
      <String Name="WindowsFeedbackContextId">
        <Value>142</Value>
      </String>
    </Dictionary>
    <Dictionary Name="PersonalDataPlatform">
      <Bool Name="IsPersonalizationEnabled">
        <True />
      </Bool>
      <Bool Name="IsBackgroundRefreshEnabled">
        <True />
      </Bool>
      <String Name="EnabledVerticalIds">
        <Value>News</Value>
      </String>
    </Dictionary>

    <!--start Social Configuration -->
    <!-- Facebook -->
    <String Name="FacebookAppIdForNewsFeed">
      <Value>217684051775252</Value>
    </String>

    <String Name="FacebookAppSecretForNewsFeed">
      <Value>b51306bb51fc5d91f0ae7b73cc6d7feb</Value>
    </String>

    <String Name="FacebookLoginFormat">
      <Value><![CDATA[https://www.facebook.com/dialog/oauth?client_id={0}&redirect_uri={1}&scope=read_stream,user_likes,user_interests,user_religion_politics&display=popup]]></Value>
    </String>

    <String Name="FacebookRequestAccessTokenFormat">
      <Value><![CDATA[https://graph.facebook.com/oauth/access_token?client_id={0}&redirect_uri={1}&client_secret={2}&code={3}]]></Value>
    </String>

    <String Name="FacebookCallback">
      <Value><![CDATA[http://localhost/en-us/]]></Value>
    </String>

    <String Name="FacebookGraphFormatForBatchProfile">
      <Value><![CDATA[https://graph.facebook.com]]></Value>
    </String>

    <String Name="FacebookFeedQueryCountLimit">
      <Value><![CDATA[200]]></Value>
    </String>
        
    <String Name="FacebookFeedQueryFields">
      <Value><![CDATA[message,picture,link,name,status_type,type,from]]></Value>
    </String>

    <String Name="FacebookLogoutFormat">
      <Value><![CDATA[http://facebook.com/logout.php?app_key={0}&session_key={1}&next={2}]]></Value>
    </String>

    <!-- end Social Configuration -->
    <String Name="FeedbackHelpURL">
      <Value>
        <![CDATA[http://go.microsoft.com/fwlink/?LinkID=526592]]>
      </Value>
    </String>
    <String Name="AppHelpLink">
      <Value>
        <![CDATA[http://go.microsoft.com/fwlink/?LinkID=526592]]>
      </Value>
    </String>

    <String Name="FacebookTokenKeyName">
      <Value>facebook</Value>
    </String>

    <Dictionary Name="Ads">
      <String Name="ApplicationId">
        <Value>e493be0e-985d-4ab1-94f4-e09c7053a38d</Value>
      </String>
      <String Name="ApplicationIdPhone">
        <Value>3859da8f-fdc2-496f-a3d7-966b69d20c58</Value>
      </String>
      <String Name="Vertical">
        <Value>News</Value>
      </String>
      <String Name="AppAdSettings">
        <Value>News</Value>
      </String>
    </Dictionary>

    <String Name="TelemetryApplicationId">
      <Value>d9b36277-83f5-4dcf-8b25-6deea2259e70</Value>
    </String>

    <Int32 Name="SuspendDurationForAppResetInSecs">
      <Value>900</Value>
    </Int32>    
  </Custom>
</Configuration>
