Git Product home page Git Product logo

feedly-export-save4later's Introduction

Feedly-Export-Save4Later

Simple script that exports a users "Saved For Later" list or all loaded entries in a feed out of Feedly as a JSON string.
This was intended for use in the Google Chrome's "Inspector" tool so your mileage may vary if used in other contexts. The scripts should work in most modern browsers.

The format of JSON is as follows:

[
    {
        "title": "Title",
        "url": "https://www.example.com/title",
        "summary": "Short summary",
        "time": " Wed, 15 Jul 2020 18:08:22 GMT",
        "sourceTitle": "Example Source",
        "sourceUrl": "https://www.example.com"
    }
]

How to use:

  1. Open up your browser.
  2. Login to Feedly and go to the "Saved For Later" list or any other feedpage.
  3. Keep scrolling down the page until all saved documents have been loaded
  4. Right click on the page and select "Inspect Element"
  5. Inside the "Inspector" tool, click the "Console" tab.
  6. Paste the appropriate script into the console

Scripts

SaveSavedEntries.js: use for "Saved For Later"
SaveAllEntries.js: use for any other page

Thank you

BradCrawford for the original snippet. fkneist and daun for the contribution.

ShockwaveNN, Dexnero, selcukakbas & nazgul6 for their input.

Donations

ko-fi

Ethereum Bitcoin
0x6b78d3deea258914C2f4e44054d22094107407e5 bc1qvvh8s3tt97cwy20mfdttpwqw0vgsrrceq8zkmw
eth btc

feedly-export-save4later's People

Contributors

barabazs avatar daun avatar fkneist avatar inesicen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

feedly-export-save4later's Issues

Title field needs an update

Hi - The title ends up with "null".

I replaced it with following to get the title:

Title: element.querySelectorAll(".entry__title")[0].innerHTML,

TypeError

Hi - I came back to use the script 1 year later and something is broken...I tried some minor debugging, but it's way outside my ability.

Here's the error:

VM346:8 Uncaught TypeError: Cannot read properties of null (reading 'innerHTML')
at :8:52
at Array.forEach ()
at convertEntries (:5:10)
at :31:12

sourceUrl for hacker news

Hi, when you get the json for saved hacker news submissions i get, example:

  {
    "title": "Hercule Poirot turns 100: The strange case of the Belgian detective",
    "url": "https://www.economist.com/books-and-arts/2020/09/26/hercule-poirot-turns-100",
    "summary": " Comments ",
    "time": "Sun, 27 Sep 2020 06:38:04 GMT",
    "sourceTitle": "Hacker News",
    "sourceUrl": "https://news.ycombinator.com/"
  },

The real source (of the submission to hacker news) is in "summary": " Comments ",

How can i get the url of "summary"?

tnx

This works in Safari on OSX too

Just FYI, this works on Safari on OSX too.

  • Show Web Inspector
  • Go to console tab
  • paste the script

No issues with the site loaded through HTTPS either.

Saved file nearly empty

Have years worth of saved items and scrolled to the bottom in the latest Chrome on Mac. Pasted in the script. It downloads a json file but only has the following contents []

Did Feedly possibly change their HTML or something else?

get more detail

I've added two more line to get more detail of saved item. it gets engagement number and summary

title: $el.attr("data-title"),
url: $el.attr("data-alternate-link"),
enga: $el.attr("engagement-count"),
summa: $el.find(".summary")[0].innerHTML,

time: regex.exec($el.find("span.ago").attr("title"))[1]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.