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

Add field 'website' to type online. #1150

Open
simifilm opened this issue Jun 7, 2021 · 4 comments
Open

Add field 'website' to type online. #1150

simifilm opened this issue Jun 7, 2021 · 4 comments

Comments

@simifilm
Copy link

simifilm commented Jun 7, 2021

At the moment, online only has the field title, but in many instances, an online source has a title for the specific text quoted as well as for the website as a whole.

I understand, that you can often use article instead of online as explained in the manual, still I would suggest to add an additional title field which logically corresponds to journaltitle or booktitle. In its current form, without such a field, online seems not that useful.

@plk
Copy link
Owner

plk commented Aug 19, 2022

Shall we add sitetitle for this and be done with it? We can add this to the default styles easily with no impact I think.

@moewew
Copy link
Collaborator

moewew commented Aug 19, 2022

Usually I try to be a bit more recalcitrant when it comes to data model additions, since I'm not too fond of setting a precedent that means we have to include all kinds of fields.

Does anyone know of other prescriptive style guides that mention website titles (apart from APA)?

That could also help us decide on a position in the driver.

\DeclareBibliographyDriver{online}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
\setunit{\printdelim{nametitledelim}}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{version}%
\newunit
\printfield{note}%
\newunit\newblock
\printlist{organization}%
\newunit\newblock
\usebibmacro{date}%
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\iftoggle{bbx:related}
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
\usebibmacro{finentry}}

Logically, it should be after \printfield{version}, since the version should refer to the title and not the sitetitle. It should also be before \printlist{organization}%. But what about the position w.r.t. \printfield{note}?

@plk
Copy link
Owner

plk commented Mar 12, 2023

I would say before note as this typically comes after any titles in most styles? Shall we do this then? Seems a small and sensible change to me, @moewew.

@alercah
Copy link

alercah commented Dec 30, 2023

Does anyone know of other prescriptive style guides that mention website titles (apart from APA)?

The Canadian Uniform Guide to Legal Citation (McGill guide) does. It places it immediately before the URL, after the word "online: ", as in "online: Twitter <t.co/shortlink>".

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

4 participants