florisluiten / rssreader

RSS Reader
MIT License
5 stars 3 forks source link

Feature Request: export/import feeds (OPML) #7

Open kITerE opened 8 years ago

kITerE commented 8 years ago

For feeds collection management (move, backup, ...)

florisluiten commented 8 years ago

Hi,

First of all, thank you for your time to create the feature request. Great suggestion!

I have not yet thought about importing and exporting, but it does make sense to implement this. I've yet to look into OPML, but it seems promising so far.

Do you happen to have a sample OPML file that I can use? If it's okay with you, I might end up writing a test around the provided file. That way I can make building the import function easier.

I have no timeframe yet, but as soon as I'm available I'll look into this. If there are any updates, the will appear in this issue.

Thanks again for input!

kITerE commented 8 years ago

Do you happen to have a sample OPML file that I can use?

I use "flat" (without directories) format:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1">
<head>
    <title>RSS feeds</title>
</head>
<body>
    <outline title="Intel Developer Zone Articles" type="rss" xmlUrl="https://software.intel.com/en-us/articles/feed/" />
    <outline title="Black Hat Announcements" type="rss" xmlUrl="https://www.blackhat.com/BlackHatRSS.xml" />
    <outline title="Project Zero" type="rss" xmlUrl="http://googleprojectzero.blogspot.com/feeds/posts/default?alt=rss"/>
</body>
</opml>
florisluiten commented 7 years ago

I'm having issues with importing; not so much due to the file format but more because of how the Ubuntu Touch devices have no 'interaction' with files.

I did implement a quick-'n'-dirty solution of exporting. This way you can at least store your current feeds into a exported file. Please note that this export is not yet in OPML format, but a simple RSS format. In the future, I will be offering a choice in what format to export your current feeds; but since time is running out for the Ubuntu Store I want people to be able to at least make sure their feeds are safe.

Thanks so far for your help, I hope I'll have more (good) news sooner than this update (sorry).

Kind regards,

Floris

florisluiten commented 7 years ago

Quick update about my comment above: After a good night sleep, realised that exporting a list of RSS feeds to a XML file makes no sense whatsoever. I've updated the export-tool to generate OPML data instead. Since this is a 'external' service, no update of the application is needed. So if you are using version 0.2.4 you can export your current feeds to OPML, and OPML only.

ghost commented 6 years ago

Hi, nice work with the OPML export function! Is there a chance to add an import function as well (for instance to initialize a new phone with an OPML file already existing on a computer)? I am using version 0.2.4 and I do not see this option.

Thanks in advance for your feedback.

florisluiten commented 5 years ago

Hello there Anne017,

First of all, I apologize for my late response, for I had disabled e-mail notifications for the issue tracker and did not see your reply.

I have not actively been working on this projects for quite some time, because I no longer own my Ubuntu Phone (and also no longer own the PC with the development setup). I'm glad however that there are still other people enjoying this app.

Your suggestion is very good, an import would make a lot of sense. I'll be looking into this, but cannot promise you that I'll be doing that very soon since I have to setup my development machine and I remember from the first time that was quite a nightmare. Once I've setup the machine and ready to pick this up, I'll update you in this issue.

Thanks for your feedback!

ghost commented 5 years ago

Thank you for your kind feedback. I use your app on a daily basis and am really an fan. It is far better than the Shorter app and should be included as a core app! Let me know if I can help with translation (I speak French).