A lightweight service to embed your Leaflet publication feed into any Leaflet document. The styling matches Leaflet's design, ensuring seamless integration into your existing documents.
Check out the live demo: https://leaflet.pub/ed1df522-3500-4e21-b6d6-350539096424
Embed the service using an iframe with URL parameters to customize the feed display:
Create an embed block in you leaflet document and add the following URL (replace the URL with your URL of your publications feed):
https://www.niklasjordan.com/leaflet-rss-embed/?rss=YOUR_RSS_FEED_URL| Parameter | Description | Default | Required |
|---|---|---|---|
rss |
Your Leaflet RSS feed URL | None | Yes |
color |
Link color in hex format (URL-encoded, e.g., %230047FF) |
#0047FF |
No |
limit |
Number of feed items to display | 5 |
No |
Display 10 items from your feed:
https://www.niklasjordan.com/leaflet-rss-embed/?rss=https://yourname.leaflet.pub/rss&limit=10Custom link color (red):
https://www.niklasjordan.com/leaflet-rss-embed/?rss=https://yourname.leaflet.pub/rss&color=%23FF0000All parameters combined:
https://www.niklasjordan.com/leaflet-rss-embed/?rss=https://yourname.leaflet.pub/rss&color=%2300FF00&limit=3MIT