[WordPress] 外掛分享: MasjidFeed App

首頁 › 外掛目錄 › MasjidFeed App
WordPress 外掛 MasjidFeed App 的封面圖片
全新外掛
安裝啟用
—
尚無評分
剛更新
最後更新
—
問題解決
WordPress 6.0+ PHP 8.1+ v1.2 上架:2026-11-08

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MasjidFeed App」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

MasjidFeed App turns your existing WordPress site into the content system for the
MasjidFeed mobile app – a calm, native app for iOS and Android that your congregation
opens every day.
You keep doing what you already do: publishing posts, adding events, updating pages.
MasjidFeed App does the rest. It serves the app your prayer times, announcements,
events, donation link and branding over a fast REST API. No new dashboard, no double
entry, no developer required.
Get the app for your community:

Download on the App Store
Get it on Google Play
Project home

Your masjid, not a template
Everything lives in one place: Settings -> MasjidFeed App. Set your masjid’s name,
logo, splash screen, primary color (light and dark mode), contact details and social
links once, and every copy of the app shows your masjid. Changes appear on phones the
next time the app is started.
Prayer times, without double entry
MasjidFeed App builds on the free Muslim Prayer Times plugin (required). The
calculation settings your site already uses are served straight to the app – including
iqamah times – so the notice board, the website and the app always agree. The app also
offers a home-screen widget for prayer times.
Announcements your congregation actually reads
Choose which categories and tags feed the app’s Announcements screen. Publish a post,
and it is there – with an optional push notification. No filters selected? Every post
is shared, so nothing changes about how you already publish.
Events from the calendar you already use
MasjidFeed App speaks to the events plugin you may already run:

The Events Calendar
Awesome Calendar Events

Pick one in settings, narrow the feed with category filters, and upcoming events
appear in the app. No events plugin selected? The Events screen simply stays off.
Push notifications, in one click
Press Send notification on a published post: your congregation gets a notification
with the title, a short body and the featured image. Behind the scenes delivery runs
through Firebase Cloud Messaging – via the MasjidFeed Push gateway, your own Firebase
project, or both. Failed sends retry with backoff, logs are kept for 30 days, and the
Debug tools let you validate the connection and send a test to a real device before
you go live.
Setup walkthrough: Push notifications guide
Friday, handled
Optionally pick a Friday category. On Fridays (in your site’s timezone) the app shows
only posts from that category – Khutbah topics, Jumu’ah logistics, Ramadan schedules –
then returns to your regular filters afterwards. Set it once and forget it.
Even your parking lot is in the app
Paste your parking map zones and restriction schedules once and the app serves them to
drivers. Until you save the map, the app quietly keeps using its built-in data.
Safe, quiet and fast

Responses are cached with ETag and Cache-Control headers, so phones load quickly and
your server stays cool.
Push device registration is protected by Firebase App Check.
Your Firebase service account is encrypted with Sodium; the encryption key lives on
your server and is never stored in the WordPress database.
Optional API and push tracing records the latest 100 calls and sends with redacted
payloads – and wipes clean when your debugging is done.

Preview before your community does
The Preview tab lists your latest announcements exactly as the app will show them, so
you can sanity-check your filters before Friday.
Donate, Ramadan, and more
Feature switches let you turn parts of the app on or off (Qibla compass, prayer
reminders), and link fields connect the app to pages you already have:

Donation page – opens in a clean reader view, without your theme’s header and footer
Optional Ramadan page, shown in the app during Ramadan
Phone, email, website, WhatsApp, Facebook, Instagram and your address for directions

New to MasjidFeed?
Start here:

Getting started – from plugin install to phones in hands
Push notifications setup – Firebase, App Check and test sends
Frequently asked questions
Support

