mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-25 05:25:52 -07:00
Docs
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
---
|
||||
title: Feed
|
||||
description: RSS / Atom feed widget
|
||||
---
|
||||
|
||||
This widget shows the latest items from an RSS 2.0 or Atom feed.
|
||||
|
||||
```yaml
|
||||
widget:
|
||||
type: feed
|
||||
url: https://feeds.bbci.co.uk/news/rss.xml
|
||||
maxItems: 5 # optional - defaults to 5
|
||||
layout: list # optional - possible values list, grid - defaults to list
|
||||
images: true # optional - set to false to hide images - defaults to true
|
||||
```
|
||||
|
||||
## Layouts
|
||||
|
||||
`list` shows one row per item. Items with an image get a small thumbnail.
|
||||
|
||||
`grid` shows image tiles that re-flow to fit the width of the widget, e.g.:
|
||||
|
||||
```yaml
|
||||
- World News:
|
||||
widget:
|
||||
type: feed
|
||||
url: https://feeds.bbci.co.uk/news/world/rss.xml
|
||||
layout: grid
|
||||
maxItems: 8
|
||||
```
|
||||
|
||||
## Images
|
||||
|
||||
Images are taken from the feed's `media:thumbnail` / `media:content` tags or image enclosures, falling back to the first image in the item's content. Some feeds do not include images at all.
|
||||
|
||||
Images are loaded by your browser directly from the feed's host, at whatever size the feed provides. Feeds that link full-size originals can be slow to load; set `images: false` for those.
|
||||
|
||||
## Notes
|
||||
|
||||
Feeds are fetched by homepage, not your browser, and cached for 10 minutes.
|
||||
@@ -39,6 +39,7 @@ You can also find a list of all available service widgets in the sidebar navigat
|
||||
- [Emby](emby.md)
|
||||
- [ESPHome](esphome.md)
|
||||
- [EVCC](evcc.md)
|
||||
- [Feed](feed.md)
|
||||
- [Filebrowser](filebrowser.md)
|
||||
- [Fileflows](fileflows.md)
|
||||
- [Firefly III](firefly.md)
|
||||
|
||||
@@ -65,6 +65,7 @@ nav:
|
||||
- widgets/services/emby.md
|
||||
- widgets/services/esphome.md
|
||||
- widgets/services/evcc.md
|
||||
- widgets/services/feed.md
|
||||
- widgets/services/filebrowser.md
|
||||
- widgets/services/fileflows.md
|
||||
- widgets/services/firefly.md
|
||||
|
||||
Reference in New Issue
Block a user