Skip to content

Commit

Permalink
fixes #59
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Mar 13, 2023
1 parent ab514f2 commit f846964
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions ceurws/volumebrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,21 @@ def showVolume(self,volume):
self.wikidataButton.disabled=wdProc is not None
links=""
if wdProc is not None:
# wikidata proceedings link
itemLink=self.createLink(wdProc["item"], "wikidataitem")
scholiaLink=self.createExternalLink(wdProc, "item", "scholia", "https://scholia.toolforge.org/venue/", emptyIfNone=True)
# dblp proceedings link
dblpLink=self.createExternalLink(wdProc,"dblpEventId","dblp",DblpEndpoint.DBLP_EVENT_PREFIX,emptyIfNone=True)
# k10plus proceedings link
k10PlusLink=self.createExternalLink(wdProc, "ppnId", "k10plus", "https://opac.k10plus.de/DB=2.299/PPNSET?PPN=",emptyIfNone=True)
# scholia proceedings link
scholiaLink=self.createExternalLink(wdProc, "item", "scholia", "https://scholia.toolforge.org/venue/", emptyIfNone=True)
# scholia event link
scholiaEventLink=self.createExternalLink(wdProc, "event", "event", "https://scholia.toolforge.org/event/", emptyIfNone=True)
# scholia event series link
scholiaEventSeriesLink=self.createExternalLink(wdProc, "eventSeries", "series", "https://scholia.toolforge.org/event-series/", emptyIfNone=True)
# scholia colocated with link
delim=""
for link in [itemLink,scholiaLink,dblpLink,k10PlusLink]:
for link in [itemLink,dblpLink,k10PlusLink,scholiaLink,scholiaEventLink,scholiaEventSeriesLink]:
if link:
links+=delim+link
delim=" "
Expand Down

0 comments on commit f846964

Please sign in to comment.