Push Notifications
By default, delivery runs through the hosted MasjidFeed Push gateway: once
Enabled the site is registered with the gateway, which relays notifications
through its own Firebase project. The gateway only relays notifications –
neither device information nor notification content is ever stored by the
gateway. The Advanced section holds the delivery settings and the optional
custom Firebase Cloud Messaging project for an organization-specific mobile
app.
Editors send notifications from the post editor: pressing Send notification on a
published post queues one Firebase topic notification. The same button can be used
again later to re-send a post.
Post notifications include the post’s large featured image when available. The
image must be publicly accessible over HTTPS. Android displays the FCM image
directly; iOS requires a Notification Service Extension in the mobile app to
download and attach the image to the notification.
For advanced scenarios a custom Firebase configuration is supported.
The Settings -> MasjidFeed App -> Push Notifications section accepts a Firebase
service-account JSON file for this tenant. The service account is encrypted with
Sodium using a MASJIDFEED_CREDENTIAL_KEY constant or environment variable of at
least 32 characters. The key must not be stored in the WordPress database.
The service account defines the Firebase project used for delivery and for
App Check verification. Verification happens at the project level: every app
registered in the project may register devices, and the plugin stores no app
configurations itself.
Transient Firebase failures retry with backoff, logs are retained for 30 days,
and a real system cron must invoke WordPress cron reliably.
The optional deep-link override supports {masjidId}, {postId}, {type} and
{slug}. Blank uses the built-in event or announcement URL. The Firebase Admin
SDK is installed from the committed Composer lockfile and vendored for release.
Full walkthrough: https://goodsoftware.foundation/p/masjidfeed/push-notifications/
External services
This plugin connects to Google Firebase, a push messaging platform provided by
Google. It is needed to deliver the push notifications that the MasjidFeed
mobile app receives (new events and announcements posted on this site). The
connection is optional: it is only used when Push Notifications are configured
on the Settings -> MasjidFeed App page with a Firebase service account.
What is sent and when:

Google OAuth 2.0 token endpoint (oauth2.googleapis.com/token): a signed
JWT assertion built from the service account’s email and project ID is sent
to obtain a short-lived Firebase access token. This happens whenever a
notification is queued or a topic registration is processed and no
unexpired token is cached.
Firebase Cloud Messaging (fcm.googleapis.com): when an admin presses
Send notification from the post editor, the notification payload is sent: the post title, an excerpt-style
body, the publicly accessible featured-image URL (if set), the post URL or
deep link, and the Firebase topic name. No visitor or subscriber data is
sent by the plugin itself.
Firebase Instance ID (iid.googleapis.com): when a device registers for
push notifications through the app, the app-supplied device registration
token and topic name are forwarded so the device can be added to or removed
from the topic.
Firebase App Check (firebaseappcheck.googleapis.com): the plugin
downloads Firebase’s public signing keys to verify App Check tokens that
the mobile app attaches to the registration endpoint. No site data is sent
in this request; it is a read-only fetch of public keys, cached for one
hour.

The Firebase service account credentials entered by the admin are stored
encrypted in the WordPress database and are used to sign these requests; they
are never sent to any service other than Google’s Firebase endpoints listed
above.
This service is provided by Google. Terms of Service:
https://firebase.google.com/terms – Privacy Policy:
https://policies.google.com/privacy
For developers
The app fetches everything over a REST API under the masjid/v1 namespace:

/wp-json/masjid/v1/config – app configuration (branding, contact, feature flags)
/wp-json/masjid/v1/salahapi – SalahAPI prayer time configuration (proxied from Muslim Prayer Times)
/wp-json/masjid/v1/events – up to 100 upcoming post objects with event fields (limit parameter, default 20)
/wp-json/masjid/v1/announcements – up to 20 announcement post objects
/wp-json/masjid/v1/posts/{id} – one published post with optional event fields
/wp-json/masjid/v1/parking-config – parking map zones and restriction schedules (404 until saved on the Parking tab)
/wp-json/masjid/v1/push/registrations – App Check-protected FCM topic registration

Configuration, list, and post responses include ETag and Cache-Control
headers and cache their rendered payloads using the WordPress Transients API.
Admins can enable content-only rendering for mobile app web views. When
enabled, adding ?render=contentOnly to a published post or page URL removes
the visual site header and footer while retaining theme styles and scripts.
Block themes keep their selected template; classic themes use a minimal plugin
template containing the featured image and content. The /config response
automatically adds this parameter to non-empty donation and Ramadan URLs.
The response field names consumed by the mobile app are documented in api.md
at https://github.com/masjidfeed/wordpress
Release Build
The development repository contains Composer manifests and the unscoped vendor
directory. Run composer install --no-dev --optimize-autoloader, then
composer install –optimize-autoloader and composer run build-release before
deploying to WordPress.org. The build prefixes dependencies under
Masjid_Feed\Dependencies and produces the self-contained vendor-prefixed
directory used at runtime.

延伸相關外掛

文章
Filter
Mastodon