Skip to content
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

Display popularity of articles #3

Open
honzajavorek opened this issue Mar 3, 2016 · 0 comments
Open

Display popularity of articles #3

honzajavorek opened this issue Mar 3, 2016 · 0 comments

Comments

@honzajavorek
Copy link
Owner

Maybe not worth doing, but it would be nice to see how the article is doing

  • on Facebook
  • on Twitter
  • on Google Analytics

All these things have APIs and it should™ be fairly easy to get the relevant information and display it. Since I don't want any unnecessary embedded stuff on the page and I re-implemented the share buttons, this could help people know how popular the article already is.

Flaw: This is static site generator and the data won't live together with the article, so it's merely for backup / nostalgia / retrospective purposes rather than something that could actually drive the traction.

http://www.sanwebe.com/2013/05/top-viewed-pages-with-google-analytics-api
https://developers.google.com/api-client-library/python/apis/analytics/v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant