Replies: 1 comment
|
A clean way to add this is to keep the RSS work server-side and make the panel a normal frontend component. Do not fetch arbitrary RSS URLs directly from the browser: many feeds block CORS, XML parsing adds client weight, and accepting a feed URL from the request can create an SSRF risk. In this repository the frontend is under
A useful normalized response is:
Security details matter here: allow only For layout, make the panel independent and responsive: fixed/collapsible on wide screens, but a drawer or bottom sheet on smaller screens so it does not shrink the map. Reuse the Global Intercept panel's spacing, header and animation primitives, but keep news state and fetching in a separate hook/component. That makes the feature removable and testable without changing map behavior. |
Uh oh!
There was an error while loading. Please reload this page.
I would like to add a completely separate News panel to this platform and would appreciate guidance on the best way to implement it.
My idea is to create a right-side panel in the UI, similar to the existing Global Intercept panel. This panel would display country-specific local news, with each country sourcing content from an RSS feed that I provide.
Since I don't have much experience with
Next.jsdevelopment, I would appreciate detailed guidance on:Thanks.
All reactions