=== DILSE Embeds ===
Contributors: dilse
Tags: embed, oembed, ngo, social sector, india
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Show live DILSE items on your website: your courses, openings, organisation, map layers, stories and more.

== Description ==

DILSE is where India's social sector learns, works and finds each other. Anything on DILSE
with a public page (a course on DILSE Learn, an opening on DILSE Youth, your organisation's
card, a state on the India Impact Map, a story on Realising India) can sit on your website,
and stays up to date: when it changes on DILSE, it changes here.

* Paste a DILSE link on a line of its own in the block editor, and the item shows.
* Or use the shortcode: `[dilse url="https://<dilse>/share/course/c1"]`, with `theme="dark"`
  or `theme="auto"` to match your site, and `width="480"` to narrow it.
* Every embed carries a small "Powered by DILSE" strip, and opens DILSE in a new tab.
* Keep a list up to date: `[dilse_list collection="opportunities" state="Rajasthan" type="Fellowship" limit="10"]`.
  Collections: opportunities, events, courses, projects, resources, stories; narrow with state, type,
  org, theme or q. Your server fetches it from DILSE's open API, so it shows on https:// sites too.

The plugin sets no cookies and sends nothing about your visitors anywhere.

== Installation ==

1. Copy the `dilse-embeds` folder into `wp-content/plugins`, or upload the zip under
   Plugins → Add New → Upload.
2. Activate it.
3. Under Settings → DILSE, check the address DILSE is reached at.

== Frequently Asked Questions ==

= Where do I find a DILSE link? =

On DILSE, open the ⋮ beside anything you want to show and choose Share (for the link) or
Embed (for the code, if you prefer to paste HTML).

= The embed does not show on my https:// site =

Browsers block frames from an http:// address on an https:// page. Until DILSE has its own
domain with https://, its embeds show only on http:// pages. Links and their previews work
everywhere.

== Changelog ==

= 1.1.1 =
* DILSE's address is now https://dilse.duckdns.org, over https.

= 1.1.0 =
* [dilse_list]: a list from DILSE's open API that keeps itself up to date, credited to the organisations, with an optional API key under Settings → DILSE.

= 1.0.0 =
* First release: oEmbed for DILSE links, the [dilse] shortcode, the DILSE address setting.
