Skip to content

Instantly share code, notes, and snippets.

@GeoffreyPlitt
Last active October 28, 2024 22:14
Show Gist options
  • Save GeoffreyPlitt/9a612f3294df628022f66afd8e35ebba to your computer and use it in GitHub Desktop.
Save GeoffreyPlitt/9a612f3294df628022f66afd8e35ebba to your computer and use it in GitHub Desktop.
Feedly Export Bookmarklet
javascript: navigator.clipboard.writeText(
Array.from(document.querySelectorAll("article"))
.map((entry) => {
const note = entry.querySelector("div > div > div:nth-child(2) > div:nth-child(3)").textContent;
return (
entry.querySelector('a').href +
"\n" +
entry.querySelector('a').text +
"\n" +
(note ? note + "\n" : '') +
entry.querySelector('.EntryBestSummary__paragraph')?.textContent +
"\n\n"
);
})
.join("\n")
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment