admin管理员组文章数量:1290388
i'm trying to migrate from feedly as it is unacceptable (at least to me) that a search query is (fully) enabled only by a pro version.
Anyhow, to export my lengthy list of "saved for later" i found some lovely scripts: Simple script that exports a users "Saved For Later" list out of Feedly as a JSON string and feedly-to-pocket. where i am instructed to:
You must switch off SSL (http rather than https) or jQuery won't load!
so i though i did by adding (ubuntu 14.04/chrome 40 x64)
--ssl-version-min=tls1
to my /usr/share/applications/google-chrome.desktop file (all lines starting with Exec=). However when i try to run it in the browser console i get
This request has been blocked; the content must be served over HTTPS.
So, any suggestions? (also, excuse me for noobness)
i'm trying to migrate from feedly as it is unacceptable (at least to me) that a search query is (fully) enabled only by a pro version.
Anyhow, to export my lengthy list of "saved for later" i found some lovely scripts: Simple script that exports a users "Saved For Later" list out of Feedly as a JSON string and feedly-to-pocket. where i am instructed to:
You must switch off SSL (http rather than https) or jQuery won't load!
so i though i did by adding (ubuntu 14.04/chrome 40 x64)
--ssl-version-min=tls1
to my /usr/share/applications/google-chrome.desktop file (all lines starting with Exec=). However when i try to run it in the browser console i get
This request has been blocked; the content must be served over HTTPS.
So, any suggestions? (also, excuse me for noobness)
Share Improve this question edited Feb 21, 2015 at 19:46 gep asked Feb 21, 2015 at 17:36 gepgep 931 silver badge7 bronze badges 2- also, ifft does not count as an alternative (requires to enable pro feedly for any IF/DO) – gep Commented Feb 21, 2015 at 17:46
- wow tough crowd downvoting for grammar mistakes (fixed:) – gep Commented Feb 21, 2015 at 17:51
4 Answers
Reset to default 5- Go to your Feedly "saved" list and scroll down until all articles have loaded.
Open console and paste the following Javascript into it:
function loadJQuery() { script = document.createElement('script'); script.setAttribute('src', '//code.jquery./jquery-2.1.3.js'); script.setAttribute('type', 'text/javascript'); script.onload = loadSaveAs; document.getElementsByTagName('head')[0].appendChild(script); } function loadSaveAs() { saveAsScript = document.createElement('script'); saveAsScript.setAttribute('src', 'https://cdn.rawgit./eligrey/FileSaver.js/5733e40e5af936eb3f48554cf6a8a7075d71d18a/FileSaver.js'); saveAsScript.setAttribute('type', 'text/javascript'); saveAsScript.onload = saveToFile; document.getElementsByTagName('head')[0].appendChild(saveAsScript); } function saveToFile() { // Loop through the DOM, grabbing the information from each bookmark map = jQuery(".entry.quicklisted").map(function(i, el) { var $el = jQuery(el); var regex = /Published:(.*)(.*)/i; return { title: $el.attr("data-title"), url: $el.attr("data-alternate-link"), summary: $el.find(".summary")[0].innerHTML, time: regex.exec($el.find("span.ago").attr("title"))[1] }; }).get(); // Convert jQuery object into an array // Convert to a nicely indented JSON string json = JSON.stringify(map, undefined, 2); var blob = new Blob([json], {type: "text/plain;charset=utf-8"}); saveAs(blob, "FeedlySavedForLater" + Date.now().toString() + ".txt"); } loadJQuery()
Source: Feedly-Export-Save4Later
Not javascript but here is how I saved a html page with all the links and excerpts...
- Open the saved pages in feedly in chrome
- scroll down so they are all there
- inspect any element (the top article is a good choice) so it opens the generated html
- find the
div id="section0_column0"
node - right-click & copy it
- paste into Notepad++
- this html is untidy so carry on...
- Do a Regex find & replace
- find:
(?s)<div id=.+?_main.+?>.+?(<a href=")(.+?)(").+?sans-serif">(.+?)</span>.+?</div>.+?</div>.+?</div>
- replace:
<div>$1$2$3>$2</a></div> <div> $4<br /> <br /></div>
- find:
- save the html page.
- open it in Chrome
Posted the question in the jquery forum and the solution was rather simple (remove http from attribute string)
line 34 should be script.setAttribute('src', '//code.jquery./jquery-latest.min.js');
So to close the loop - for a full searchable/archived list of links not only by title/url but context also(!) you can:
- Follow the instructions in https://github./ShockwaveNN/feedly-to-pocket (with the correction suggested by kind stranger jakecigar and you also have to register a pocket app (obtain consumer key) for the ruby script to work)
- Export html list from your pocket account
- Import pocket list to a Kifi library
and at last feedly-free with my personal search engine
I know I'm a bit late to the party but Ive been hunting around for a few days to find a reasonably simple solution. None of which have been listed clearly or concisely on stack overflow or elsewhere on the web. I have in fact found a much easier way to do this.
Use this java script from this Gist just as it instructs https://gist.github./ShockwaveNN/a0baf2ca26d1711f10e2 (Note this is referenced above and found through the link @gep shared in step one)
- Once the JS as pleted running it will download a text file. (It does still run successfully and on large numbers, I just exported almost 2500 articles)
Create a blank test.json in SublimeText.
Copy all entries from your exported text file into this json file
- Weirdly it does seem you need to copy and past as I tried just renaming the text file and when I did that I received errors on the next step
Make sure you are signed into pocket
- Go here: https://getpocket./import/springpad
- Select your newly created test.json
Upload
- Note: On large uploads the import page fails to refresh (this did not seem to be an issue as all my articles did make it into my account)
This allows you to directly upload json into your pocket account. Thus no more messing around with random supposed other fixes. I hope this make it a lot easier for everyone in the future.
本文标签: javascriptexport quotsaved for laterquot from (evil) feedlyStack Overflow
版权声明:本文标题:javascript - export "saved for later" from (evil) feedly - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741497164a2381886.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论