aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/edit_feed.html
diff options
context:
space:
mode:
authorGravatar Patrick <pmarschik@users.noreply.github.com>2018-09-20 03:19:24 +0200
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-09-19 18:19:24 -0700
commit2538eea1776e1d03d33465ad2001512caca93937 (patch)
tree021c417d5f31606fe50d7945872c4cda6cdc2060 /template/html/edit_feed.html
parent1d335390c2ac7c0feeb94fce89eefdae9a1e7c17 (diff)
Add the possibility to override default user agent for each feed
Diffstat (limited to 'template/html/edit_feed.html')
-rw-r--r--template/html/edit_feed.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/html/edit_feed.html b/template/html/edit_feed.html
index 9c57590..0e0017c 100644
--- a/template/html/edit_feed.html
+++ b/template/html/edit_feed.html
@@ -58,6 +58,9 @@
-->
<input type="text" name="feed_password" id="form-feed-password" value="{{ .form.Password }}">
+ <label for="form-user-agent">{{ t "User-Agent" }}</label>
+ <input type="text" name="user_agent" id="form-user-agent" placeholder="{{ .defaultUserAgent }}" value="{{ .form.UserAgent }}">
+
<label for="form-scraper-rules">{{ t "Scraper Rules" }}</label>
<input type="text" name="scraper_rules" id="form-scraper-rules" value="{{ .form.ScraperRules }}">