brave / brave-ios

Brave iOS Browser
https://brave.com
Mozilla Public License 2.0
1.7k stars 442 forks source link

OPML export for Brave News #6077

Open mattmcalister opened 1 year ago

mattmcalister commented 1 year ago

Related to: https://github.com/brave/brave-browser/issues/25695

Users should be able to export OPML to a file that is then stored on the device. Exporting does not affect the following status of a source.

grand-lotus-iroh commented 1 year ago

A good idea, because when I try to import an .OPML file I get an error. Also, it would be great if this feature was available in Desktop too. Maybe that way I can use template format from Desktop to import into Mobile browser.

The file export was created with Feedbro Chrome Extension. Here is example export file generated from addon:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Feed Subscriptions</title>
</head>
<body>
  <outline title="Tutorials &#38; Howtos" text="Tutorials &#38; Howtos">
      <outline text="BrainStuff" title="BrainStuff" type="rss" 
            xmlUrl="http://www.howstuffworks.com/podcasts/brainstuff.rss"/>
      <outline text="Codrops" title="Codrops" type="rss" 
            xmlUrl="https://tympanus.net/codrops//feed" htmlUrl="https://tympanus.net/codrops"/>
      <outline text="Plain Tips" title="Plain Tips" type="rss" 
            xmlUrl="http://plaintips.com/feed" htmlUrl="https://plaintips.com/"/>
  </outline>
  <outline title="Shopping" text="Shopping">
      <outline text="Slickdeals Drugstore/Grocery B&#38;M Deals + Discussion Forum" title="Slickdeals Drugstore/Grocery B&#38;M Deals + Discussion Forum" type="rss" 
            xmlUrl="https://slickdeals.net/newsearch.php?searchin=first&amp;forumchoice%5B%5D=38&amp;rss=1" htmlUrl="https://slickdeals.net/forums/forumdisplay.php?f=38"/>
  </outline>
  <outline title="Marketing" text="Marketing">
      <outline text="SEO Blog by full-time search analysts - Detailed.com" title="SEO Blog by full-time search analysts - Detailed.com" type="rss" 
            xmlUrl="https://detailed.com/blog//feed" htmlUrl="https://detailed.com/blog/"/>
  </outline>
</body>
</opml>

image