379 lines
24 KiB
HTML
379 lines
24 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en" dir="auto">
|
||
|
||
<head><meta charset="utf-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
<meta name="robots" content="index, follow">
|
||
<title>Using RSS feeds to keep on top of science. | Zachary Billman</title>
|
||
<meta name="keywords" content="science">
|
||
<meta name="description" content="It is an age-old question: how can one keep up with the continuous output of science? I remember at the beginning of my PhD struggling to figure out how anyone found out when a new paper came out. 😵 Did they sit on nature.com and spam the refresh button? Did they know when each journal released their latest issue?
|
||
Behold the power of RSS!
|
||
Most websites have a page that contains information about each subpage in a computer-readable format called RSS (Really Simple Syndication). Mine has one right here! These pages can be parsed by a number of RSS feed aggregators. The way these pages are set up make it such that they add any new information hosted at that domain. This is useful in the science world because you can find the RSS feed of a given journal, subscribe to it, then have every new article published online be delivered right to you.">
|
||
<meta name="author" content="Zachary Billman">
|
||
<link rel="canonical" href="https://www.zacharybillman.com/posts/rss-feeds-to-find-science-papers/">
|
||
<link crossorigin="anonymous" href="/assets/css/stylesheet.2501c2c03e4bf83dbcd5f4c6f8fda43d8c7d579cf54417793281f3c19df525fb.css" integrity="sha256-JQHCwD5L+D281fTG+P2kPYx9V5z1RBd5MoHzwZ31Jfs=" rel="preload stylesheet" as="style">
|
||
<link rel="icon" href="https://www.zacharybillman.com/favicon.ico">
|
||
<link rel="icon" type="image/png" sizes="16x16" href="https://www.zacharybillman.com/favicon-16x16.png">
|
||
<link rel="icon" type="image/png" sizes="32x32" href="https://www.zacharybillman.com/favicon-32x32.png">
|
||
<link rel="apple-touch-icon" href="https://www.zacharybillman.com/apple-touch-icon.png">
|
||
<link rel="mask-icon" href="https://www.zacharybillman.com/safari-pinned-tab.svg">
|
||
<meta name="theme-color" content="#2e2e33">
|
||
<meta name="msapplication-TileColor" content="#2e2e33">
|
||
<link rel="alternate" hreflang="en" href="https://www.zacharybillman.com/posts/rss-feeds-to-find-science-papers/">
|
||
<noscript>
|
||
<style>
|
||
#theme-toggle,
|
||
.top-link {
|
||
display: none;
|
||
}
|
||
|
||
</style>
|
||
</noscript><script async defer data-website-id="cfe9001f-a59d-4e57-9df0-10551852558b" src="https://umami.zacharybillman.com/umami.js"></script>
|
||
<meta property="og:title" content="Using RSS feeds to keep on top of science." />
|
||
<meta property="og:description" content="It is an age-old question: how can one keep up with the continuous output of science? I remember at the beginning of my PhD struggling to figure out how anyone found out when a new paper came out. 😵 Did they sit on nature.com and spam the refresh button? Did they know when each journal released their latest issue?
|
||
Behold the power of RSS!
|
||
Most websites have a page that contains information about each subpage in a computer-readable format called RSS (Really Simple Syndication). Mine has one right here! These pages can be parsed by a number of RSS feed aggregators. The way these pages are set up make it such that they add any new information hosted at that domain. This is useful in the science world because you can find the RSS feed of a given journal, subscribe to it, then have every new article published online be delivered right to you." />
|
||
<meta property="og:type" content="article" />
|
||
<meta property="og:url" content="https://www.zacharybillman.com/posts/rss-feeds-to-find-science-papers/" /><meta property="article:section" content="posts" />
|
||
<meta property="article:published_time" content="2022-07-13T00:00:00+00:00" />
|
||
<meta property="article:modified_time" content="2022-07-13T00:00:00+00:00" /><meta property="og:site_name" content="Zachary Billman" />
|
||
|
||
<meta name="twitter:card" content="summary"/>
|
||
<meta name="twitter:title" content="Using RSS feeds to keep on top of science."/>
|
||
<meta name="twitter:description" content="It is an age-old question: how can one keep up with the continuous output of science? I remember at the beginning of my PhD struggling to figure out how anyone found out when a new paper came out. 😵 Did they sit on nature.com and spam the refresh button? Did they know when each journal released their latest issue?
|
||
Behold the power of RSS!
|
||
Most websites have a page that contains information about each subpage in a computer-readable format called RSS (Really Simple Syndication). Mine has one right here! These pages can be parsed by a number of RSS feed aggregators. The way these pages are set up make it such that they add any new information hosted at that domain. This is useful in the science world because you can find the RSS feed of a given journal, subscribe to it, then have every new article published online be delivered right to you."/>
|
||
|
||
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "BreadcrumbList",
|
||
"itemListElement": [
|
||
{
|
||
"@type": "ListItem",
|
||
"position": 1 ,
|
||
"name": "Posts",
|
||
"item": "https://www.zacharybillman.com/posts/"
|
||
},
|
||
{
|
||
"@type": "ListItem",
|
||
"position": 2 ,
|
||
"name": "Using RSS feeds to keep on top of science.",
|
||
"item": "https://www.zacharybillman.com/posts/rss-feeds-to-find-science-papers/"
|
||
}
|
||
]
|
||
}
|
||
</script>
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "BlogPosting",
|
||
"headline": "Using RSS feeds to keep on top of science.",
|
||
"name": "Using RSS feeds to keep on top of science.",
|
||
"description": "It is an age-old question: how can one keep up with the continuous output of science? I remember at the beginning of my PhD struggling to figure out how anyone found out when a new paper came out. \u0026#x1f635; Did they sit on nature.com and spam the refresh button? Did they know when each journal released their latest issue?\nBehold the power of RSS! Most websites have a page that contains information about each subpage in a computer-readable format called RSS (Really Simple Syndication). Mine has one right here! These pages can be parsed by a number of RSS feed aggregators. The way these pages are set up make it such that they add any new information hosted at that domain. This is useful in the science world because you can find the RSS feed of a given journal, subscribe to it, then have every new article published online be delivered right to you.\n",
|
||
"keywords": [
|
||
"science"
|
||
],
|
||
"articleBody": "It is an age-old question: how can one keep up with the continuous output of science? I remember at the beginning of my PhD struggling to figure out how anyone found out when a new paper came out. 😵 Did they sit on nature.com and spam the refresh button? Did they know when each journal released their latest issue?\nBehold the power of RSS! Most websites have a page that contains information about each subpage in a computer-readable format called RSS (Really Simple Syndication). Mine has one right here! These pages can be parsed by a number of RSS feed aggregators. The way these pages are set up make it such that they add any new information hosted at that domain. This is useful in the science world because you can find the RSS feed of a given journal, subscribe to it, then have every new article published online be delivered right to you.\nThere are a plethora of RSS feed aggregators you can pick from manage your feeds. I have previously used Feedly and Inoreader, which are great free solutions, but have moved on to selfhosting my own instance of FreshRSS.\nAfter making an account at your friendly local RSS feed aggregator, you can add whatever feeds your heart desires. To find a journal’s rss feed, I often just search “$JOURNAL_NAME rss feed” and poke around until I find something that looks right. Most of the aggregators will test the feed out first to make sure that you are trying to add a legitimate one. Here are a few of the heavy hitters to get you started:\nhttp://feeds.nature.com/nature/rss/current https://www.science.org/rss/express.xml https://www.cell.com/cell/inpress.rss Nothing like a constant stream of Cell, Science, and Nature to make your project feel like a real winner, eh?\nHere is what my own site looks like.\nFigure 1: My current FreshRSS setup. On the left I have my feeds separated into folders. In the middle you can see the titles of papers that appear in my feed.\nAnd after I hit J to move to the first item in the feed.\nFigure 2: With a title selected, you can see the abstract and authors.\nAfter collecting all of your desired RSS feeds, you cannot forego your responsibility of actually reading them! Most RSS feed aggregators have shortcuts to move through titles quickly (Typically J to move on to the next one and K to move up.) They always seem to use vi keybindings. A bunch of computer nerds have really cornered the keybinding market. I have let them take over my computing life. Each morning when I get into the lab, I quickly set up something, then head to my desk to hit J until the counter reaches zero.\nBut what about my very specific field? You can subscribe to all of the journals you want, but that doesn’t make the papers with your specific interests pop out. Fortunately, the NIH has this exact circumstance in mind.\nWhen you make a new search on PubMed you might notice the “Create RSS” button. Give it a click, then you will have a personal link you can add to your favorite RSS feed aggregator.\nFigure 3: Somehow I never noticed this button until I needed it.\nThis changed the game for me for keeping up with papers. Unfortunately, it doesn’t solve the problem of library management, or actually getting around to reading the papers you care about. I will leave library management as an exercise for the interested reader. Here’s a tip, the best solution uses the Zotero citation manager. Bonus points for using Zotfile for renaming your PDFs and Better BibTex for Zotero. 😉 I hope this helps you get your eyeballs on that science you crave. If you have solved the problem of accruing papers to read faster than you read them, let me know.\n",
|
||
"wordCount" : "638",
|
||
"inLanguage": "en",
|
||
"datePublished": "2022-07-13T00:00:00Z",
|
||
"dateModified": "2022-07-13T00:00:00Z",
|
||
"author":[{
|
||
"@type": "Person",
|
||
"name": "Zachary Billman"
|
||
}],
|
||
"mainEntityOfPage": {
|
||
"@type": "WebPage",
|
||
"@id": "https://www.zacharybillman.com/posts/rss-feeds-to-find-science-papers/"
|
||
},
|
||
"publisher": {
|
||
"@type": "Organization",
|
||
"name": "Zachary Billman",
|
||
"logo": {
|
||
"@type": "ImageObject",
|
||
"url": "https://www.zacharybillman.com/favicon.ico"
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
</head>
|
||
|
||
<body class="" id="top">
|
||
<script>
|
||
if (localStorage.getItem("pref-theme") === "dark") {
|
||
document.body.classList.add('dark');
|
||
}
|
||
|
||
</script>
|
||
|
||
<header class="header">
|
||
<nav class="nav">
|
||
<div class="logo">
|
||
<a href="https://www.zacharybillman.com/" accesskey="h" title="Zachary Billman (Alt + H)">
|
||
<img src="https://www.zacharybillman.com/homepage/flask.svg" alt="" aria-label="logo"
|
||
height="35">Zachary Billman</a>
|
||
<div class="logo-switches">
|
||
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
|
||
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
|
||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||
stroke-linejoin="round">
|
||
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
|
||
</svg>
|
||
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
|
||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||
stroke-linejoin="round">
|
||
<circle cx="12" cy="12" r="5"></circle>
|
||
<line x1="12" y1="1" x2="12" y2="3"></line>
|
||
<line x1="12" y1="21" x2="12" y2="23"></line>
|
||
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
|
||
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
|
||
<line x1="1" y1="12" x2="3" y2="12"></line>
|
||
<line x1="21" y1="12" x2="23" y2="12"></line>
|
||
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
|
||
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
|
||
</svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<ul id="menu">
|
||
<li>
|
||
<a href="https://www.zacharybillman.com/categories/" title="categories">
|
||
<span>categories</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.zacharybillman.com/tags/" title="tags">
|
||
<span>tags</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.zacharybillman.com/posts/" title="posts">
|
||
<span>posts</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.zacharybillman.com/search/" title="search (Alt + /)" accesskey=/>
|
||
<span>search</span>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</nav>
|
||
</header>
|
||
<main class="main">
|
||
|
||
<article class="post-single">
|
||
<header class="post-header">
|
||
<div class="breadcrumbs"><a href="https://www.zacharybillman.com/">Home</a> » <a href="https://www.zacharybillman.com/posts/">Posts</a></div>
|
||
<h1 class="post-title entry-hint-parent">
|
||
Using RSS feeds to keep on top of science.
|
||
</h1>
|
||
<div class="post-meta"><span title='2022-07-13 00:00:00 +0000 UTC'>Wednesday, July 13, 2022</span> · 3 min · Zachary Billman
|
||
|
||
</div>
|
||
</header>
|
||
<div class="post-content"><p>It is an age-old question: how can one keep up with the continuous output of science? I remember at the beginning of my PhD struggling to figure out how anyone found out when a new paper came out. 😵 Did they sit on nature.com and spam the refresh button? Did they know when each journal released their latest issue?</p>
|
||
<h2 id="behold-the-power-of-rss">Behold the power of RSS!<a hidden class="anchor" aria-hidden="true" href="#behold-the-power-of-rss">#</a></h2>
|
||
<p>Most websites have a page that contains information about each subpage in a computer-readable format called RSS (Really Simple Syndication). <a href="https://zacharybillman.com/index.xml">Mine has one right here!</a> These pages can be parsed by a number of RSS feed aggregators. The way these pages are set up make it such that they add any new information hosted at that domain. This is useful in the science world because you can find the RSS feed of a given journal, subscribe to it, then have every new article published online be delivered right to you.</p>
|
||
<p>There are a plethora of RSS feed aggregators you can pick from manage your feeds. I have previously used <a href="https://feedly.com/">Feedly</a> and <a href="https://www.inoreader.com/">Inoreader</a>, which are great free solutions, but have moved on to selfhosting my own instance of <a href="https://www.freshrss.org/">FreshRSS</a>.</p>
|
||
<p>After making an account at your friendly local RSS feed aggregator, you can add whatever feeds your heart desires. To find a journal’s rss feed, I often just search “$JOURNAL_NAME rss feed” and poke around until I find something that looks right. Most of the aggregators will test the feed out first to make sure that you are trying to add a legitimate one. Here are a few of the heavy hitters to get you started:</p>
|
||
<ol>
|
||
<li><a href="http://feeds.nature.com/nature/rss/current">http://feeds.nature.com/nature/rss/current</a></li>
|
||
<li><a href="https://www.science.org/rss/express.xml">https://www.science.org/rss/express.xml</a></li>
|
||
<li><a href="https://www.cell.com/cell/inpress.rss">https://www.cell.com/cell/inpress.rss</a></li>
|
||
</ol>
|
||
<p>Nothing like a constant stream of Cell, Science, and Nature to make your project feel like a real winner, eh?</p>
|
||
<p>Here is what my own site looks like.</p>
|
||
<p><a id="figure--feed1"></a></p>
|
||
<figure><a href="./images/feed1.webp">
|
||
<img loading="lazy" src="./images/feed1.webp"
|
||
alt="Figure 1: My current FreshRSS setup. On the left I have my feeds separated into folders. In the middle you can see the titles of papers that appear in my feed."/> </a><figcaption>
|
||
<p><span class="figure-number">Figure 1: </span>My current FreshRSS setup. On the left I have my feeds separated into folders. In the middle you can see the titles of papers that appear in my feed.</p>
|
||
</figcaption>
|
||
</figure>
|
||
|
||
<p>And after I hit <code>J</code> to move to the first item in the feed.</p>
|
||
<p><a id="figure--feed2"></a></p>
|
||
<figure><a href="./images/feed2.webp">
|
||
<img loading="lazy" src="./images/feed2.webp"
|
||
alt="Figure 2: With a title selected, you can see the abstract and authors."/> </a><figcaption>
|
||
<p><span class="figure-number">Figure 2: </span>With a title selected, you can see the abstract and authors.</p>
|
||
</figcaption>
|
||
</figure>
|
||
|
||
<p>After collecting all of your desired RSS feeds, you cannot forego your responsibility of actually reading them! Most RSS feed aggregators have shortcuts to move through titles quickly (Typically <code>J</code> to move on to the next one and <code>K</code> to move up.)
|
||
<span class="sidenote-number"><small class="sidenote">
|
||
They always seem to use <a href="https://hea-www.harvard.edu/~fine/Tech/vi.html">vi keybindings</a>. A bunch of computer nerds have really cornered the keybinding market. I have let them take over my computing life.
|
||
</small></span>
|
||
Each morning when I get into the lab, I quickly set up something, then head to my desk to hit <code>J</code> until the counter reaches zero.</p>
|
||
<h2 id="but-what-about-my-very-specific-field">But what about my very specific field?<a hidden class="anchor" aria-hidden="true" href="#but-what-about-my-very-specific-field">#</a></h2>
|
||
<p>You can subscribe to all of the journals you want, but that doesn’t make the papers with your specific interests pop out. Fortunately, the NIH has this <em>exact</em> circumstance in mind.</p>
|
||
<p>When you make a new search on PubMed you might notice the “Create RSS” button. Give it a click, then you will have a personal link you can add to your favorite RSS feed aggregator.</p>
|
||
<p><a id="figure--feed3"></a></p>
|
||
<figure><a href="./images/feed3.webp">
|
||
<img loading="lazy" src="./images/feed3.webp"
|
||
alt="Figure 3: Somehow I never noticed this button until I needed it."/> </a><figcaption>
|
||
<p><span class="figure-number">Figure 3: </span>Somehow I never noticed this button until I needed it.</p>
|
||
</figcaption>
|
||
</figure>
|
||
|
||
<p>This changed the game for me for keeping up with papers. Unfortunately, it doesn’t solve the problem of library management, or actually getting around to reading the papers you care about. I will leave library management as an exercise for the interested reader.
|
||
<span class="sidenote-number"><small class="sidenote">
|
||
Here’s a tip, the best solution uses the <a href="https://www.zotero.org/">Zotero citation manager</a>. Bonus points for using <a href="http://zotfile.com/">Zotfile for renaming your PDFs</a> and <a href="https://retorque.re/zotero-better-bibtex/">Better BibTex for Zotero</a>. 😉
|
||
</small></span>
|
||
I hope this helps you get your eyeballs on that science you crave. If you have solved the problem of accruing papers to read faster than you read them, let me know.</p>
|
||
|
||
|
||
</div>
|
||
|
||
<footer class="post-footer">
|
||
<ul class="post-tags">
|
||
<li><a href="https://www.zacharybillman.com/tags/science/">Science</a></li>
|
||
</ul>
|
||
<nav class="paginav">
|
||
<a class="prev" href="https://www.zacharybillman.com/posts/roasting-coffee-at-home/">
|
||
<span class="title">« Prev</span>
|
||
<br>
|
||
<span>Roasting coffee at home. ☕</span>
|
||
</a>
|
||
<a class="next" href="https://www.zacharybillman.com/posts/my-selfhosting-journey/">
|
||
<span class="title">Next »</span>
|
||
<br>
|
||
<span>My selfhosting journey.</span>
|
||
</a>
|
||
</nav>
|
||
|
||
</footer><script defer src="https://commento.zacharybillman.com/js/commento.js"></script>
|
||
<noscript>
|
||
Please enable JavaScript to view the
|
||
<a href="https://commento.io" rel="nofollow">
|
||
comments powered by Commento++.
|
||
</a>
|
||
</noscript>
|
||
<div id="commento"></div>
|
||
|
||
</article>
|
||
</main>
|
||
|
||
<footer class="footer">
|
||
<span>© 2024 <a href="https://www.zacharybillman.com/">Zachary Billman</a></span> ·
|
||
|
||
<span>
|
||
Powered by
|
||
<a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
|
||
<a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a>
|
||
</span>
|
||
</footer>
|
||
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
|
||
<path d="M12 6H0l6-6z" />
|
||
</svg>
|
||
</a>
|
||
|
||
<script>
|
||
let menu = document.getElementById('menu')
|
||
if (menu) {
|
||
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
|
||
menu.onscroll = function () {
|
||
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
|
||
}
|
||
}
|
||
|
||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||
anchor.addEventListener("click", function (e) {
|
||
e.preventDefault();
|
||
var id = this.getAttribute("href").substr(1);
|
||
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
|
||
behavior: "smooth"
|
||
});
|
||
} else {
|
||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
|
||
}
|
||
if (id === "top") {
|
||
history.replaceState(null, null, " ");
|
||
} else {
|
||
history.pushState(null, null, `#${id}`);
|
||
}
|
||
});
|
||
});
|
||
|
||
</script>
|
||
<script>
|
||
var mybutton = document.getElementById("top-link");
|
||
window.onscroll = function () {
|
||
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
|
||
mybutton.style.visibility = "visible";
|
||
mybutton.style.opacity = "1";
|
||
} else {
|
||
mybutton.style.visibility = "hidden";
|
||
mybutton.style.opacity = "0";
|
||
}
|
||
};
|
||
|
||
</script>
|
||
<script>
|
||
document.getElementById("theme-toggle").addEventListener("click", () => {
|
||
if (document.body.className.includes("dark")) {
|
||
document.body.classList.remove('dark');
|
||
localStorage.setItem("pref-theme", 'light');
|
||
} else {
|
||
document.body.classList.add('dark');
|
||
localStorage.setItem("pref-theme", 'dark');
|
||
}
|
||
})
|
||
|
||
</script>
|
||
<script>
|
||
document.querySelectorAll('pre > code').forEach((codeblock) => {
|
||
const container = codeblock.parentNode.parentNode;
|
||
|
||
const copybutton = document.createElement('button');
|
||
copybutton.classList.add('copy-code');
|
||
copybutton.innerHTML = 'copy';
|
||
|
||
function copyingDone() {
|
||
copybutton.innerHTML = 'copied!';
|
||
setTimeout(() => {
|
||
copybutton.innerHTML = 'copy';
|
||
}, 2000);
|
||
}
|
||
|
||
copybutton.addEventListener('click', (cb) => {
|
||
if ('clipboard' in navigator) {
|
||
navigator.clipboard.writeText(codeblock.textContent);
|
||
copyingDone();
|
||
return;
|
||
}
|
||
|
||
const range = document.createRange();
|
||
range.selectNodeContents(codeblock);
|
||
const selection = window.getSelection();
|
||
selection.removeAllRanges();
|
||
selection.addRange(range);
|
||
try {
|
||
document.execCommand('copy');
|
||
copyingDone();
|
||
} catch (e) { };
|
||
selection.removeRange(range);
|
||
});
|
||
|
||
if (container.classList.contains("highlight")) {
|
||
container.appendChild(copybutton);
|
||
} else if (container.parentNode.firstChild == container) {
|
||
|
||
} else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") {
|
||
|
||
codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton);
|
||
} else {
|
||
|
||
codeblock.parentNode.appendChild(copybutton);
|
||
}
|
||
});
|
||
</script>
|
||
</body>
|
||
|
||
</html>
|