You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -185,8 +197,8 @@ public function render_meta_data_explorer() {
185
197
186
198
if($active_tab === 'meta-data')
187
199
{
188
-
189
-
$html .= '<p>This is only a very basic summary of some of the meta-data fields of the published publications. In the future this page will allow a more customizable display and export of that meta-data.</p>';
200
+
$html .= '<h3>Meta-data export</h3>';
201
+
$html .= '<p>Here you can display and export some of the stored meta-data.</p>';
$html .= '<h4>Why is the data not always up to date?</h4>';
395
-
$html .= '<p>Fetching cited-by data is a time consuming operation for which external services need to be queried. Fresh cited-by data is thus fetched when the page of a publication is visited and the last time cited-by data for that publication was fetched lies more than ' . $cited_by_refresh_seconds . ' seconds in the past. This balances the load and makes sure that cited by data is always reasonably up to date. If, for some reason, you want to fetch fresh cited-by data for all publications with cited-by data older ' . $cited_by_refresh_seconds . ' seconds you can press the fetch fresh data button below. Beware that this might be a very long operation that can easily time out depending on your server setup and the number of publications.</p>';
407
+
$html .= '<p>Fetching cited-by data is a time consuming operation for which external services need to be queried. Fresh cited-by data is thus fetched when the page of a publication is visited and the last time cited-by data for that publication was fetched lies more than ' . esc_html($cited_by_refresh_seconds) . ' seconds in the past. This balances the load and makes sure that cited by data is always reasonably up to date. If, for some reason, you want to fetch fresh cited-by data for all publications with cited-by data older than ' . esc_html($cited_by_refresh_seconds) . ' seconds you can press the fetch fresh data button below. Beware that this might be a very long operation that can easily time out depending on your server setup and the number of publications.</p>';
396
408
$html .= '<form method="post" action="' . esc_url('?page=' . $this->get_plugin_name() . '-meta-data-explorer' . '&tab=' . $tab_slug) . '"><input type="checkbox" id="refresh" name="refresh" value="checked" /><label for="refresh">I have read the above text on refreshing cited-by data.</label><input id="submit" type="submit" value="Refresh cited-by data"></form>';
$html .= '<li>' . ' <a href="' . esc_attr('/' . $post_type . '/' . $doi_suffix) . '" target=_blank>' . esc_html(ucfirst($post_type_singular_name)) . '' . esc_html($doi_suffix) . ': published version is ' . esc_html($published_version) . '</a> which appeared on the arXiv after this work was first published, which indicates that the publication was updated post publication.</li>';
$html .= '<h4>Why is the data not always up to date?</h4>';
466
+
$html .= '<p>Updating submission history data requires fetching the abstract page from the arXiv. Fresh submission history data is thus fetched when the page of a publication is visited and the last time submission history data for that publication was fetched lies more than ' . esc_html($arxiv_submission_history_refresh_seconds) . ' seconds in the past. This balances the load and makes sure that submission history data is always reasonably up to date. If, for some reason, you want to fetch fresh submission history data for all publications with data older than ' . esc_html($arxiv_submission_history_refresh_seconds) . ' seconds you can press the fetch fresh data button below. Beware that this might be a very long operation that can easily time out depending on your server setup and the number of publications.</p>';
467
+
$html .= '<form method="post" action="' . esc_url('?page=' . $this->get_plugin_name() . '-meta-data-explorer' . '&tab=' . $tab_slug) . '"><input type="checkbox" id="refresh" name="refresh" value="checked" /><label for="refresh">I have read the above text on refreshing submission history data.</label><input id="submit" type="submit" value="Refresh submission history data"></form>';
468
+
}
398
469
399
470
echo$html;
400
471
}
@@ -408,7 +479,8 @@ public function render_meta_data_explorer() {
408
479
*/
409
480
private$meta_data_explorer_tabs = [
410
481
'meta-data' => 'Meta-data',
411
-
'citation-metrics' => 'Citation metrics'
482
+
'citation-metrics' => 'Citation metrics',
483
+
'updated-after-publication' => 'Updated after publication',
0 commit comments