-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a "Shared" counter #319
Comments
I think we just looked at the Guardian and the CBC. Not sure how either are calculated. In the two examples below, both of the share options are on the left. https://www.theguardian.com/world/2016/aug/02/chlorine-attack-syria-dozens-ill-saraqeb-idlib |
OK here it is in testing mode (should show up in any story you newly test with the numbers that actually will show if it went live. The free version is limited to 10,000 views per day or something so we'd need the $40 a month version that does up to 200,000 ( we get around 30,000 pageviews from memory..) http://preview.thetyee.ca/Opinion/2016/08/05/Farewell-to-Mel-Hurtig/ |
We could add the count of the email to friend likely with a little effort if that is significant - currently it's counting facebook (shares - likes also available), twitter, linkedin, reddit. |
Thanks Bryan. To be crystal clear, what does this version count, specifically? Just Facebook shares? Does it cost more to count likes? And to include the other share numbers? |
Nope it costs the same just more code to add facebook likes - it counts all that I listed above you probably typed that before my second comment :) |
and when i say newly test, I mean that if you preview a story from bricolage the number should show up now |
the number for the live version of the story |
it breaks the toolbar onto two lines for mobile so that will have to be tweaked just think of this as a draft for comment |
Okay, so the current number being previewed shows Facebook likes, shares, Google +, and whatever "Submit" is? It doesn't include comments, obviously. Also, it doesn't show up on this preview: http://preview.thetyee.ca/Opinion/2016/08/02/BC-Terror-Trial-Verdict/ |
Put another way, the current number showing in preview is the sum total of all those things? |
Also, there's no free version of this? I think we got Facebook shares shown for free before the redesign. |
oh no that "submit" thing is just a picture from HuffPo's share bar that means nobody has posted to reddit yet instead of showing zero. We are combining facebook , twitter, reddit, linkedin, google+. I thought this one had addressed the twitter thing but it seems not so perhaps it is not worth the fee (twitter counts don't work since twitter turned off access to that data.) I thought I remembered a directive saying let's go with sharedcount for now is why I started there. There are people who provide the service of twitter counts presumably so that they can mine your data that we could investigate if that is important: http://twitcount.com/ And there is probably a free way of getting those (non-twitter) counts, either by coding myself or using a third party toolbar provider (normally they provide you with sharing statistics and also mine your data of course) like http://www.addthis.com/ |
Okay, so this "SharedCount" that you're previewing now includes Facebook shares and likes, reddit, linkedin and google+. Not Twitter, because no one can get Twitter. And it will cost $40 a month because we have received more than 10,000 views daily. Do I have this right? (sorry if this is like hitting your head against a brick wall repeatedly). |
Yes that is right except that some people are claiming they can approximate twitter- twitcount and opensharecount among others - they are free so could experiment or investigate more if we find that twitter is important to have in the mix. That aside, If we want to avoid the $40 fee I can look at how to look up each of those numbers ourselves in code rather than use their simplified service, probably will pay off in the long run just whether to spend the time now is the question., |
Well, we may as well use this solution for now (including paying the $40 fee), as it will probably take time to code our own version. Thanks for the investigation, Bryan. I'll just wait to give @phillipadsmith to say his piece before giving the official go-ahead. |
Wow, this is a crazy-long thread... :-/ Few quick thoughts:
Over and out for now. :-) |
All right, it's agreed. For now, we moved ahead with Shared Count, which includes the gamut of shares except for Twitter. (@MrBryan, let me know if you need me to input credit card data for the $40 somewhere.) @phillipadsmith, I'm assuming the email share count would not be included in the total Shared Count counter, but rather in a separate way? |
I believe it would be easy enough to include the e-mail share count in that single number, as well as Twitter. |
Let's do it then! |
OK Sent the login info your email @robynleighsmith . Alex offered to do the styling for this although not this week. If we want to get it out sooner I can work something out quickly in the interim |
I should say pehaps not this week --- alex? |
Hm, styling? This is the first I'm hearing of it. Yes, would be good to get a handle on how long that will take. @phillipadsmith, getting this done is still the priority, yes? Meaning styling the share counters should be a top priority for Alex, too. |
FYI, the new endpoints to retrieve aggregate share counts from The Tyee's own internal tools is now live. Documentation is here. Should be sufficient to re-implement the functionality of sharedcount.com. |
These two commits: Re-implement the shared count with the new service, e.g., Ready for deployment, @MrBryan |
Deployed! |
@phillipadsmith @MrBryan Looks good, though in mobile view the comments option gets bumped down a line, which doesn't look ideal. I forget what the fix was when this was happening before? |
we could do that just to avoid the line jumping for now then let alex weigh in if he wants |
Sounds good.
|
ok that's live too |
Looks a little disassociated to me, but I'm sure it's fine for the moment. My current thought is: What about having the number sit on top of a faint icon? Obviously, for popular articles the number would float past the right-most edge of said icon, but I think it would still work. Over to you, @alexgreen. |
Oh Phillip, that looks great!! |
With the icon still in there it doesn't save us much horizontal real-estate... what do you think of this: http://preview.thetyee.ca/News/2016/09/01/Jims-Story-Holes-In-Downtown-Eastside-Systems/index.html |
to be refined later today just grabbing some late lunch! |
Thank you for this @MrBryan! Personally, I prefer the option without the mini icon and just the text treatment. @robynleighsmith is offline this week, I believe, so we'll need to make the call and move forward and can always re-visit later. Phillip. |
Oh, and, I didn't mean to include the icon in the screenshot I sent for the reason you stated -- it would not save much space if it was there! Oversight on my part. |
@phillipadsmith @MrBryan Look at me, back from the offline grave! I agree with Phillip and prefer the option without the icon. Text treatment works. Thanks! |
OK she's live :) |
... with better alignment with bottom and consistent spacing like the other icons to each other |
Woo hoo! And does that work acceptably on smaller screens now too? Phillip.
|
yes except because of the print icon it overflows so going to hide that on mobile too |
|
@MrBryan @phillipadsmith I am so thrilled by how this turned out. Thank you both!! |
LOL. It’s Sunday, @robinleighsmith! Turn off the Internet. Go outside and play. ;-)
|
Speak for yourself, I prefer that my coworkers thank and praise me all weekend long
|
And of course you're welcome, it was fun as usual :) Sent from my iPhone
|
Per Basecamp thread, the request is to implement a count of shares across networks and display that on article pages, presumably near the share tools.
@robynleighsmith Can you put links to the examples we looked at in the office here?
The text was updated successfully, but these errors were encountered: