aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html')
-rw-r--r--template/html/add_subscription.html6
-rw-r--r--template/html/choose_subscription.html2
2 files changed, 8 insertions, 0 deletions
diff --git a/template/html/add_subscription.html b/template/html/add_subscription.html
index 4a6fe7d..c3e8076 100644
--- a/template/html/add_subscription.html
+++ b/template/html/add_subscription.html
@@ -56,6 +56,12 @@
- Using a different input name doesn't change anything
-->
<input type="text" name="feed_password" id="form-feed-password" value="{{ .form.Password }}">
+
+ <label for="form-scraper-rules">{{ t "form.feed.label.scraper_rules" }}</label>
+ <input type="text" name="scraper_rules" id="form-scraper-rules" value="{{ .form.ScraperRules }}">
+
+ <label for="form-rewrite-rules">{{ t "form.feed.label.rewrite_rules" }}</label>
+ <input type="text" name="rewrite_rules" id="form-rewrite-rules" value="{{ .form.RewriteRules }}">
</div>
</details>
diff --git a/template/html/choose_subscription.html b/template/html/choose_subscription.html
index bac7083..ee4a1dc 100644
--- a/template/html/choose_subscription.html
+++ b/template/html/choose_subscription.html
@@ -22,6 +22,8 @@
<input type="hidden" name="user_agent" value="{{ .form.UserAgent }}">
<input type="hidden" name="feed_username" value="{{ .form.Username }}">
<input type="hidden" name="feed_password" value="{{ .form.Password }}">
+ <input type="hidden" name="scraper_rules" value="{{ .form.ScraperRules }}">
+ <input type="hidden" name="rewrite_rules" value="{{ .form.RewriteRules }}">
{{ if .form.Crawler }}
<input type="hidden" name="crawler" value="1">
{{ end }}