You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This SharePoint Framework (SPFx) Web Part allows you to fetch and display posts from a WordPress site's RSS feed using the WordPress REST API. Users can filter posts by tags, categories, post title patterns, and date ranges. This component is ideal for SharePoint environments that need to embed dynamic blog content from a WordPress site.
4
4
5
-
Short summary on functionality and used technologies.
5
+
## ✨ Features
6
6
7
-
[picture of the solution in action, if possible]
7
+
- 🔗 Connect to any WordPress site URL
8
+
- 🏷️ Filter posts by tags and categories
9
+
- 📆 Limit posts by date range (e.g., last 7 days)
10
+
- 🔍 Filter post titles with regular expressions (wildcard matching)
11
+
- ⚖️ Combine filters using `AND` / `OR` logic
12
+
- 🔄 Refresh feed and clear feed settings with one click
13
+
- 📃 Fully integrated with Fluent UI for a responsive SharePoint look and feel
14
+
15
+
16
+
## 🛠️ Usage
17
+
Once the Web Part is added to a page:
18
+
19
+
1. Enter your WordPress site URL (e.g. https://example.com)
20
+
2. Fetch site information (will fail if feed is not available). Once site information is fetched you can:
21
+
3. Set limits: # posts, # days back
22
+
4. Select desired tags or categories to filter by. **These are multiselect dropdowns populated from your site's available tags and categories.**
23
+
5. Optionally enter a regular expression to filter post titles.
24
+
6. Choose AND or OR to define how tag/category filters combine.
25
+
7. Choose your layout: List | Grid -- **Note here that images will only display if the parent post has associated media**
26
+
8. Click Update Feed.
27
+
9. Use Clear Filters to reset everything.
28
+
29
+
## 📸 Demo Screenshots
30
+

31
+
32
+

33
+
34
+

35
+
36
+

8
37
9
38
## Used SharePoint Framework Version
10
39
@@ -19,55 +48,40 @@ Short summary on functionality and used technologies.
19
48
20
49
## Prerequisites
21
50
22
-
> Any special pre-requisites?
51
+
### For using:
52
+
53
+
> Have a Wordpress site in mind that allows access to the /wp-json path for RSS feed consumption
54
+
> Have a SharePoint Online site
55
+
56
+
### For developing:
57
+
58
+
-[Node.js (LTS version)](https://nodejs.org/)
59
+
-[Yeoman and SPFx Generator](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment)
60
+
- SharePoint Online Developer site (or compatible local workbench)
**THIS CODE IS PROVIDED _AS IS_ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
40
77
41
78
---
42
-
43
-
## Minimal Path to Awesome
44
-
79
+
80
+
## Further Development
45
81
- Clone this repository
46
82
- Ensure that you are at the solution folder
47
83
- in the command-line run:
48
84
-**npm install**
49
-
-**gulp serve**
50
-
51
-
> Include any additional steps as needed.
52
-
53
-
## Features
54
-
55
-
Description of the extension that expands upon high-level summary above.
56
-
57
-
This extension illustrates the following concepts:
58
-
59
-
- topic 1
60
-
- topic 2
61
-
- topic 3
62
-
63
-
> Notice that better pictures and documentation will increase the sample usage and the value you are providing for others. Thanks for your submissions advance.
64
-
65
-
> Share your web part with others through Microsoft 365 Patterns and Practices program to get visibility and exposure. More details on the community, open-source projects and other activities from http://aka.ms/m365pnp.
66
-
67
-
## References
85
+
-**gulp serve**
68
86
69
-
-[Getting started with SharePoint Framework](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
70
-
-[Building for Microsoft teams](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/build-for-teams-overview)
71
-
-[Use Microsoft Graph in your solution](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-microsoft-graph-apis)
72
-
-[Publish SharePoint Framework applications to the Marketplace](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/publish-to-marketplace-overview)
73
-
-[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) - Guidance, tooling, samples and open-source controls for your Microsoft 365 development
0 commit comments