kirschbombe / openbibl

dawnchildress.com/openbibl
GNU Affero General Public License v3.0
0 stars 1 forks source link

Links to "related works" in mouse-over #19

Open kirschbombe opened 10 years ago

kirschbombe commented 10 years ago

Is it possible to generate a list of related works (works where the person is mentioned) within the Note mouse-over?

ghost commented 10 years ago

For example, the Other Europe bibliography has mention of Jan Hus in both "The Prague Bible" and "Biblia Bohemica". The "Prague Bible" entry has the popover here:

... and revised by [Jan Hus], Martin Lupác, and others ...

That popover would then have the text:

Hus was a Czech priest, philosopher, reformer, and master at Charles University
in Prague. He is also considered one of the first Church reformers.
Related works:
* Biblia Bohemica

Where the "Related works" list would contain the other works in that bibliography where that person/place had been mentioned?

If so, a few formatting questions:

I would need to look into which of these options are supported by the current popover library. Docs on popovers.

kirschbombe commented 10 years ago

Yes! that example is just what I was thinking. Formatting answers:

Does that help?

ghost commented 10 years ago

Yes, that does help, thanks.

When there are no related entries, would it be better to have an empty list, or no list, or a list with boilerplate, like "none", etc.?

kirschbombe commented 10 years ago

I think no list is best, unless that turns out to be more complicated....

ghost commented 10 years ago

I just pushed an update that includes the list and link to the references cited multiple times (Jan Hus) here:

otherEurope.html