commit
24ddd2ba68
|
@ -961,6 +961,8 @@ class BasePandataLoader(object):
|
|||
|
||||
#be careful about overwriting the work description
|
||||
if metadata.description and len(metadata.description) > len(work.description):
|
||||
if isinstance(metadata.description, list):
|
||||
metadata.description = '\n'.join(metadata.description)
|
||||
# don't over-write reasonably long descriptions
|
||||
if len(work.description) < 500:
|
||||
work.description = metadata.description.replace('\r\n', '\n')
|
||||
|
|
|
@ -219,7 +219,7 @@ function put_un_in_cookie2(){
|
|||
<div class="jsmodule">
|
||||
<h3 class="module-title">News</h3>
|
||||
<div class="jsmod-content">
|
||||
<a href="https://blog.unglue.it/2021/07/02/the-ebook-turns-50-fef-monographs-fund/">The Ebook Turns 50; FEF Monographs Fund.</a>
|
||||
<a href="https://blog.unglue.it/2022/01/05/100000-open-access-ebooks/">The 100,000 Open Access Ebooks.</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jsmodule">
|
||||
|
|
Loading…
Reference in New Issue