Skip to content

Commit

Permalink
remove all mentions of Flattr
Browse files Browse the repository at this point in the history
this integration has been removed for a long while
  • Loading branch information
eteubert committed Oct 26, 2024
1 parent 3a1b23d commit ea89020
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 109 deletions.
27 changes: 3 additions & 24 deletions publisher/guides/templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ Additional template examples are available in the [Templates reference page][5]

## Episode Page and RSS Feed: Automatic Template Insertion

In Podlove Publisher, templates can be automatically inserted into episode content. This setting is managed in the WordPress admin interface under `wp-admin/admin.php?page=podlove_templates_settings_handle`.
In Podlove Publisher, templates can be automatically inserted into episode content. This setting is managed in the WordPress admin interface under `wp-admin/admin.php?page=podlove_templates_settings_handle`.
Here, you can specify which templates should be automatically included in your episode pages. In the screenshot below, the template named `default` in automatically inserted.

<img src="/assets/publisher/podlove-templates.png" />

### Default Template Behavior
By default, the `default` template is applied to all episodes. This template's content will be displayed on the episode's HTML page and embedded within the `<content:encoded><![CDATA[ ... ]]></content:encoded>` tag in the RSS feed.
By default, the `default` template is applied to all episodes. This template's content will be displayed on the episode's HTML page and embedded within the `<content:encoded><![CDATA[ ... ]]></content:encoded>` tag in the RSS feed.

### Web Player Insertion
The default template includes the web player for the episode. To ensure that the web player does not appear in the RSS feed, the template uses the following Twig condition:
Expand Down Expand Up @@ -217,7 +217,7 @@ is equivalent to

### API Entry Points

There are currently 4 entry points to the API: through the podcast, episode, network or Flattr.
There are currently 4 entry points to the API: through the podcast, episode or network.

#### Podcast

Expand Down Expand Up @@ -273,27 +273,6 @@ $network_lists = \Podlove\get_network()->lists();
?>
```

#### Flattr

```php
<?php
/**
* Get Podlove Flattr template object.
*
* Requires "Flattr" module.
*
* @return \Podlove\Modules\Flattr\Template\Flattr
*/
function \Podlove\get_flattr();

