Hi,
While discussions are around the External Voting Button (EVB), I thought I'd ask for a piece of code that is far easier to put together -- a *Share* (or "Drigg this") button, just like we often see "Digg", "StumbleUpon", "Facebook" etc links at the bottom of content on all major news sites (like, for instance, at the bottom of this story BBC). I realised that very few webmasters for serious news sites would want to put a fully fledged EVB with scores and buttons on their news websites as they would want to keep it "serious", while a Digg-like EVB is something that's mostly popular with bloggers who have control of their own hosting and template (while most blogs today are free accounts hosted on .wordpress.com, .blogspot.com and .livejournal.com).
With this simple "Drigg" link, we would be killing 2 birds with 1 stone: A) websmasters of major news sites would be much more likely to insert it into their template, and B) those bloggers who do not have control over their blog's template, can easily insert it into their sidebar links.
Functional requirements:
A) This would be a brief piece of code (maybe just a couple of lines) that external webmasters can easily copy/paste into their .tpl template or blog in their links (next to the usual "Print" and "Email to friend" links and icons).
B) It would also have it's own 16x16 image showing the logo of the site, followed by a text like like "Share this" or "Drigg this"
C) Once clicked it would take the end-user to the Drigg site's submission form (opened in a new tab or window), with URL and Title pre-populated. If the user is not logged in, he will be taken to the login page.
D) IF that Scoop has been submitted by someone else already, then the user will be redirected to that scoop's full node view, with his vote being automatically added, and a message displaying "Thank you for voting this up, your vote has been added to the total score of this article"
I get the suspicion that the first 3 points can be easily achieved with some kind of modification of the existing Drigg's official Bookmarklet code. Which is why I get the feeling that this would not require too much work. But I tried adding adding that Bookmarklet code as it is into my .wordpress.com blog's sidebar, but nothing came to fruition.
Point D, I suspect, will recuire some additional tweaking in the Drigg module itself to allow for the "if" checks and redirections (I know that that is already an existing issue and is in the pipeline of development).
This kind of solution would be much simpler to achieve and would appeal to more people... for now. What do you think? Would this be possible?
Many thanks!
Comments
Comment #1
mercmobily commentedHi,
I believe this feature is _already_ there. Please read the documentation, there are instructions on how to create the button:
http://www.drigg-code.org/pages/download_and_install
Right?
Merc.
Comment #2
mercmobily commentedHi,
Please only reopen if you can explain *precisely* what the existing button is missing.
Other than that, fixed.
Merc.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.