silverbucket / dogfeed

an unhosted feed reader
https://dogfeed.5apps.com
GNU Affero General Public License v3.0
34 stars 4 forks source link

Add ability to import feed list from OPML file #53

Open qjcg opened 10 years ago

silverbucket commented 10 years ago

+1 thanks for the request.

Do you have a source I can use for testing?

qjcg commented 10 years ago

Sure! You'll find some test data below.

If you're on *NIX, a simple way to generate OPML is to install newsbeuter and do the following :

newsbeuter -u FEED_URLS_FILE -e > feeds.opml

There are many other ways to do this. Most existing feed readers have an export to OPML option.


<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
    <head>
        <title>Some OPML for testing!</title>
    </head>
    <body>
            <outline type="rss" text="Core Blog · CoreOS" title="Core Blog · CoreOS" xmlUrl="http://coreos.com/atom.xml" htmlUrl="http://coreos.com"/>
            <outline type="rss" text="The Art of Non-Conformity" title="The Art of Non-Conformity" xmlUrl="http://feeds.feedburner.com/ChrisGuillebeau-3x5" htmlUrl="http://chrisguillebeau.com"/>
            <outline type="rss" text="DailyJS" title="DailyJS" xmlUrl="http://feeds.feedburner.com/dailyjs" htmlUrl="http://dailyjs.com"/>
            <outline type="rss" text="DANIEL CLOWES" title="DANIEL CLOWES" xmlUrl="http://danielclowes.tumblr.com/rss" htmlUrl="http://danielclowes.tumblr.com/"/>
            <outline type="rss" text="Boing Boing" title="Boing Boing" xmlUrl="http://www.boingboing.net/atom.xml" htmlUrl="http://boingboing.net"/>
            <outline type="rss" text="substack in cyberspace" title="substack in cyberspace" xmlUrl="http://substack.net/blog.xml"/>
            <outline type="rss" text="Redecentralize" title="Redecentralize" xmlUrl="http://redecentralize.org/podcast/feed.rss" htmlUrl="http://redecentralize.org"/>
            <outline type="rss" text="O'Reilly Radar - Insight, analysis, and research about emerging technologies" title="O'Reilly Radar - Insight, analysis, and research about emerging technologies" xmlUrl="http://feeds.feedburner.com/oreilly/radar/atom" htmlUrl="http://radar.oreilly.com"/>
            <outline type="rss" text="Urban Word of the Day" title="Urban Word of the Day" xmlUrl="http://www.urbandictionary.com/daily.rss" htmlUrl="http://www.urbandictionary.com/"/>
            <outline type="rss" text="Arch Linux News" title="Arch Linux News" xmlUrl="http://www.archlinux.org/feeds/news/" htmlUrl="https://www.archlinux.org/news/"/>
            <outline type="rss" text="reddit: dailyprogrammer" title="reddit: dailyprogrammer" xmlUrl="http://www.reddit.com/r/dailyprogrammer/.rss" htmlUrl="http://www.reddit.com/r/dailyprogrammer/"/>
            <outline type="rss" text="Moxie Marlinspike's Blog" title="Moxie Marlinspike's Blog" xmlUrl="http://www.thoughtcrime.org/blog/rss.xml" htmlUrl="http://www.thoughtcrime.org/blog/"/>
            <outline type="rss" text="Low End Box" title="Low End Box" xmlUrl="http://www.lowendbox.com/feed/" htmlUrl="http://lowendbox.com"/>
    </body>
</opml>
pierreozoux commented 10 years ago

+1 :) https://www.bountysource.com/issues/2627189-add-ability-to-import-feed-list-from-opml-file