This branch is 34 commits behind FSFE/share-buttons:master
2017-08-15 15:09:25 +02:00
2017-05-25 20:33:13 +02:00
2017-08-15 15:09:25 +02:00
2017-05-26 00:29:59 +02:00
2017-08-15 15:09:25 +02:00
2017-05-25 21:12:27 +02:00
2017-08-15 15:09:25 +02:00
2017-05-26 00:33:36 +02:00
2017-05-26 00:34:22 +02:00
2017-05-25 20:47:49 +02:00
2017-08-15 15:09:25 +02:00

Share buttons (bar + left-side-scrolling)

Screenshot

These share buttons can be used for various websites, enabling its visitors to share specific URLs on social networks, or to enable them to do micro-domnations via flattr.

The buttons are much more user-friendly than many other solutions:

  • There is absolutely no JavaScript required
  • No third-party resources are loaded
  • Users of GNU Social and Diaspora can easily provide their pod URL and use the native sharing API

Location

The buttons are currently available as a usual "share bar", so all buttons in one line (see Screenshot 1), and as a left-side vertical bar scrolling with the screen (see Screenshot 2).

Extendability

Buttons can easily be added and removed by a few lines of code in the HTML, CSS, and PHP files.

  • In the HTML file, you can just copy/paste the exiting code and modify it. Note that services with user-dependent URLs (like Diaspora and GNU Social) are a bit more complicated and require another GET parameter to be added (like diasporapod) which has to be read by share.php.
  • In the PHP file the parameters are put together, depending on the format the service understands.
  • The CSS files keeps all layout information.

Contributors

The buttons have been designed by Paul Hänsch and Max Mehl in their capacity as FSFE webmasters.

Description
Share buttons based on those used on fsfe.org. They are completely free of JavaScript and still support dynamic input of Diaspora and GNU Social URLs. They can be extended very easily.
Readme 262 KiB
Languages
CSS 51.3%
HTML 29.8%
PHP 18.9%