// example
echo \Podlove\get_flattr([
'url' => 'http://wordpress.org/extend/plugins/podlove-podcasting-plugin-for-wordpress/',
'user' => 'ericteubert'
]);
?>
```

### Hint: Short syntax for PHP 5.6+

If you develop a theme for PHP 5.6+ environments, you may want to use function importing for a nicer syntax, like that:
Expand Down
14 changes: 0 additions & 14 deletions publisher/reference/dsgvo-gdpr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ _Last Modified: 2018-06-14_

If the **Bitlove Module** is active, requests to `bitlove.org` are made.

If the **Flattr Module** is active, requests to `flattr.com` are made.

Both **Podlove Subscribe Button** and **Podlove Web Player** may be served via [GitHub](https://www.github.com) ([Github privacy statement](https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement)). You can choose to not use our CDN to serve these applications in the module settings.

If **Tracking/Analytics** is enabled, user IP addresses are used to determine their geographic location. IP addresses are not saved, but anonymized and then hashed together with the User Agent to generate a `request id`, which is saved. The User Agent is saved as well but cannot be connected to the user since the user IP is never saved.
Expand Down Expand Up @@ -44,12 +42,6 @@ This website uses [bitlove.org](http://bitlove.org) to provide downloads via bit

When you access pages of this website that contain bitlove functionality, your browser connects directly to Bitlove's servers.

**Flattr**

Within this online offer buttons of the micropayment service "Flattr" are included, which are provided by Flattr AB, Box 4111, 203 12 Malmö, Sweden. When you access pages of this website that contain these buttons, your browser connects directly to Flattr's servers.

If users have created an account with Flattr, with which they are logged in at the same time, Flattr receives the information that users have visited the respective page of this online offer. If users have a Flattr account, are logged in and interact with the button, information about it will be transmitted to Flattr and stored there for billing purposes according to local guidelines. Even if users are not logged in, usage data may be collected and stored. To see exactly how your data is processed when you click the Flattr button, users can visit [flattr.com/privacy](https://flattr.com/privacy).

**Podlove**

Both **Podlove Subscribe Button** and **Podlove Web Player** are served by [keycdn.com](https://www.keycdn.com) ([keycdn GDPR statement](https://www.keycdn.com/gdpr)).
Expand All @@ -72,12 +64,6 @@ Diese Website verwendet [bitlove.org](http://bitlove.org), um Downloads via BitT

Wenn Sie Seiten dieses Internetangebots, die Bitlove-Funktionalität enthalten, aufrufen, wird von Ihrem Browser eine direkte Verbindung zu Servern von Bitlove hergestellt.

**Flattr**

Innerhalb dieses Onlineangebotes sind Schaltflächen des Micropayment-Dienstes „Flattr“ eingebunden, der von der Firma Flattr AB, Box 4111, 203 12 Malmö, Schweden betrieben wird. Wenn Sie Seiten dieses Internetangebots, die diese Schaltflächen enthalten, aufrufen, wird von Ihrem Browser eine direkte Verbindung zu Servern von Flattr hergestellt.

Sofern Sie bei Flattr ein Konto angelegt haben, mit dem Sie gleichzeitig eingeloggt sind, erhält Flattr die Information, dass Sie die jeweilige Seite dieses Onlineangebots besucht haben. Sofern Sie ein Flattr-Konto besitzen, eingeloggt sind und mit der Schaltfläche interagieren, werden Informationen darüber an Flattr übermittelt und nach den dort geltenden Richtlinien dort zu Abrechnungszwecken gespeichert. Auch wenn Sie nicht eingeloggt sind, können ggf. Nutzungsdaten erhoben und auch gespeichert werden. Wie Ihre Daten genau verarbeitet werden, wenn Sie die Flattr-Schaltfläche anklicken, erfahren Sie unter [flattr.com/privacy](https://flattr.com/privacy).

**Podlove**

Sowohl **Podlove Subscribe Button** als auch **Podlove Web Player** werden von [keycdn.com](https://www.keycdn.com) ([keycdn GDPR-Stellungnahme](https://www.keycdn.com/gdpr)) ausgeliefert.
Expand Down
13 changes: 0 additions & 13 deletions publisher/reference/shortcodes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ If you set the buttonid to "example123", your element must have the class "podlo
- **groups:** One of "yes", "no". Display group title. Default: "no"
- **groupby:** Set to "group" to get separated contributor groups. Each group has its name as heading. Only works with "table" preset.
- **donations** One of "yes", "no". Display donation column. Default: "yes"
- **flattr:** "yes" or "no". Display Flattr column. Default: "no"

##### Examples

```
[podlove-episode-contributor-list flattr="yes"] // enables flattr column
[podlove-episode-contributor-list avatars="no" role="guest"] // show only guests, but without avatar
```

Expand All @@ -87,14 +85,3 @@ All custom shortcode parameters will be accessible in the template. Example: `[p

**title:** _(required)_ Title of template to render.
**autop:** _(optional)_ Wraps blocks of text in p tags. 'yes' or 'no'. Default: 'yes'

#### Flattr

Requires "Flattr" module.

- `[podlove-podcast-flattr-button]` shows Flattr button for the podcast.
- `[podlove-episode-flattr-button]` shows Flattr button for the current episode.

##### Parameters

- **style:** Button style."large", "compact" or "static". Default: "compact".
10 changes: 1 addition & 9 deletions publisher/reference/templates/template-tags/contributor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ List of service profiles
#### Parameters:

* __category__: (optional) `social`, `donation` or `all`. Default: `all`
* __type__: (optional) Filter services by type. List of all service types: 500px, about.me, amazon wishlist, app.net, auphonic credits, bandcamp, bitbucket, bitcoin, deviantart, diaspora, dogecoin, dribbble, email, facebook, flattr, flickr, foursquare, generic wishlist, github, gittip, google+, instagram, jabber, last.fm, linkedin, litecoin, openstreetmap, orcid, patreon, paypal, miiverse, pinboard, pinterest, playstation network, researchgate, scous, skype, soundcloud, soup, steam, steam wishlist, thomann wishlist, tumblr, twitch, twitter, vimeo, website, xbox live, xing, youtube
* __type__: (optional) Filter services by type. List of all service types: 500px, about.me, amazon wishlist, app.net, auphonic credits, bandcamp, bitbucket, bitcoin, deviantart, diaspora, dogecoin, dribbble, email, facebook, flickr, foursquare, generic wishlist, github, gittip, google+, instagram, jabber, last.fm, linkedin, litecoin, openstreetmap, orcid, patreon, paypal, miiverse, pinboard, pinterest, playstation network, researchgate, scous, skype, soundcloud, soup, steam, steam wishlist, thomann wishlist, tumblr, twitch, twitter, vimeo, website, xbox live, xing, youtube

#### Example:

Expand All @@ -107,14 +107,6 @@ List of service profiles
{% endfor %}
```

## Flattr
### Username
> contributor.flattr
### URL
> contributor.flattr_url
When on a WordPress page, it returns the URL for the person. Otherwise a URL for that person in this specific episode is generated.

## Affiliation

### Organisation
Expand Down
38 changes: 0 additions & 38 deletions publisher/reference/templates/template-tags/flattr.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion publisher/reference/templates/template-tags/podcast.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ List of service profiles
#### Parameters

* __category__: (optional) `social`, `donation` or `all`. Default: `all`
* __type__: (optional) Filter services by type. List of all service types: 500px, amazon wishlist, app.net, bandcamp, bitbucket, bitcoin, deviantart, diaspora, dogecoin, dribbble, facebook, flattr, flickr, generic wishlist, github, google+, instagram, jabber, last.fm, linkedin, litecoin, openstreetmap, paypal, miiverse, pinboard, pinterest, playstation network, skype, soundcloud, soup, steam, steam wishlist, thomann wishlist, twitch, tumblr, twitter, website, xbox live, xing, youtube
* __type__: (optional) Filter services by type. List of all service types: 500px, amazon wishlist, app.net, bandcamp, bitbucket, bitcoin, deviantart, diaspora, dogecoin, dribbble, facebook, flickr, generic wishlist, github, google+, instagram, jabber, last.fm, linkedin, litecoin, openstreetmap, paypal, miiverse, pinboard, pinterest, playstation network, skype, soundcloud, soup, steam, steam wishlist, thomann wishlist, twitch, tumblr, twitter, website, xbox live, xing, youtube

#### Example

Expand Down
9 changes: 0 additions & 9 deletions publisher/reference/templates/templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ These templates come with the "Contributors" module.
</tbody>
</table>
{% if option.flattr == "yes" %}
{% include '@contributors/_contributor-table-flattr.twig' %}
{% endif %}
{% include '@contributors/_contributor-table-css.twig' %}
```

Expand Down Expand Up @@ -371,7 +367,6 @@ These templates come with the "Contributors" module.
{% if groups == "yes" %}{% set colspan = colspan + 1 %}{% endif %}
{% if roles == "yes" %}{% set colspan = colspan + 1 %}{% endif %}
{% if donations == "yes" %}{% set colspan = colspan + 1 %}{% endif %}
{% if flattr == "yes" %}{% set colspan = colspan + 1 %}{% endif %}
<table class="podlove-contributors-table">
{% if option.title %}
Expand Down Expand Up @@ -409,10 +404,6 @@ These templates come with the "Contributors" module.
</tbody>
</table>
{% if option.flattr == "yes" %}
{% include '@contributors/_contributor-table-flattr.twig' %}
{% endif %}
{% include '@contributors/_contributor-table-css.twig' %}
```

Expand Down
1 change: 0 additions & 1 deletion publisher/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ module.exports = [
"reference/templates/template-tags/show",
"reference/templates/template-tags/shownotes",
"reference/templates/template-tags/license",
"reference/templates/template-tags/flattr",
"reference/templates/template-tags/date-time",
"reference/templates/template-tags/line",
"reference/templates/template-tags/group",
Expand Down

0 comments on commit ea89020

Please sign in to comment.