alexisju / social Goto Github PK
View Code? Open in Web Editor NEWA plugin for Shaarli (community fork) to share links to social networks
A plugin for Shaarli (community fork) to share links to social networks
I modified the social.html file to use social icons instead of plain text.
I used official logos where available.
I don't know how to do a pull request, I'll attach files here, hope it's ok.
When I activate this plugin on my shaarli 0.11.1 it crashes (blank page)
Hello
Je vais faire un PR pour changer le readme : le plugin est à dézipper dans /plugins et pas /tpl/plugins ;)
Hi, thank you for writing this plugin; I plan to install it as part of my next Shaarli install. 👏
There's this one little annoyance: ideally it should allow users to select which sharing services they want enabled, without touching the code. (eg. only display the twitter
and email
sharing buttons: )
$GLOBALS['plugins']['SHARING_PROVIDERS'] = array('twitter', 'email');
It would allow extending the list of providers without cluttering the interface. Note for possible implementation: add an HTML class to each sharing link in social.html
(class="share-diaspora" class="share-twitter"
...), only display link if class matches one of the SHARING_PROVIDERS
items.
Alternatively, if you added classes, each one could probably be hidden from Shaarli's user.css
(.sharing-linkedin { display: none }
)
Everything above is untested.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.