Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to make a list of the most viewed posts in the last month. I found almost zero info about this.
Is it possible? Can it be done using Google Analytics or something?
I don't think this can be done with the built-in toolset of Ghost. Since I have found almost zero info about this like you, I decided to create my own implementation.
First, you have to integrate GA tracking to your site. Here's more info on how to do that:
https://help.ghost.org/article/16-google-analytics
I created a custom Ghost helper to download Google Analytics metrics. Please note that setting up a custom helper is unfortunately not very well documented and definitely not supported.
Here's the Github repository with the source code: https://github.com/conwid/GhostHelpers
Check out the project's wiki.
There information on how to set up a custom helper: https://github.com/conwid/GhostHelpers/wiki/Adding-a-custom-helper-to-Ghost
And there's information on how to set up the Google Analytics helper specifically: https://github.com/conwid/GhostHelpers/wiki/Top
I have also written a couple of blog posts about this that could give you more info:
Create custom helpers to add functionality to your Ghost blog
Creating a most popular posts page with a custom ghost helper to download Google Analytics data
And finally you can check out the end results of using the helper on my blog: https://dotnetfalcon.com/greatest-hits/
(Sorry for the shameless self-marketing, but as I said, I found almost zero info about this also everywhere else).
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I volunteer at nonprofit, and we currently run our website through Squarespace. We have hundreds of web pages set up to sponsor our children. Every few months when we want to update their personal information, we have to go into each web page and retype all the information. We keep all our information in a google excel sheet.
My question is: Am I able to link cells from the Google Sheet to specific values on each child's webpage? That way, when the excel sheet is updated (favorite activity, favorite color, grade, age...etc.), it can all be updated through the Google Sheet instead of having to first update the Google Sheet, and then updating each individual webpage. I've been researching this for days now, and I feel like it may be possibly with JQuery, but I feel very limited with Squarespace's capabilities. Thanks!
The short answer is yes.
You can use a google sheet as a database for any application, update and manipulate data.
I have been doing that for a long time now. Google has recently released its Google Sheet API V4 (the current) the last version.
I followed this tutorial: https://developers.google.com/sheets/guides/concepts
. On the left panel, you can choose the programming language you wish to develop under Quickstart.
It supports:
PHP.
Android.
Java.
Node.js.
Python.
Ruby.
Perl.
Go
iOS
.NET
The trick is that you need to set an ID for each record which refer to the line number. Your column should also be fixed. This is because queries in Google Sheet API refer to the column number and row number. (Known as index).
You can check the following repository that i once used to do this same thing.
https://github.com/souparno/google-sheet-database
Some of the api calls might be old and needs to be updated.
this is a quick answer, i will update more when i get some time
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm wondering how I can achieve an effect similar to that of http://eng.getlost-getnatural.ru/ or http://rnbtheme.com/sixteenth/. I've contacted various support forums supplied through Wordpress and all they've been able to tell me is that I need to get a web developer and that the effect was possible. I, however, don't have the money for a web developer and went searching online to try to find what I was looking for and haven't been able to find anything yet. I can make code changes to my Wordpress site using javascript or css. Thank you so much to everyone who helps and answers!
What you are asking for could take a couple of hours to code from scratch, and then trying to match it to a wordpress site that we can't see or use as reference can create a lot of problems. I recommend looking at some jQuery plugins.
Here is a site to get you started, https://www.jssor.com/demos/vertical-slider.slider.
If you have any questions about the code once you download the plugin then we will be able to help you further.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hi I have developed a site,but now i required to add a language translator in my site. how to add a language translator to translate all content of my site to a desired language dynamically.help me to solve this
You should not use any translators that do this operation on fly. Remember that translators are your enemy when translating more than one word. Especially when both languages are not english. Secondly this could take many processing resources and without caching it, it will blow up your network.
To do it right, you should apply i18n feature to your site. This will require from you:
replace any labels on your site with i18n tags with i18n keys
create i18n property fields holding translations for each i18 key
change of language will require page reload
when displaying content (taken from database or the source), you should create content per language, and select it basing on Locale from Request
As you can see, creating fully multi-language app is not a walk in the park, it is hard work.
If you want to provide your website content in different languages, you will need a localisation service (depending on the size/scale of your site) or use an API such as Google Translate's API, which is not free. See Beri's answer on performance implications.
You need to do a bit of research yourself and see which solution suits your needs. We don't have much context on your site, so it's a bit difficult to answer.
This answer may be relevant to you.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
For my JavaScript framework I would like to use Sphinx. Since I am new in the Sphinx world I would like you people to help me out getting started with Sphinx and JavaScript.
I believe you're looking for Sphinx' JavaScript Domain feature.
Edit: From a quick glean at the documentation & tools, it doesn't look like you can use ReST inside your JavaScript. You'll either have to fish out the documentation from the comments, or keep it around in sidecar-files.
Sorry for too late response )
Like you I want build docs for my own JS framework based on AngularJS.
And like oliverseal, I am built sphinx extension in native way for sphinx and ext.autodoc
sphinxcontrib-autoanysrc
It simple and clean, but does have ext.autodoc features for auto generation signatures and others, but it enough for me store reST docs of framework API in js files )
You can implement ext.autodoc features with sphinxcontrib-autoanysrc extension check out autoanysrc.JSAnalyzer
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Recently, I have found this site made by Google Team.
http://www.20thingsilearned.com/
So far I understand this is not based on Flash. How can I use this technology to make an online book using their technology?
I looked in the usual spots to see if there's a framework or something but I only found these two things (it looks like it would be a TON of work to use):
news.ycombinator.com/item?id=1918551 >>> gist.github.com/705761
Alternatively you might want to look into the slides at http://slides.html5rocks.com.
They have a Google Code project page at code.google.com/p/html5rocks/wiki/Slides where you can download the source for that.
EDIT
check this out!
http://bartaz.github.com/impress.js
and this!
http://lab.hakim.se/reveal-js/
This is HTML5. You can check the explanation here: http://www.html5rocks.com/tutorials/casestudies/20things_pageflip.html :)
Or if you want you can do it with jQuery Booklet too though not as smooth as HTML5, see here: http://tympanus.net/Tutorials/MoleskineNotebook/
They posted the source code for the whole app (running on Google App Engine) under GPL v2 at http://code.google.com/p/20thingsilearned/ so you can reproduce the whole book effect too.
Yes this is not flash for sure but flash or flexx can also be used for developing this. This is developed using HMTL 5 and javascript. HTML 5 is having a canvas object and the i believe it is using properties of canvas to bulid it. However if you will search for some jQuery book plugins then also you may get some similiar results.