You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be cool to show "citations" in each publication, so you can see the publications which cite each publication. This would be a simple link to Google Scholar pointing to this publication.
Doing so semi-automatically is not too difficult. But it requires the model to change and add a new field, such as "scholar_id", so in the visualization we can provide the link.
Find the first "cache:([^:]+):" regexp (which comes from something like the following):
<a href="http://scholar.googleusercontent.com/scholar?q=cache:bPrZe0NyrG0J:scholar.google.com/+Learning+Analytics+on+federated+remote+laboratories:+tips+and+techniques&hl=es&as_sdt=0,5" class="gs_nvi">Versión en HTML</a>
And that's the identifier in base64. Then you can put:
importreimporturllib2req=urllib2.Request("http://scholar.google.es/scholar?q=%22Towards+federated+interoperable+bridges+for+sharing+educational+remote+laboratories%22", headers= { 'User-Agent' : 'Google Chrome' })
urlobj=urllib2.urlopen(req)
contents=urlobj.read()
regex=re.compile(r"cache:([^:]+):")
token=regex.findall(contents)[0]
printtoken# This returns: bPrZe0NyrG0J# If we want to pass to the numeric form:hex_token=""forbyteintoken.decode('base64')[::-1][1:]:
hex_token+=hex(ord(byte)).split('0x')[1].zfill(2)
printint(hex_token, 16)
# With both identifiers:# # "http://scholar.google.es/scholar?cites=" + identifier# # works.
If the paper is not yet in Google Scholar, it should not be added.
The text was updated successfully, but these errors were encountered:
It would be cool to show "citations" in each publication, so you can see the publications which cite each publication. This would be a simple link to Google Scholar pointing to this publication.
Doing so semi-automatically is not too difficult. But it requires the model to change and add a new field, such as "scholar_id", so in the visualization we can provide the link.
The way to do this could be:
Find the first "cache:([^:]+):" regexp (which comes from something like the following):
And that's the identifier in base64. Then you can put:
to show the cites.
Example:
If the paper is not yet in Google Scholar, it should not be added.
The text was updated successfully, but these errors were encountered: