Skip to content

Commit 0aa2298

Browse files
authored
Merge pull request #4190 from MicrosoftDocs/drewbat/feeds-1.5.2
Checking in updates for 1.5.2
2 parents fb5f2b4 + 1bfc216 commit 0aa2298

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hub/apps/develop/feeds/feed-provider-manifest.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Represents the registration for a single feed.
8787
| **Description** | string | Yes | A short description of the feed. | N/A |
8888
| **ContentUri** | string | Yes | The URI from which feed content is retrieved. | N/A |
8989
| **Icon** | string | Yes | The package-relative path to an icon image file that is displayed in the Widgets Board. | N/A |
90+
| **WebRequestFilter** | string | No | A web request filter string specifying the set of URLs for which the resource requests will be redirected to the feed provider's implementation of **IFeedResourceProvider**. The pattern is expressed using the format described in [Match Patterns](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns). The filter string in the registration must use [Punycode](https://en.wikipedia.org/wiki/Punycode) where necessary. All content types will be redirected when matched so the filter should only resolve to content intended to be obtained through the **IFeedResourceProvider** in the application. | N/A |
9091

9192

9293
You can use localized resources instead of string literals for the UI-facing attribute values. For more information, see [Localize strings in your UI and app package manifest](/windows/uwp/app-resources/localize-strings-ui-manifest).
@@ -103,9 +104,10 @@ The following code example illustrates the usage of the feed package manifest XM
103104
<CreateInstance ClassId="ECB883FD-3755-4E1C-BECA-D3397A3FF15C" />
104105
</Activation>
105106
<Definitions>
106-
<Definition Id="Contoso_Feed" DisplayName="ms-resource:FeedDisplayName" Description="ms-resource:FeedDescription"
107-
ContentUri="https://contoso.com/news"
108-
Icon="ms-appx:Images\ContosoFeedIcon.png">
107+
<Definition Id="Contoso_Feed" DisplayName="ms-resource:FeedDisplayName" Description="ms-resource:FeedDescription"
108+
ContentUri="https://contoso.com/news"
109+
Icon="ms-appx:Images\ContosoFeedIcon.png"
110+
WebRequestFilter="https://contoso.com/*/feed/appResource/*" >
109111
</Definition>
110112
</Definitions>
111113
</FeedProvider>

0 commit comments

Comments
 (0)