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

Import publication list from BibTeX #146

Closed
johnghill opened this issue Apr 6, 2017 · 22 comments
Closed

Import publication list from BibTeX #146

johnghill opened this issue Apr 6, 2017 · 22 comments
Milestone

Comments

@johnghill
Copy link

johnghill commented Apr 6, 2017

Unless I am mistaken users have to manually populate half a dozen fields for each new publication created in content/publication/. Most users will already have this data stored in other structured formats such as BibTeX. Would it be possible to...

  1. Parse publications from a user supplied .bib file, perhaps also allowing users to specify which @bibtexkeys are promoted?
  2. Grab such a list from the ORCID, Google Scholar or Mendeley handles given in config.toml ?
@gcushen
Copy link
Collaborator

gcushen commented Apr 6, 2017

I have already developed a Python script for importing publications from BibTeX, but didn't get around to documenting and publishing it on Github yet. I will try to crack on and finish it shortly - and provide updates in this thread. It's possible I might try to port it to Go in the future so that it's a stand alone binary like Hugo.

By 'promoted', I assume you are referring to flagging it as a selected publication?

Regarding point 2, I have also considered importing publications from Google Scholar - this could be a nice area for future development of the script.

It would be great to get feedback on these points from other users too.

@gcushen gcushen changed the title Support for existing publication list? (e.g. BibTeX) Import publication list from BibTeX Apr 6, 2017
@nipunarora
Copy link

This would be a great idea. It would be even better if the abstract can be imported as well, along with the bibtext... but that's not a must-have

@kepiej
Copy link

kepiej commented Apr 22, 2017

This would come in handy! At the moment I use bibtex2html to generate a html file containing all publications. (It also allows to filter on a given criteria such as the type of publication) I then load in this html file into my website using an iframe.

It would be great if this was supported out of the box! :-)

@wcornwell
Copy link

I'm not using the theme yet, but it looks great. The functionality in either (1) or (2) would be a pretty big draw for me to switch to this system.

@HughP
Copy link

HughP commented Jun 7, 2017

@gcushen
Any pointers to that python script yet? It seems to me that a script to convert from bibtex or zotero XML should be really important to a lot of users.

@HughP
Copy link

HughP commented Jun 13, 2017

@gcushen have you seen this work yet? noinil@c4e3d4c in looking at the commit trail, It doesn't look like it got merged back in.

@mcoster
Copy link

mcoster commented Jul 12, 2017

That sure would save some time! Any news on the python script? Python familiarity is pretty widespread in academia these days, so I'm sure there would be many hugo-academic users who would find this type of script useful.

@mcoster
Copy link

mcoster commented Jul 19, 2017

I created a rough python script for this that suited my own needs. May or may not be useful to others. My first gist!

@gcushen gcushen added this to the v0.31 milestone Oct 1, 2017
@bdarcus
Copy link

bdarcus commented Oct 21, 2017

Is there no decent go-native bibtex parser you can use; say this one?

@apetros
Copy link

apetros commented Nov 2, 2017

Hi, I made a python script for my own use. I hope you find it useful: https://github.com/apetros/parse_bib

Feel free to comment or modify the code. Cheers.

@gcushen gcushen modified the milestones: v2.1, v2.2 Dec 29, 2017
@andrewfowlie
Copy link
Contributor

Hi all,

you may also be interested in this script for scraping articles (titles, authors, abstracts, urls etc) from the arXiv into your webpage,

https://gist.github.com/andrewfowlie/4e556851384c35f2031b080341f70d19

@msaharia
Copy link

Hi, what is the status of bibtex support in Hugo? Or atleast a script to convert?

@petzi53
Copy link

petzi53 commented Jul 13, 2018

At the moment only APA and MLA citation styles are allowed. It would be nice if there is a possibility to include all 8000 styles via the Citation Style Language (CSL): For instance with Zotero, Mendeley or other free tools.

@gcushen gcushen modified the milestones: v2.4, v2.5 Jul 23, 2018
@petzi53
Copy link

petzi53 commented Aug 4, 2018

I had to transfer 190 publications from my old WordPress website to the new (& still under construction) Academic website. This motivated me to write my first R package bib2academic to automate the conversion process. You can see the result here.

Maybe this is of help for other users of the Academic framework with a R/blogdown installation as well. You can install the package with: devtools::install_github("petzi53/bib2academic", build_vignettes = TRUE)

@HughP
Copy link

HughP commented Aug 5, 2018

@petzi53 That install advice is great if one uses R to do their install work. do you have any suggestions if one uses pure git?

@petzi53
Copy link

petzi53 commented Aug 5, 2018

@HughP The program is written in R. So you would need a R/blogdown installation. Sorry for not mentioned this limitation. I clarified my announcement in this sense.

@gcushen gcushen modified the milestones: v2.5, v3 Sep 11, 2018
@fmmattioni
Copy link

@petzi53 you are a hero!

@gcushen
Copy link
Collaborator

gcushen commented Oct 17, 2018

Closing as the Academic admin tool is now available at https://github.com/sourcethemes/academic-admin

@gcushen gcushen closed this as completed Oct 17, 2018
@pat-s
Copy link

pat-s commented Jun 26, 2019

I just came across Bibbase and use it now for automated importing using Zotero.
-> Example

@renanxcortes
Copy link

renanxcortes commented Jul 26, 2019

I had to transfer 190 publications from my old WordPress website to the new (& still under construction) Academic website. This motivated me to write my first R package bib2academic to automate the conversion process. You can see the result here.

Maybe this is of help for other users of the Academic framework with a R/blogdown installation as well. You can install the package with: devtools::install_github("petzi53/bib2academic", build_vignettes = TRUE)

I highlight again that you are a hero, @petzi53! BTW, what's the GitHub code of this website you're mentioning?

@petzi53
Copy link

petzi53 commented Jul 27, 2019

Thanks for the nice feedback. I tried 3 times to upload the bib2academic packages to CRAN, but every time it was rejected because of some issue not complying with their rules. I decided it didn't pay further effort especially as I believe that @gcushen has provided his own version of conversion tool.

(I am not sure about @gcushen conversion routine and I do not know if it is a full replacement to my R package. I have changed to another theme several months ago: The academic theme had -at least for me - too many many breaking changes. I was more occupied to be on top of the latest release than in writing my blog entries.)

@gustavo-etal
Copy link

How can I fix the panel for pubs?
2020
list of pub
2019
list of pub?

best
you are the man petzi53

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