davidswelt / zot_bib_web

Create interactive web bibliographies based on Zotero collections
163 stars 19 forks source link

Group by author names (shortcuts) #7

Open ashudeep opened 6 years ago

ashudeep commented 6 years ago

What modifications would you suggest if I wanted to show a bunch of authors in the shortcuts?

Let's say I specify the author last names in a list in the same way that I suggest years. What is the best way to modify zot.py to incorporate such specification in the settings.py?

davidswelt commented 6 years ago

Change doc string for shortcut function. Change class Shortcut.getBibItems(), add clause for self.crit=='author', similar to 'type' or 'collection', to retrieve all unique author names (maybe shorten to last names). Maybe that'll do the job. I'd gladly consider a merge request for that feature.

davidswelt commented 5 years ago

Any updates?