627 lines
38 KiB
HTML
627 lines
38 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8"/>
|
||
<title>Language Bias in Accident Investigation | LUP Student Papers</title>
|
||
<!--[if lt IE 9]>
|
||
<script src="/search/assets/js/html5.js"></script>
|
||
<![endif]-->
|
||
<link rel="stylesheet" media="all" href="/search/assets/css/select2-style.css"/>
|
||
<link rel="stylesheet" media="all" href="/search/assets/css/prettify.css"/>
|
||
<link rel="stylesheet" media="all" href="/search/assets/css/style.css"/>
|
||
|
||
<script src="/search/assets/js/jquery/jquery-3.6.0.min.js"></script>
|
||
|
||
|
||
<script src="/search/assets/js/select2.min.js"></script>
|
||
|
||
|
||
<!--[if lt IE 8]>
|
||
<style type="text/css">
|
||
input.button[type="submit"], button.button { border: none !important; }
|
||
.button-append .button { height:30px; vertical-align:middle; }
|
||
.button img { vertical-align: baseline; }
|
||
nav > ul.horizontal, .short ul.horizontal { margin-right: -0.3em; }
|
||
.search-form a, form.inline .button { margin-left: 0.3em; }
|
||
.pagination li.prev, .pagination li.next { top: -2px; margin-right: -0.3em; }
|
||
.select2-container-multi .select2-choices .select2-search-choice { padding-top: 1px; line-height: 16px; }
|
||
</style>
|
||
<![endif]-->
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
|
||
<link rel="search" type="application/opensearchdescription+xml" href="https://lup.lub.lu.se/student-papers/search/opensearch"/>
|
||
<link rel="unapi-server" type="application/xml" href="https://lup.lub.lu.se/student-papers/search/unapi"/>
|
||
<link rel="alternate" type="application/rss+xml" title="LUP hourly" href="https://lup.lub.lu.se/student-papers/search/feed/hourly"/>
|
||
<link rel="alternate" type="application/rss+xml" title="LUP daily" href="https://lup.lub.lu.se/student-papers/search/feed/daily"/>
|
||
<link rel="alternate" type="application/rss+xml" title="LUP weekly" href="https://lup.lub.lu.se/student-papers/search/feed/weekly"/>
|
||
<link rel="alternate" type="application/rss+xml" title="LUP monthly" href="https://lup.lub.lu.se/student-papers/search/feed/monthly"/>
|
||
|
||
<!-- highwire press meta tags -->
|
||
<meta name="citation_title" content="Language Bias in Accident Investigation"/>
|
||
<meta name="citation_author" content="Vesel, Crista Shannon"/>
|
||
<meta name="citation_publication_date" content="2012"/>
|
||
<meta name="citation_pdf_url" content="https://lup.lub.lu.se/student-papers/record/2971193/file/2971195.pdf"/>
|
||
<!-- eprints meta tags -->
|
||
<meta name="eprints.official_url" content="http://lup.lub.lu.se/student-papers/record/2971193"/>
|
||
<meta name="eprints.title" content="Language Bias in Accident Investigation"/>
|
||
<meta name="eprints.creators_name" content="Vesel, Crista Shannon"/>
|
||
<meta name="eprints.abstract" content="This paper examined the language and content of the U.S. Forest Service's Serious Accident Investigation Guide (SAIG), which is used to investigate what the organization terms 'serious wildland fire accidents'. The purpose of research was to identify whether the language in the guide was objective, or if it biased the accident analysis process and conclusions of the accident report.
|
||
Qualitative research included philosophic, paradigmatic, and linguistic analyses of the 2001 and 2005 editions of the SAIG. Phone and/or questionnaire interviews were conducted with six current or former Forest Service personnel, who were familiar with the SAIG, versed in the use of the guide to complete accident reports, or familiar with the case study. This data was used to validate language biases and to determine what affects these might have on the report. The Thirtymile Fire Accident Report was used as a case study, to understand how the Forest Service and greater society may be affected by the language of accident reports.
|
||
Results affirmed that language bias exists in the SAIG and that it does affect accident analysis. The SAIG influences investigators to apply linear, hindsight biased, 'cause and effect' reasoning toward human actors in the event. The guide’s use of agentive descriptions, binary opposition, and the active verb voice creates a seemingly exclusive causal attribution toward humans. Objective analysis was found to be impossible, using the SAIG's language and report structure. This stands in contrast to the agency's goal of accident prevention. It is recommended that more research be done on the language and structure of accident investigation guidance, to help determine what changes may be necessary to align espoused values of prevention and organizational response to accidents."/>
|
||
<meta name="eprints.date" content="2012"/>
|
||
<meta name="eprints.document_url" content="https://lup.lub.lu.se/student-papers/record/2971193/file/2971195.pdf"/>
|
||
<!--dc meta tags -->
|
||
<meta name="dc.creator" content="Vesel, Crista Shannon"/>
|
||
<meta name="dc.date" content="2012"/>
|
||
<meta name="dc.description" content="This paper examined the language and content of the U.S. Forest Service's Serious Accident Investigation Guide (SAIG), which is used to investigate what the organization terms 'serious wildland fire accidents'. The purpose of research was to identify whether the language in the guide was objective, or if it biased the accident analysis process and conclusions of the accident report.
|
||
Qualitative research included philosophic, paradigmatic, and linguistic analyses of the 2001 and 2005 editions of the SAIG. Phone and/or questionnaire interviews were conducted with six current or former Forest Service personnel, who were familiar with the SAIG, versed in the use of the guide to complete accident reports, or familiar with the case study. This data was used to validate language biases and to determine what affects these might have on the report. The Thirtymile Fire Accident Report was used as a case study, to understand how the Forest Service and greater society may be affected by the language of accident reports.
|
||
Results affirmed that language bias exists in the SAIG and that it does affect accident analysis. The SAIG influences investigators to apply linear, hindsight biased, 'cause and effect' reasoning toward human actors in the event. The guide’s use of agentive descriptions, binary opposition, and the active verb voice creates a seemingly exclusive causal attribution toward humans. Objective analysis was found to be impossible, using the SAIG's language and report structure. This stands in contrast to the agency's goal of accident prevention. It is recommended that more research be done on the language and structure of accident investigation guidance, to help determine what changes may be necessary to align espoused values of prevention and organizational response to accidents."/>
|
||
<meta name="dc.format" content="application/pdf"/>
|
||
<meta name="dc.identifier" content="http://lup.lub.lu.se/student-papers/record/2971193"/>
|
||
<meta name="dc.identifier" content="https://lup.lub.lu.se/student-papers/record/2971193/file/2971195.pdf"/>
|
||
<meta name="dc.language" content="eng"/>
|
||
<meta name="dc.rights" content="info:eu-repo/semantics/openAccess"/>
|
||
<meta name="dc.subject" content="Social Sciences"/>
|
||
<meta name="dc.subject" content="human causal attribution"/>
|
||
<meta name="dc.subject" content="SAIG"/>
|
||
<meta name="dc.subject" content="Serious Accident Investigation Guide"/>
|
||
<meta name="dc.subject" content="USFS"/>
|
||
<meta name="dc.subject" content="Forest Service"/>
|
||
<meta name="dc.subject" content="accident investigation"/>
|
||
<meta name="dc.subject" content="accident report"/>
|
||
<meta name="dc.subject" content="agentive language"/>
|
||
<meta name="dc.subject" content="FLMU06"/>
|
||
<meta name="dc.title" content="Language Bias in Accident Investigation"/>
|
||
<meta name="dc.type" content="studentPaper"/>
|
||
<meta name="dc.type" content="H1"/>
|
||
<meta name="dc.type" content="text"/>
|
||
<!-- end meta tags -->
|
||
<link rel="canonical" href="https://lup.lub.lu.se/student-papers/record/2971193"/>
|
||
<link rel="alternate" href="https://lup.lub.lu.se/student-papers/search/publication/2971193.xls" title="Excel - common fields" type="application/vnd.ms-excel"/>
|
||
<link rel="alternate" href="https://lup.lub.lu.se/student-papers/search/publication/2971193.xls2" title="Excel - all fields" type="application/vnd.ms-excel"/>
|
||
<link rel="alternate" href="https://lup.lub.lu.se/student-papers/search/publication/2971193.csv" title="CSV - common fields" type="text/csv"/>
|
||
<link rel="alternate" href="https://lup.lub.lu.se/student-papers/search/publication/2971193.csv2" title="CSV - all fields" type="text/csv"/>
|
||
<link rel="alternate" href="https://lup.lub.lu.se/student-papers/search/publication/2971193.bibtex" title="BibTeX" type="text/x-bibtex"/>
|
||
<link rel="alternate" href="https://lup.lub.lu.se/student-papers/search/publication/2971193.ris" title="RIS (reference software)" type="application/x-research-info-systems"/>
|
||
<link rel="alternate" href="https://lup.lub.lu.se/student-papers/search/publication/2971193.enw" title="End Note (RIS)" type="application/x-research-info-systems"/>
|
||
|
||
</head>
|
||
<body lang="en">
|
||
<div class="skipnav"><a href="#main-content">Skip to main content</a></div>
|
||
<div id=godwrapper>
|
||
<div class="topwrapper">
|
||
<header class="topheader">
|
||
<nav>
|
||
<a href="http://www.lu.se/">LUND UNIVERSITY</a><span class="divider"> | </span>
|
||
<a href="http://www.lub.lu.se/">LUND UNIVERSITY LIBRARIES</a>
|
||
</nav>
|
||
</header>
|
||
</div>
|
||
|
||
<div class="wrapper">
|
||
<div style="position:absolute;left:-8969px;height:0;overflow:hidden;" aria-hidden="true">
|
||
<a href="/search/top_articles?sp=1&t=1789095915&r=239895" tabindex="-1">search all top articles</a>
|
||
</div>
|
||
<header style="background-color: #eceff8;" class="luheader">
|
||
<div class="logo" role="banner"><img src="/search/assets/img/logo_lu_nolabel.svg" alt="Lund University"/></div>
|
||
<div class="headerbox">
|
||
<h1><a href="https://lup.lub.lu.se/student-papers/search">LUP Student Papers</a></h1>
|
||
<h2>LUND UNIVERSITY LIBRARIES</h2>
|
||
</div>
|
||
<nav class="horizontal">
|
||
<a href="https://reg.lub.lu.se/luur" target="_blank">Register publications</a><span class="divider"> | </span>
|
||
<a href="/statistics/viewer?org=_all&type=sp" target="_blank">Statistics</a><span class="divider"> | </span>
|
||
<a href="https://lup.lub.lu.se/student-papers/search/marked">Marked list <span class="total-marked label">0</span></a><span class="divider"> | </span>
|
||
<a href="https://lup.lub.lu.se/student-papers/search/saved-searches">Saved searches <span class="total-saved-searches label">0</span></a>
|
||
</nav>
|
||
</header>
|
||
|
||
<header>
|
||
<form action="https://lup.lub.lu.se/student-papers/search/simple_search" method="get" class="search-form" role="search">
|
||
<a href="https://lup.lub.lu.se/student-papers/search/advanced-search">Advanced</a>
|
||
<div class="button-append"><input type="text" name="q" aria-label="search" value="" placeholder="search"><button class="button" type="submit"><img alt="search button" src="/search/assets/img/magnifying-glass.svg"/></button></div>
|
||
</form>
|
||
|
||
<nav class="nav large">
|
||
<span><a href="https://lup.lub.lu.se/student-papers/search">Home</a></span>
|
||
<span class="tab-active"><a href="https://lup.lub.lu.se/student-papers/search/publication?sort=publicationstatus.desc&sort=year.desc">Publications</a></span>
|
||
<span><a href="https://lup.lub.lu.se/student-papers/search/organization">Departments</a></span>
|
||
|
||
</nav>
|
||
</header>
|
||
<main id="main-content" class="content" itemscope itemtype="http://schema.org/CreativeWork">
|
||
<ul class="plain wide hide" id="messages">
|
||
</ul>
|
||
|
||
<header class="short">
|
||
<h3 class="title" id="2971193" itemprop="name">Language Bias in Accident Investigation</h3>
|
||
<ul class="horizontal r"> <li><a role="button" class="mark button button-gray" href="#" data-marked="0" data-id="2971193">Mark</a></li>
|
||
</ul>
|
||
|
||
<span class="authors"> <span class="contributor vcard"> <a class="url" href="https://lup.lub.lu.se/student-papers/search/publication?q=author+exact+%22Vesel%2C+Crista+Shannon%22" target="_parent"> <span class="fn">
|
||
Vesel, Crista Shannon
|
||
</span>
|
||
</a> </span></span>
|
||
|
||
|
||
(<span class="year"><a href="https://lup.lub.lu.se/student-papers/search/publication?q=publishingYear+exact+2012" target="_parent">2012</a></span>)
|
||
|
||
|
||
|
||
|
||
<a href="https://lup.lub.lu.se/student-papers/search/publication?q=course+exact+FLMU06">FLMU06</a> 20121
|
||
|
||
|
||
<br>
|
||
<a href="https://lup.lub.lu.se/student-papers/search/organization/v1000219">Division of Fire Safety Engineering</a>
|
||
<br>
|
||
<a href="https://lup.lub.lu.se/student-papers/search/organization/v1000224">Division of Risk Management and Societal Safety</a>
|
||
|
||
|
||
<dl style="margin-top:12px;">
|
||
|
||
|
||
<dt>Abstract</dt>
|
||
<dd itemprop="description" id="abstract_1_short">This paper examined the language and content of the U.S. Forest Service's Serious Accident Investigation Guide (SAIG), which is used to investigate what the organization terms 'serious wildland fire accidents'. The purpose of research was to identify whether the language in the guide was objective, or if it biased the accident analysis process and conclusions of the accident report.<br>
|
||
Qualitative research included philosophic, paradigmatic, and linguistic analyses of the 2001 and 2005 editions of the SAIG. Phone and/or questionnaire interviews were conducted with six current or former Forest Service personnel, who were familiar with the SAIG, versed in the use of the guide to complete accident reports, or familiar with the case study. This... <a onClick='$("#abstract_1_full").removeClass("hide"); $("#abstract_1_short").addClass("hide");'>(More)</a></dd>
|
||
<dd itemprop="description" id="abstract_1_full" class=hide>This paper examined the language and content of the U.S. Forest Service's Serious Accident Investigation Guide (SAIG), which is used to investigate what the organization terms 'serious wildland fire accidents'. The purpose of research was to identify whether the language in the guide was objective, or if it biased the accident analysis process and conclusions of the accident report.<br>
|
||
Qualitative research included philosophic, paradigmatic, and linguistic analyses of the 2001 and 2005 editions of the SAIG. Phone and/or questionnaire interviews were conducted with six current or former Forest Service personnel, who were familiar with the SAIG, versed in the use of the guide to complete accident reports, or familiar with the case study. This data was used to validate language biases and to determine what affects these might have on the report. The Thirtymile Fire Accident Report was used as a case study, to understand how the Forest Service and greater society may be affected by the language of accident reports.<br>
|
||
Results affirmed that language bias exists in the SAIG and that it does affect accident analysis. The SAIG influences investigators to apply linear, hindsight biased, 'cause and effect' reasoning toward human actors in the event. The guide’s use of agentive descriptions, binary opposition, and the active verb voice creates a seemingly exclusive causal attribution toward humans. Objective analysis was found to be impossible, using the SAIG's language and report structure. This stands in contrast to the agency's goal of accident prevention. It is recommended that more research be done on the language and structure of accident investigation guidance, to help determine what changes may be necessary to align espoused values of prevention and organizational response to accidents. <a onClick='$("#abstract_1_short").removeClass("hide"); $("#abstract_1_full").addClass("hide");'>(Less)</a></dd>
|
||
</dl>
|
||
</header>
|
||
<aside>
|
||
<div class="section">
|
||
<ul class="list">
|
||
|
||
<li>
|
||
<div>
|
||
<a href="https://lup.lub.lu.se/student-papers/record/2971193/file/2971195.pdf" title="Thesis-Vesel.pdf"><img class="b shadow" alt="open file" width="252" src="https://lup.lub.lu.se/student-papers/search/publication/2971193/file/2971195/thumbnail.png"/></a>
|
||
</div>
|
||
<ul class="openAccess-access horizontal tiny">
|
||
<li>
|
||
<a href="https://lup.lub.lu.se/student-papers/record/2971193/file/2971195.pdf" title="Thesis-Vesel.pdf" style="font-weight:bold;color:#5f821f;">Open Access</a>
|
||
|
||
</li>
|
||
<li class="divider">|</li>
|
||
<li><a href="https://lup.lub.lu.se/student-papers/record/2971193/file/2971195.pdf" title="Thesis-Vesel.pdf" class="plain">PDF</a></li>
|
||
<!-- file size removed until we have any to display
|
||
<li class="divider">|</li>
|
||
<li><a href="https://lup.lub.lu.se/student-papers/record/2971193/file/2971195.pdf" title="Thesis-Vesel.pdf" class="plain">TODO: FILE SIZE? 13 bytes</a></li>
|
||
-->
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<!-- start links div -->
|
||
<div class="box">
|
||
<h3 class="box-header">Links</h3>
|
||
<ul class="plain small">
|
||
|
||
<li><a href="https://lup.lub.lu.se/statistics/viewer/record/2971193" target="_blank"><strong>Document download statistics</strong></a></li>
|
||
|
||
<!-- doi -->
|
||
<!-- end doi -->
|
||
<!-- alternative location -->
|
||
<!-- end alternative location -->
|
||
<!-- SFX link is hidden until ready -->
|
||
<!-- end SFX link -->
|
||
<!-- google scholar -->
|
||
<!-- end google scholar -->
|
||
<!-- external identifier ISI -->
|
||
<!-- end external identifier -->
|
||
</ul>
|
||
</div>
|
||
<!-- end links div -->
|
||
|
||
</aside>
|
||
|
||
<div class="alert small">
|
||
Please use this url to cite or link to this publication:
|
||
<a href="https://lup.lub.lu.se/student-papers/record/2971193" target="_parent"
|
||
itemprop="url">https://lup.lub.lu.se/student-papers/record/2971193</a>
|
||
</div>
|
||
|
||
<nav class="tab-nav">
|
||
<span class="tab-active tabbable"><a href="#details">Details</a></span>
|
||
<span class="tabbable"><a href="#bibtex">BibTeX</a></span>
|
||
</nav>
|
||
|
||
<div class="tab-content tab-active" id="details">
|
||
<dl class="horizontal">
|
||
<dt>author</dt>
|
||
<dd> <span class="contributor vcard"> <a class="url" href="https://lup.lub.lu.se/student-papers/search/publication?q=author+exact+%22Vesel%2C+Crista+Shannon%22" target="_parent"> <span class="fn" itemprop="name">
|
||
Vesel, Crista Shannon
|
||
</span>
|
||
</a> </span></dd>
|
||
<dt>supervisor</dt>
|
||
<dd>
|
||
<ul class="plain"> <li>
|
||
<a href="https://lup.lub.lu.se/student-papers/search/publication?q=supervisor+exact+%22Nyce%2C+James+M.%22" itemprop="uri"><span class="fn">James M. Nyce</span></a>
|
||
|
||
</li>
|
||
</ul>
|
||
</dd>
|
||
|
||
<dt>organization</dt>
|
||
<dd>
|
||
<ul class="plain">
|
||
<li itemprop="sourceOrganization" itemscope itemtype="http://schema.org/Organization"><a href="https://lup.lub.lu.se/student-papers/search/organization/v1000219" itemprop="uri"><span itemprop="name">Division of Fire Safety Engineering</span></a></li>
|
||
<li itemprop="sourceOrganization" itemscope itemtype="http://schema.org/Organization"><a href="https://lup.lub.lu.se/student-papers/search/organization/v1000224" itemprop="uri"><span itemprop="name">Division of Risk Management and Societal Safety</span></a></li>
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
<dt>course</dt>
|
||
<dd><a href="https://lup.lub.lu.se/student-papers/search/publication?q=course+exact+FLMU06">FLMU06</a> 20121</dd>
|
||
|
||
<dt>year</dt>
|
||
<dd itemprop="datePublished">2012</dd>
|
||
<dt>type</dt>
|
||
<dd>
|
||
H1 - Master's Degree (One Year)
|
||
</dd>
|
||
<dt>subject</dt>
|
||
<dd>
|
||
<ul class="plain">
|
||
<li><a href="https://lup.lub.lu.se/student-papers/search/publication?q=subject+exact+sos">Social Sciences</a></li>
|
||
</ul>
|
||
</dd>
|
||
<dt>keywords</dt>
|
||
<dd itemprop="keywords"><a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22human+causal+attribution%22">human causal attribution</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22SAIG%22">SAIG</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22Serious+Accident+Investigation+Guide%22">Serious Accident Investigation Guide</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22USFS%22">USFS</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22Forest+Service%22">Forest Service</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22accident+investigation%22">accident investigation</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22accident+report%22">accident report</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22agentive+language%22">agentive language</a>, <a href="https://lup.lub.lu.se/student-papers/search/publication?q=keywords+exact+%22FLMU06%22">FLMU06</a></dd>
|
||
|
||
|
||
|
||
<dt>language</dt>
|
||
<dd><a href="https://lup.lub.lu.se/student-papers/search/publication?q=language+exact+eng" itemprop="inLanguage">English</a></dd>
|
||
<dt>id</dt>
|
||
<dd>2971193</dd>
|
||
<!-- removing handle until we have handles.
|
||
<dt>handle</dt>
|
||
<dd><a href="http://hdl.handle.net/1854/LU-2971193" target="_parent">http://hdl.handle.net/1854/LU-2971193</a></dd>
|
||
-->
|
||
<dt>date added to LUP</dt>
|
||
<dd>2012-10-29 13:49:46</dd>
|
||
<dt>date last changed</dt>
|
||
<dd>2014-03-10 10:40:42</dd>
|
||
</dl>
|
||
</div>
|
||
|
||
<div class="tab-content" id="bibtex">
|
||
<pre>@misc{2971193,
|
||
abstract = {{This paper examined the language and content of the U.S. Forest Service's Serious Accident Investigation Guide (SAIG), which is used to investigate what the organization terms 'serious wildland fire accidents'. The purpose of research was to identify whether the language in the guide was objective, or if it biased the accident analysis process and conclusions of the accident report.
|
||
Qualitative research included philosophic, paradigmatic, and linguistic analyses of the 2001 and 2005 editions of the SAIG. Phone and/or questionnaire interviews were conducted with six current or former Forest Service personnel, who were familiar with the SAIG, versed in the use of the guide to complete accident reports, or familiar with the case study. This data was used to validate language biases and to determine what affects these might have on the report. The Thirtymile Fire Accident Report was used as a case study, to understand how the Forest Service and greater society may be affected by the language of accident reports.
|
||
Results affirmed that language bias exists in the SAIG and that it does affect accident analysis. The SAIG influences investigators to apply linear, hindsight biased, 'cause and effect' reasoning toward human actors in the event. The guide’s use of agentive descriptions, binary opposition, and the active verb voice creates a seemingly exclusive causal attribution toward humans. Objective analysis was found to be impossible, using the SAIG's language and report structure. This stands in contrast to the agency's goal of accident prevention. It is recommended that more research be done on the language and structure of accident investigation guidance, to help determine what changes may be necessary to align espoused values of prevention and organizational response to accidents.}},
|
||
author = {{Vesel, Crista Shannon}},
|
||
language = {{eng}},
|
||
note = {{Student Paper}},
|
||
title = {{Language Bias in Accident Investigation}},
|
||
year = {{2012}},
|
||
}
|
||
|
||
</pre>
|
||
</div>
|
||
|
||
|
||
</main>
|
||
</div>
|
||
<div class="footerwrapper">
|
||
<footer>
|
||
<span>Built with <a href="http://librecat.org">LibreCat <img alt="librecat" src="/search/assets/img/librecat.png"/></a></span>
|
||
<nav class="plain">
|
||
<a href="https://lup.lub.lu.se/student-papers/search/doc/userguide">User guide</a><span class="divider"> | </span>
|
||
<!--
|
||
<a href="https://lup.lub.lu.se/student-papers/search/doc/api">Download & API</a><span class="divider"> | </span>
|
||
-->
|
||
<a href="https://www.ub.lu.se/accessibility-of-lup-student-papers">About accessibility</a><span class="divider"> | </span>
|
||
<a href="https://lup.lub.lu.se/student-papers/search/contact">Contact</a>
|
||
</nav>
|
||
</footer>
|
||
</div>
|
||
<script>
|
||
|
||
|
||
function yearRangeToCQL(field, val) {
|
||
str = $.trim(val);
|
||
str = str.replace(/[^0-9\-<>= ]/g,' ');
|
||
str = str.replace(/[ ][ ]+/g,' ');
|
||
|
||
var q = '';
|
||
var matches;
|
||
|
||
if (str.match(/^- *[1-9][0-9]{3}$/))
|
||
str = str.replace('-', '<=');
|
||
if (str.match(/^[1-9][0-9]{3} *-$/))
|
||
str = str.replace('-', '>=');
|
||
|
||
if (matches = str.match(/^[1-9][0-9]{3}$/)) {
|
||
q = field+' = '+matches[0];
|
||
} else if( matches = /^([1-9][0-9]{3}) *- *([1-9][0-9]{3})$/.exec(str)) {
|
||
if (parseInt(matches[1]) > parseInt(matches[2]))
|
||
return "";
|
||
q = field + ' >= ' + matches[1] + ' and ' + field + ' <= ' + matches[2];
|
||
} else if( matches = /^([><=])(=)? *([1-9][0-9]{3})$/.exec(str) ) {
|
||
q = field +' '+ matches[1] + ((matches[2] && matches[1]!= '=') ? '=' : '') +' '+ matches[3];
|
||
}
|
||
|
||
return q;
|
||
}
|
||
|
||
|
||
function validate_range(val) {
|
||
var check = yearRangeToCQL('x', val);
|
||
if (check.length > 0)
|
||
return [{id: val, text: val}];
|
||
else return [];
|
||
}
|
||
|
||
// tab-nav
|
||
$('.tab-nav').each(function() {
|
||
var tabs = $(this);
|
||
var activeTab = tabs.children(':first');
|
||
var content = $('#'+activeTab.children('a:first').prop('href').split('#')[1]);
|
||
tabs.on('click', '.tabbable a', function(evt) {
|
||
evt.preventDefault();
|
||
activeTab.removeClass('tab-active');
|
||
content.removeClass('tab-active');
|
||
activeTab = $(this).parent().addClass('tab-active');
|
||
content = $('#'+$(this).prop('href').split('#')[1]).addClass('tab-active');
|
||
console.log(content);
|
||
});
|
||
});
|
||
|
||
// select
|
||
$('.select').each(function() {
|
||
var select = $(this);
|
||
var params = {minimumResultsForSearch: 15};
|
||
params.separator = ' ';
|
||
if (select.data('separator'))
|
||
params.separator = select.data('separator');
|
||
if (select.data('min-input-length'))
|
||
params.minimumInputLength = parseInt(select.data('min-input-length'), 0);
|
||
if (select.data('allow-clear'))
|
||
params.allowClear = true;
|
||
if (select.data('multiple'))
|
||
params.multiple = true;
|
||
if (select.data('ranges')) {
|
||
params.separator = ',';
|
||
params.formatNoMatches = function (term) { return "Enter a valid year/year range. Examples: 2003 | 2003-2005 | -2005 | >2005 | <=1995" };
|
||
params.formatSearching = function () { return "Validating..." };
|
||
params.formatInputTooShort = function () { return "Enter a valid year/year range. Examples: 2003 | 2003-2005 | -2005 | >2005 | <=1995" };
|
||
params.query = function (query) {
|
||
var data = {results: []};
|
||
var check = yearRangeToCQL('x', query.term)
|
||
if (check.length > 0) {
|
||
data.results.push({id: query.term, text: query.term});
|
||
}
|
||
query.callback(data);
|
||
}
|
||
}
|
||
if (select.data('minimum-results-for-search'))
|
||
params.minimumResultsForSearch = parseInt(select.data('minimum-results-for-search'), 10);
|
||
if (select.data('createSearchChoice'))
|
||
params.createSearchChoice = select.data('createSearchChoice');
|
||
if (select.data('bag-name')) {
|
||
params.bagName = select.data('bag-name');
|
||
params.ajax = {
|
||
url: 'https://lup.lub.lu.se/student-papers/search/list_find?bag='+select.data('bag-name'),
|
||
type: 'GET',
|
||
data: function (term, page) {
|
||
return {
|
||
query: term, // search term
|
||
}
|
||
},
|
||
dataType: 'json',
|
||
results: function(data, page) {
|
||
return {
|
||
results: data.entries
|
||
};
|
||
}
|
||
};
|
||
}
|
||
select.select2(params);
|
||
});
|
||
|
||
var baseURL = 'https://lup.lub.lu.se/student-papers/search',
|
||
embedParams = {},
|
||
searchParams = {"sort":[],"q":[]};
|
||
|
||
var escapeHTML = function(text) {
|
||
return text.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');
|
||
};
|
||
|
||
|
||
// alerts
|
||
var showAlertMessage = function(type, message) {
|
||
var msg = $('<li class="alert '+type+'"><a class="close" href="#">Close</a>'+escapeHTML(message)+'</li>');
|
||
msg.on('click', '.close', function(evt) {
|
||
evt.preventDefault();
|
||
msg.remove();
|
||
if (!$('#messages li').length) $('#messages').hide(); // empty list retains height in ie6-7
|
||
|
||
});
|
||
$('#messages').append(msg).show();
|
||
};
|
||
|
||
// // search
|
||
// $('.search-form').submit(function() {
|
||
// var input = $(this).find(':input[name=q]');
|
||
// var q = input.val();
|
||
// if (q.length) {
|
||
// q = $.trim(q.replace(/"/g, ''));
|
||
// q = '"'+q+'"';
|
||
// input.val(q);
|
||
// }
|
||
// });
|
||
|
||
// search options
|
||
$('a.search-option, .search-option a').click(function(evt) {
|
||
evt.preventDefault();
|
||
let href = $(this).prop('href').split('#')[1]
|
||
var target = $('#'+href);
|
||
console.log(href);
|
||
if (target.hasClass('search-option-active')) {
|
||
console.log("has class")
|
||
target.hide();
|
||
target.removeClass('search-option-active');
|
||
} else {
|
||
console.log("needs class")
|
||
$('.search-option-active').hide();
|
||
$('.search-option-active').removeClass('search-option-active');
|
||
target.addClass('search-option-active');
|
||
target.show();
|
||
}
|
||
});
|
||
$('.search-option-close').click(function(evt) {
|
||
evt.preventDefault();
|
||
$(this).closest('.search-option-active').removeClass('search-option-active').hide();
|
||
});
|
||
|
||
// search facets
|
||
$('select.search-facet').change(function() {
|
||
var select = $(this),
|
||
index = select.data('index'),
|
||
term = select.val();
|
||
if (term.match(/\s/)) {
|
||
term = '"'+term+'"';
|
||
}
|
||
searchParams.q.push(index+' exact '+term);
|
||
delete searchParams.start;
|
||
var url = baseURL + '/publication?' + $.param($.extend({}, embedParams, searchParams), true);
|
||
window.location.replace(url);
|
||
});
|
||
|
||
// save search
|
||
$('a.save-search').click(function(evt) {
|
||
evt.preventDefault();
|
||
var params = $.extend({}, searchParams);
|
||
delete params.start;
|
||
$.ajax({
|
||
traditional: true,
|
||
type: 'POST',
|
||
url: 'https://lup.lub.lu.se/student-papers/search/saved-searches',
|
||
data: params,
|
||
dataType: 'json',
|
||
success: function(res) {
|
||
$('.total-saved-searches').text(res.total);
|
||
}
|
||
});
|
||
});
|
||
|
||
// mark
|
||
$('a.mark-all').click(function(evt) {
|
||
evt.preventDefault();
|
||
var params = $.extend({}, searchParams);
|
||
delete params.start;
|
||
delete params.limit;
|
||
if($(this).hasClass('unmark-all')) {
|
||
$(this).removeClass('mark-all');
|
||
evt.preventDefault();
|
||
$.post('https://lup.lub.lu.se/student-papers/search/marked?x-tunneled-method=DELETE', function(res) {
|
||
window.location.replace("https://lup.lub.lu.se/student-papers/search/publication");
|
||
}, 'json');
|
||
} else {
|
||
$.ajax({
|
||
traditional: true,
|
||
type: 'POST',
|
||
url: 'https://lup.lub.lu.se/student-papers/search/marked',
|
||
data: params,
|
||
dataType: 'json',
|
||
success: function(res) {
|
||
$('.total-marked').text(res.total);
|
||
if (res.message) {
|
||
showAlertMessage(res.ok ? 'info' : 'warning', res.message);
|
||
}
|
||
$('a.mark').data('marked', 1).text('Unmark');
|
||
$('.unmarked-record').addClass( 'marked-record' );
|
||
$('.unmarked-record').removeClass( 'unmarked-record' );
|
||
}
|
||
});
|
||
$(this).addClass('unmark-all');
|
||
$(this).text('Unmark all');
|
||
}
|
||
});
|
||
|
||
$('a.unmark-all').click(function(evt) {
|
||
evt.preventDefault();
|
||
$.post('https://lup.lub.lu.se/student-papers/search/marked?x-tunneled-method=DELETE', function(res) {
|
||
window.location.replace("https://lup.lub.lu.se/student-papers/search/publication");
|
||
}, 'json');
|
||
});
|
||
|
||
$('a.mark').click(function(evt) {
|
||
evt.preventDefault();
|
||
var a = $(this);
|
||
var marked = a.data('marked');
|
||
if (marked == 0) {
|
||
$('a.mark-all').addClass('unmark-all');
|
||
$('a.mark-all').text('Unmark all');
|
||
$.post('https://lup.lub.lu.se/student-papers/search/marked/'+a.data('id'), function(res) {
|
||
$('.total-marked').text(res.total);
|
||
a.data('marked', 1).text('Unmark');
|
||
$('#'+a.data('id')).addClass( 'marked-record' );
|
||
$('#'+a.data('id')).removeClass( 'unmarked-record' );
|
||
}, 'json');
|
||
} else {
|
||
$.post('https://lup.lub.lu.se/student-papers/search/marked/'+a.data('id')+'?x-tunneled-method=DELETE', function(res) {
|
||
$('.total-marked').text(res.total);
|
||
a.data('marked', 0).text('Mark');
|
||
$('#'+a.data('id')).addClass( 'unmarked-record' );
|
||
$('#'+a.data('id')).removeClass( 'marked-record' );
|
||
}, 'json');
|
||
}
|
||
});
|
||
|
||
// embed
|
||
$('.embed-style').change(function() {
|
||
var style = $(this).val();
|
||
if (style.length) {
|
||
$('.embed-style-param').text('&style='+style);
|
||
} else {
|
||
$('.embed-style-param').text('');
|
||
}
|
||
});
|
||
$.each(['width', 'height'], function(i, param) {
|
||
$('.embed-'+param).keyup(function() {
|
||
$('.embed-'+param+'-value').text($(this).val());
|
||
});
|
||
});
|
||
$.each(['pagination', 'info', 'options'], function(i, param) {
|
||
$('.embed-hide-'+param).change(function() {
|
||
$('.embed-hide-'+param+'-param').toggle();
|
||
});
|
||
});
|
||
|
||
$('.embed-email').submit(function(evt) {
|
||
evt.preventDefault();
|
||
var snippet = $('.iframe-code').clone();
|
||
$.each(['pagination', 'info', 'options'], function(i, param) {
|
||
var el = snippet.find('.embed-hide-'+param+'-param');
|
||
if (!$('.embed-hide-'+param).is(':checked')) el.remove();
|
||
});
|
||
var message = $.trim(snippet.text());
|
||
snippet.remove();
|
||
var btn = $(this).find('button');
|
||
var btnText = btn.text();
|
||
btn.text('Sending...');
|
||
$.post(this.action, {
|
||
email: this.elements['email'].value,
|
||
subject: this.elements['subject'].value,
|
||
message: message
|
||
}, function(res) {
|
||
btn.text('Sent!');
|
||
window.setTimeout(function() {
|
||
btn.text(btnText);
|
||
}, 1000);
|
||
}, 'json');
|
||
});
|
||
|
||
// gravatar
|
||
$('img.gravatar').each(function() {
|
||
$(this).prop('src', $(this).data('gravatar-url'));
|
||
});
|
||
</script>
|
||
</div>
|
||
</body>
|
||
</html>
|
||
|