=== Feed Integrator for Loops ===
Contributors: Annubis
Donate link: http://www.ericmaechler.com
Tags: loops, video, feed, fediverse
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.4
Stable tag: 0.2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Embed your Loops (https://joinloops.org) video feed into any WordPress page or post via shortcode.

== Description ==

With this plugin you can add your Loops video feed into your WordPress website.

The plugin reads a public Loops Atom Feed and renders the videos (or thumbnails) directly on your site. No third-party iframe, no tracking — just your own video files.

= Features =

* Two shortcodes: `[loops-feed]` (videos) and `[loops-images]` (image grid)
* Configurable number of videos (`limit` attribute and global setting)
* Configurable grid columns per breakpoint (Desktop / Tablet / Mobile)
* Built-in cache to reduce requests to the Loops feed
* Settings page with Atom Feed test and cache clear button


== Installation ==

1. Unzip the compressed file.
2. Upload `feed-integrator-for-loops` to the `/wp-content/plugins/` directory.
3. Activate the plugin through the 'Plugins' menu in WordPress.
4. Go to `Loops Integrator` in the admin menu.
5. Paste your Loops Atom Feed URL and save.
6. Place `[loops-feed]` or `[loops-images]` in any page or post.


== Frequently Asked Questions ==

= Where do I get the Atom Feed URL? =

Open Loops, go to your profile / developer settings. The Atom Feed URL looks like:
`https://loops.video/feeds/<your-user-id>.atom`

= What is the difference between the two shortcodes? =

* `[loops-feed]` — renders the videos themselves (HTML5 `<video>`).
* `[loops-images]` — renders a grid of thumbnails; each thumbnail links to the original Loops post.

= Can I limit the number of videos? =

Yes. Global setting under `Loops Integrator` → `Anzahl Videos`, or per shortcode via `limit`:
`[loops-feed limit="6"]`

= The feed shows nothing — what now? =

1. Open the settings page and click `Atom Feed testen`. The result will tell you whether the URL is reachable and contains entries.
2. If the test passes but the page is still empty, click `Cache leeren` once.

= In which languages is the plugin available? =

English and German (text domain `feed-integrator-for-loops`).

= You found a bug? =

Go to this Page and Report it https://wordpress.org/support/plugin/feed-integrator-for-loops/ — thank you.


== Screenshots ==

1. Settings page — Atom Feed URL, video limit, grid columns.


== Changelog ==

= 0.2 =
* Initial public release
