Skip to content

Commit

Permalink
Update website
Browse files Browse the repository at this point in the history
  • Loading branch information
njahn82 committed Dec 17, 2024
1 parent a8701cf commit 5525976
Show file tree
Hide file tree
Showing 25 changed files with 1,219 additions and 1,201 deletions.
270 changes: 135 additions & 135 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@
</style>

<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down Expand Up @@ -2098,7 +2098,7 @@ <h3>${suggestion.title}</h3>
</script>

<!--/radix_placeholder_distill-->
<script src="site_libs/header-attrs-2.29/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.28/header-attrs.js"></script>
<script src="site_libs/popper-2.6.0/popper.min.js"></script>
<link href="site_libs/tippy-6.2.7/tippy.css" rel="stylesheet" />
<link href="site_libs/tippy-6.2.7/tippy-light-border.css" rel="stylesheet" />
Expand Down Expand Up @@ -2174,145 +2174,145 @@ <h3>${suggestion.title}</h3>
<!--radix_placeholder_site_before_body-->
<!--/radix_placeholder_site_before_body-->
<!--radix_placeholder_article_listing-->


<script type="application/javascript">

function init_posts_list() {

function load_image(img) {
var src = $(img).attr('data-src');
if (src) {
$(img).attr('src', src);
$(img).on("load", function() {
img.removeAttribute('data-src');
});
}
}

function set_posts_visible(posts, visible) {
if (visible) {

// show bottom border by default
$(posts).removeClass('post-preview-last');

// apply limits if need be
var max_posts = 25;
var apply_limits = $('.posts-container').hasClass('posts-apply-limit');
if (apply_limits && posts.length > max_posts) {
posts = $(posts).slice(0, max_posts);
} else {
$('.posts-more a').addClass('hidden');
}

// apply last style
$(posts.slice(-1)[0]).addClass('post-preview-last');

$(posts).removeClass('hidden');
$(posts).find('img[data-src]').each(function(i, img) {
load_image(img);
});
} else {
$(posts).addClass('hidden');
}
}

function apply_hash_filter() {

// clear active state
$('.categories .active').removeClass('active');

// mark all posts invisible to start
set_posts_visible($('.posts-list').children('a'), false);

// if we have a hash filter
if (window.location.hash && window.location.hash.startsWith("#category:")) {

// mark posts that match the category visible
var page_category = window.location.hash.replace(/^#category:/, "");
page_category = decodeURIComponent(page_category)
var posts = $('.post-metadata').map(function(idx, script) {
var metadata = $.parseJSON($(script).html());
var post = null;
$.each(metadata.categories, function(idx, category) {
category = category.replace(/ /g,"_");
if ((page_category || '').toLowerCase() === "articles" || category === page_category) {
post = $(script).parent().get();
return false;
}
});
return post;
});
set_posts_visible(posts, true);

// mark the hash active
$('.categories li>a[href="' + decodeURIComponent(window.location.hash) + '"]').addClass('active');

// update the list_caption
var list_caption = $('.posts-list-caption');
var caption = (page_category || '').toLowerCase() === "articles"
? list_caption.attr('data-caption')
: ('Category: ' + page_category.replace(/_/g," "));
list_caption.text(caption);

} else {

// no hash filter, make all posts visible (subject to max display)
set_posts_visible($('.posts-list').children(), true);

// reset list caption
var list_caption = $('.posts-list-caption');
list_caption.text(list_caption.attr('data-caption'));


}
}

// more articles
function apply_post_limits(apply) {
if (apply) {
$('.posts-container').addClass('posts-apply-limit');
$('.posts-more a').removeClass('hidden');
} else {
$('.posts-container').removeClass('posts-apply-limit');
$('.posts-more a').addClass('hidden');
}
}

// click handling for tags
$('.dt-tag').click(function(ev) {
window.location.hash = '#category:' + $(this).text().replace(/ /g, "_");
return false;
})

// hash filter handling
apply_hash_filter();
$(window).on('hashchange',function() {
apply_post_limits(true);
apply_hash_filter();
});

// more articles link
$('.posts-more a').click(function(e) {
e.preventDefault();
apply_post_limits(false);
apply_hash_filter();
return false;
});

}

</script>




<script type="application/javascript">

function init_posts_list() {

function load_image(img) {
var src = $(img).attr('data-src');
if (src) {
$(img).attr('src', src);
$(img).on("load", function() {
img.removeAttribute('data-src');
});
}
}

function set_posts_visible(posts, visible) {
if (visible) {

// show bottom border by default
$(posts).removeClass('post-preview-last');

// apply limits if need be
var max_posts = 25;
var apply_limits = $('.posts-container').hasClass('posts-apply-limit');
if (apply_limits && posts.length > max_posts) {
posts = $(posts).slice(0, max_posts);
} else {
$('.posts-more a').addClass('hidden');
}

// apply last style
$(posts.slice(-1)[0]).addClass('post-preview-last');

$(posts).removeClass('hidden');
$(posts).find('img[data-src]').each(function(i, img) {
load_image(img);
});
} else {
$(posts).addClass('hidden');
}
}

function apply_hash_filter() {

// clear active state
$('.categories .active').removeClass('active');

// mark all posts invisible to start
set_posts_visible($('.posts-list').children('a'), false);

// if we have a hash filter
if (window.location.hash && window.location.hash.startsWith("#category:")) {

// mark posts that match the category visible
var page_category = window.location.hash.replace(/^#category:/, "");
page_category = decodeURIComponent(page_category)
var posts = $('.post-metadata').map(function(idx, script) {
var metadata = $.parseJSON($(script).html());
var post = null;
$.each(metadata.categories, function(idx, category) {
category = category.replace(/ /g,"_");
if ((page_category || '').toLowerCase() === "articles" || category === page_category) {
post = $(script).parent().get();
return false;
}
});
return post;
});
set_posts_visible(posts, true);

// mark the hash active
$('.categories li>a[href="' + decodeURIComponent(window.location.hash) + '"]').addClass('active');

// update the list_caption
var list_caption = $('.posts-list-caption');
var caption = (page_category || '').toLowerCase() === "articles"
? list_caption.attr('data-caption')
: ('Category: ' + page_category.replace(/_/g," "));
list_caption.text(caption);

} else {

// no hash filter, make all posts visible (subject to max display)
set_posts_visible($('.posts-list').children(), true);

// reset list caption
var list_caption = $('.posts-list-caption');
list_caption.text(list_caption.attr('data-caption'));


}
}

// more articles
function apply_post_limits(apply) {
if (apply) {
$('.posts-container').addClass('posts-apply-limit');
$('.posts-more a').removeClass('hidden');
} else {
$('.posts-container').removeClass('posts-apply-limit');
$('.posts-more a').addClass('hidden');
}
}

// click handling for tags
$('.dt-tag').click(function(ev) {
window.location.hash = '#category:' + $(this).text().replace(/ /g, "_");
return false;
})

// hash filter handling
apply_hash_filter();
$(window).on('hashchange',function() {
apply_post_limits(true);
apply_hash_filter();
});

// more articles link
$('.posts-more a').click(function(e) {
e.preventDefault();
apply_post_limits(false);
apply_hash_filter();
return false;
});

}

</script>



<div class="posts-container posts-apply-limit l-page">
<div class="posts-list">
<h1 class="posts-list-caption" data-caption="Blog | Scholarly Communication Analytics with R">Blog | Scholarly Communication Analytics with R</h1>
<a href="posts/scopus_oa_tagging_changes/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":[]}</script>
<div class="metadata">
<div class="publishedDate">Dec. 15, 2024</div>
<div class="publishedDate">Dec. 16, 2024</div>
<div class="dt-authors">
<div class="dt-author">Sophia Dörner</div>
</div>
Expand Down
10 changes: 10 additions & 0 deletions docs/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ to publish case-studies rapidely showing how to support data-driven workflows an
decision-making around scholarly communication in libraries using R.
</description>
<generator>Distill</generator>
<lastBuildDate>Mon, 16 Dec 2024 00:00:00 +0000</lastBuildDate>
<item>
<title>Changes in evidence for green open access in Scopus</title>
<dc:creator>Sophia Dörner</dc:creator>
<link>https://subugoe.github.io/scholcomm_analytics/posts/scopus_oa_tagging_changes</link>
<description>In March 2024, Scopus announced changes to its open access tagging policy to better align with the Unpaywall definitions. In this blog post, I examine the impact of the policy change by comparing three Scopus snapshots, comprising around 20 million records. Although the overall share of open access did not change, the analysis found a decrease in the number of copies in repositories, affecting about 2 million items, that cannot be explained by the Unpaywall changes.</description>
<guid>https://subugoe.github.io/scholcomm_analytics/posts/scopus_oa_tagging_changes</guid>
<pubDate>Mon, 16 Dec 2024 00:00:00 +0000</pubDate>
<media:content url="https://subugoe.github.io/scholcomm_analytics/posts/scopus_oa_tagging_changes/distill-preview.png" medium="image" type="image/png" width="980" height="760"/>
</item>
<item>
<title>Identifying journal article types in OpenAlex</title>
<dc:creator>Nick Haupka</dc:creator>
Expand Down
4 changes: 2 additions & 2 deletions docs/posts/datacite_graph/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,8 @@
</style>

<script src="../../site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="../../site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="../../site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="../../site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="../../site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/posts/elsevier_invoice/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@
</style>

<script src="../../site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="../../site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="../../site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="../../site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="../../site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/posts/oaire_graph_2020/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@
</style>

<script src="../../site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="../../site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="../../site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="../../site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="../../site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/posts/oal_document_types_classifier/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@
</style>

<script src="../../site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="../../site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="../../site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="../../site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="../../site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/posts/oalex_oa_status/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@
</style>

<script src="../../site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="../../site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="../../site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="../../site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="../../site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/posts/oam_hybrid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@
</style>

<script src="../../site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="../../site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="../../site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="../../site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="../../site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/posts/openalex_document_types/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@
</style>

<script src="../../site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="../../site_libs/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="../../site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="../../site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="../../site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="../../site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down
Loading

0 comments on commit 5525976

Please sign in to comment.