|
PKP Bugzilla – Full Text Bug Listing |
| Summary: | Include social networking features in Reading Tool or article view | ||
|---|---|---|---|
| Product: | OJS | Reporter: | James MacGregor <jmacgreg> |
| Component: | Reading Tools | Assignee: | PKP Support <pkp-support> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | alec, mjoyce, saghaei |
| Priority: | P1 | ||
| Version: | 2.3 | ||
| Hardware: | PC | ||
| OS: | Mac OS X 10.0 | ||
| Version Reported In: | Also Affects: | ||
| Bug Depends on: | 2757 | ||
| Bug Blocks: | |||
| Attachments: |
Patch to add an AddThis.com button to the bottom of HTML galleys.
Patch against OJS pre-2.3 CVS patch against ojs2 pre-2.3 |
||
|
Description
James MacGregor
2008-12-02 11:50:03 PST
I think this would be best to implement as a block plugin, because IIRC with at least Digg, the 'Digg this' box is just a URL to their site with your web site embedded within it (which the plugin will embed for you, as well as ensuring it is only shown in the right places). Putting it somewhere else (e.g. the top of an article, or in the RT) should be just as easy once you find or create hooks for it. Maybe we can create a new plugin category ('social' or 'share' or something just as flowery) and try to make it simple for people to create their own social media sharing plugins?
(In reply to comment #1) Hey Matt, I just checked out Digg and what they offer for this: http://digg.com/tools/integrate. Slashdot offers: http://slashdot.org/faq/badges.shtml -- let's just stay away from the badges themselves :) I think it would be great if we could come up with an easy-to-replicate plugin (or really, set of plugins to cover at least some of the more popular examples) so that others could take it and run. From some very quick web research, I think it's safe to say most of the plugins would probably be a wrapper for various sites' javascript such as Facebook, Slashdot and Digg, above. It would also be great to be able to see these tools from the site- as well as article-level, as they could function for Announcements etc. -- but I think it's crucial that they be available from the article level. I like the idea of a 'social' plugin group. The cleanest way to implement this might be as part of a RT overhaul, whereby it gets properly moved into the PKP tree as well. This would ideally allow finer-grained rearrangement and extension of RT items, something like the sidebar controls on Journal Setup page 5. Agreed, that this should be part of a major RT overhaul. Can we group all related bugs, and share with UVic team once we reformulates? John, I've grouped the RT entries I could find by marking them as dependent on bug #2757. You can get a list of them from that entry. One more comment courtesy of Mahmoud (http://pkp.sfu.ca/support/forum/viewtopic.php?f=9&p=14941): add the possibility of using RT elements outside of articles themselves; fore example, allow for Print Version, Definitions, and Notify Colleague (Email Table of Contents) tools on the Table of Contents. This may be facilitated if we develop the RT as a series of plugins. Created attachment 1800 [details]
Patch to add an AddThis.com button to the bottom of HTML galleys.
Created attachment 2105 [details]
Patch against OJS pre-2.3 CVS
Some trivial tune-ups and a conflict resolved since the original patch was submitted. Committing to OJS2 CVS HEAD.
Not porting to OCS for now -- when the RT UI overhaul and rewrite happens, we'll use the OJS version as a basis and this feature will be ported then. Created attachment 2261 [details]
patch against ojs2 pre-2.3
Reopening: Michael and Alec, what about adding the button to the top of the article, beside the font sizer buttons? I've attached a patch that does this, with a minimum of fuss (although it does replicate the footer's addThis code in the header; maybe there's a smarter way to do this).
The patch adds a small break between the comments items and the share button in the footer. It also changes the articleFontSize div to articleTools. If this is an issue, please advise; and if this is sneaking in too close to release time, please defer.
James, I like the idea, but I think it's too late for 2.3. Could you file your patch as a new Bugzilla entry and close this one? (In reply to comment #11) > James, I like the idea, but I think it's too late for 2.3. Could you file your > patch as a new Bugzilla entry and close this one? Yep! See Bug 4621 for a continuation of this bug. |