Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
sources : manage bibliographic sources¶
The lino_xl.lib.sources plugin adds the notions for managing your
bibliographic sources, including lists of
sources, authors and licenses.
About this document¶
Examples in this document use the lino_book.projects.noi2 demo
project.
>>> from lino_book.projects.noi2.startup import *
.
Authors and Licenses can be configured via and .
>>> show_menu_path('sources.Sources')
Publisher --> Sources
>>> show_menu_path('sources.Authors')
Configure --> Publisher --> Authors
>>> show_menu_path('sources.Licenses')
Configure --> Publisher --> Licenses
>>> rt.show('sources.Sources')
==== =========================================== ======================================= =======================================================================================================
ID Title Author URL
---- ------------------------------------------- --------------------------------------- -------------------------------------------------------------------------------------------------------
1 Private collection Luc Saffre
2 The Hitchhiker's Guide to the Galaxy Douglas Adams (1952-11-03—2001-11-05)
3 Crossroads, Kilham West Field Christine Johnstone https://commons.wikimedia.org/wiki/File:Crossroads,_Kilham_West_Field_-_geograph.org.uk_-_2097672.jpg
4 Haunted House - geograph.org.uk - 6141456 Derek Harper https://commons.wikimedia.org/wiki/File:Haunted_House_-_geograph.org.uk_-_6141456.jpg
5 People talking (3945337913).jpg Herman Theodore Bohlman (*1872-04-15) https://commons.wikimedia.org/wiki/File:People_talking_(3945337913).jpg
6 History of PDF - Wikipedia https://en.wikipedia.org/wiki/History_of_PDF
7 KLPR
8 Gotteslob
==== =========================================== ======================================= =======================================================================================================
>>> rt.show('sources.Authors')
====================================== ================= ============
Last name First name Birth date
-------------------------------------- ----------------- ------------
Adams Douglas 1952-11-03
Bohlman Herman Theodore 1872-04-15
Carl Peter Ludwig Maurach, 1824-1900
Georg Neumark, 1621-1681
Georg Neumark, 1657
Gerhard Tersteegen, 1697-1769
Harper Derek
Joachim Neander, 1650-1680
Johann Sebastian Bach, 1685-1750
Johnstone Christine
Saffre Luc
====================================== ================= ============
>>> rt.show('sources.Licenses')
=========== ======================== ======================== ========================
Reference Designation Designation (bn) Designation (de)
----------- ------------------------ ------------------------ ------------------------
pd Public domain Public domain Public domain
reserved All rights reserved All rights reserved All rights reserved
cc by Creative Commons BY Creative Commons BY Creative Commons BY
cc by-sa Creative Commons BY SA Creative Commons BY SA Creative Commons BY SA
cc by-nd Creative Commons BY-ND Creative Commons BY-ND Creative Commons BY-ND
=========== ======================== ======================== ========================
- lino_xl.lib.sources.user_agent¶
The string to use as the User-Agent header when looking up the title of a source.
See for example Wikimedia requirements https://foundation.wikimedia.org/wiki/Policy:Wikimedia_Foundation_User-Agent_Policy
CoolBot/0.0 (https://example.org/coolbot/; coolbot@example.org) generic-library/0.0