1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/addons/flattrwidget/README.md

77 lines
2.6 KiB
Markdown
Raw Normal View History

Flattr Widget for The Hubzilla
================================
This widget is ment to add a [flattr][1] button for one thing to the
left/right aside area of a red# channel. For example this could be the flattr
thing for your blog (on a blog channel).
What can be configured?
* static button from your server or dynamic button generated using the flattr
API
* left or right aside area
* URL and Title of the thing you want to be flattred.
If none are set, the channel URL and the title "_Channel Name_ on The Red
Matrix" will be used.
There will also be a widget that adds the flattr button to each posting
separetely.
Screenshots
-----------
_At the moment the screenshots will only show in your red# admin panel._
![Dynamic flattr button in channel view](/addon/flattrwidget/img/red-flattr-widget.png)
Dynamic flattr button generated from the flattr API displaying the number of
flattrs received.
![Static flattr button in channel view](/addon/flattrwidget/img/red-flattr-widget2.png)
Static flattr buttton, the image is hosted on your server for privacy of the
visitors.
Feedback
--------
You can send feedback, bug reports etc, for this widget to [my red# stuff
feedback channel][3], you can also leave a flattr there if you like.
Author
------
Original Author: [Tobias Diekershoff][TD]
License
-------
This widget id licensed under the [MIT][2] license.
Copyright (c) 2013, Tobias Diekershoff
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
The _flattr_ button located in the img directory was retrieved from the flattr
homepage.
[1]: https://flattr.com
[2]: http://opensource.org/licenses/mit-license.php
[3]: https://diekershoff.de/channel/basredstuff
[TD]: https://diekershoff.de/channel/bavatar