diff web_resources/feed-preview.xhtml @ 10:ff5e5e3eba32

Implement feed subscription for web-based feed readers Add options page for configuring web-based feed readers which allow for subscribing to feeds via GET requests. Track tabs containing feed previews and inject a content script which retrieves the configured feed readers and keeps them in sync.
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Fri, 07 Dec 2018 23:00:41 +0100
parents fcd65cf3f634
children f0c4a458869c
line wrap: on
line diff
--- a/web_resources/feed-preview.xhtml	Tue Nov 27 16:05:14 2018 +0100
+++ b/web_resources/feed-preview.xhtml	Fri Dec 07 23:00:41 2018 +0100
@@ -11,7 +11,7 @@
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
 -->
     <meta name="viewport" content="width=device-width, initial-scale=1"/>
-    <link rel="stylesheet" href=""/>
+    <link id="default-stylesheet" rel="stylesheet" href=""/>
     <title></title>
   </head>
   <body>
@@ -48,6 +48,14 @@
       <li class="entry-file"><a class="entry-file-link" href="" title=""></a>
       <span class="entry-file-info"></span></li>
     </template>
+    <form id="feed-subscription">
+      <fieldset name="main" disabled="disabled">
+        <label for="feed-reader-selection"></label><select
+        name="feed-reader-selection" id="feed-reader-selection"
+        required="required"></select><button type="submit"
+        name="subscribe" id="subscribe"></button>
+      </fieldset>
+    </form>
     <header id="feed-header">
       <h1 id="feed-title"></h1>
       <p id="feed-subtitle"></p>