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

get citation #4

Open
XuanWangVC opened this issue May 20, 2023 · 4 comments
Open

get citation #4

XuanWangVC opened this issue May 20, 2023 · 4 comments

Comments

@XuanWangVC
Copy link

Hi guy~. I have an issue with getting citations from google scholar. The workflow has run, but the citations are not correctly shown. Should I create an action variable, secret, secret env, or anything else?

@Devin-Pi
Copy link

Devin-Pi commented Oct 9, 2023

Hi guy~. I have an issue with getting citations from google scholar. The workflow has run, but the citations are not correctly shown. Should I create an action variable, secret, secret env, or anything else?

Hi, bro. As for this issue, please check out the sentences related to citations in about.md.

@luxueqiang
Copy link

Hi guy~. I have an issue with getting citations from google scholar. The workflow has run, but the citations are not correctly shown. Should I create an action variable, secret, secret env, or anything else?

me neither. i can see the correct total citations in my gs, but, when i use "" to show the citation of a specific paper, it does not work.

@XuanWangVC
Copy link
Author

XuanWangVC commented Mar 27, 2024 via email

@WuShouXuan
Copy link

Hello all, I was just puzzled by the problem but solved it. @XuanWangVC @luxueqiang

As @Devin-Pi said, you should check out the sentences related to citations in about.md, which refers to the following codes.

{% if site.google_scholar_stats_use_cdn %}
{% assign gsDataBaseUrl = "https://cdn.jsdelivr.net/gh/" | append: site.repository | append: "@" %}
{% else %}
{% assign gsDataBaseUrl = "https://raw.githubusercontent.com/" | append: site.repository | append: "/" %}
{% endif %}
{% assign url = gsDataBaseUrl | append: "google-scholar-stats/gs_data_shieldsio.json" %}

Although I'm not familiar with python code, I suspect this is an excerpt of the code used to implement this function. So thing become clear when you change the following codes in the about.md from:

My google scholar links: .

to:

My google scholar links: .

%2F is the escape symbol for "/", you should replace the url by a new url according to the information of your own git repository.

Of course, before this you should turn on the action permission in the repository in Settings-Actions-General and check in Actions to see if a workflow named Get Citation Data has been started.

Good luck!

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

No branches or pull requests

4 participants