| 开发者 | mva7 |
|---|---|
| 更新时间 | 2026年9月30日 07:56 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-3.0-only |
| 版权网址: | 版权信息 |
bonplaya-nearby-beaches folder into /wp-content/plugins/.Use the Nearby beaches block, the widget, or a shortcode. Same layouts in all three:
List with photos and map
[bonplaya_beaches]
Photos, names, distances, and a map.
Short list with map
[bonplaya_beaches format="minimal"]
Names and distances, with a map. No photos.
Map only
[bonplaya_beaches format="map"]
Only the map. Click a pin for the name.
limit is 1–30. A list shows eight beaches per page. On a list, add map="0" if you do not want the map. source="post" shows beaches named in that post or page.
No. The code is GPL-3.0-only; the BonPlaya name and branding are trademarks. A fork must use a different name and identity. See NOTICE.
PHP 8.1 or newer. The mbstring extension is optional. Beach names are still matched when it is missing.
No. The visitor’s browser does not call BonPlaya. Your WordPress server fetches the sitemap XML on bonplaya.com. It does not send a visitor address or the beach name. Integration only controls whether the public HTML links to BonPlaya.com.
The public site does not call Overpass, Wikidata, Wikimedia Commons, MyMemory, or BonPlaya APIs from the visitor’s browser. Those requests are made by your WordPress server (MyMemory only on a cache miss). When a map is shown, the visitor browser loads bundled Leaflet and OpenStreetMap raster tiles.
OpenStreetMap / Overpass — Nearby natural=beach objects (server), plus geocoding (admin) and map tiles (admin settings and public maps). Overpass runs on admin refresh and scheduled sync. Nominatim runs only when an administrator searches the settings map. Sent: origin coordinates and radius; search text; tile x/y/z when a map is shown; site URL in the User-Agent. OSM copyright, Overpass, Overpass Kumi, Nominatim policy, OSM privacy.
OSRM — Driving route from the saved place to a beach, shown on that beach page. Server-side, cached for 12 hours. Sent: the two coordinates. Project OSRM.
Wikidata — Descriptions, Commons image claims (P18), and Commons category (P373) for OSM objects with a Wikidata id. During photo enrich after sync, or via Update data. Sent: entity ids. Licensing, privacy.
Wikimedia Commons — Image metadata and downloads into the Media Library (resized locally), including extra files from a beach Commons category. Public pages never hotlink Commons. During photo enrich. Sent: file titles and category searches. Reusing content, privacy.
MyMemory — Translation of cached English summaries into nl, es, de, fr, it, or pt. Cache-first; one server call on first miss. Sent: summary text, language pair, optional contact email from settings, site URL in the User-Agent. Terms.
BonPlaya sitemap — The server fetches https://bonplaya.com/sitemap.xml to match a review link when integration is Full. Plugin info, terms, privacy.
No. It does not set analytics or advertising cookies and does not insert hidden affiliate or tracking links. Visitor browsers load OpenStreetMap tiles only when a map is shown. Visible BonPlaya.com links appear only if you set integration to Full or Subtle. BonPlaya privacy: https://bonplaya.com/en/info/privacy BonPlaya terms: https://bonplaya.com/en/info/terms