diff options
| author | 2024-12-10 13:50:44 +0100 | |
|---|---|---|
| committer | 2024-12-10 13:50:44 +0100 | |
| commit | 33fd07f6f26310d4806077cc87bcdf9b8b940e35 (patch) | |
| tree | 97e49bc0769e0f5727a71f952b0c2b4953123244 /app/views/helpers/feed/update.phtml | |
| parent | 88eef9832b7325158a913e203846e5a57829f307 (diff) | |
Conditional retrieval
fix https://github.com/FreshRSS/FreshRSS/issues/6149
Diffstat (limited to 'app/views/helpers/feed/update.phtml')
| -rw-r--r-- | app/views/helpers/feed/update.phtml | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index b6ae16f34..f58d46d0f 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -265,7 +265,8 @@ <div class="form-group"> <label class="group-name" for="filteractions_read"><?= _t('conf.reading.read.when') ?></label> <div class="group-controls"> - <textarea name="filteractions_read" id="filteractions_read" class="w100"><?php + <textarea name="filteractions_read" id="filteractions_read" class="w100" + placeholder="<?= _t('gen.short.blank_to_disable') ?>"><?php foreach ($this->feed->filtersAction('read') as $filterRead) { echo $filterRead->getRawInput(), PHP_EOL; } @@ -646,7 +647,7 @@ </fieldset> <fieldset> - <legend><?= _t('sub.feed.advanced') ?></legend> + <legend><?= _t('sub.feed.content_retrieval') ?></legend> <div class="form-group"> <label class="group-name" for="path_entries"><?= _t('sub.feed.css_path') ?></label> <div class="group-controls"> @@ -661,6 +662,22 @@ </div> <div class="form-group"> + <label class="group-name" for="path_entries_condition"><?= _t('sub.feed.path_entries_condition') ?></label> + <div class="group-controls"> + <textarea class="w100" id="path_entries_condition" name="path_entries_condition" + rows="3" cols="64" spellcheck="false" placeholder="<?= _t('gen.short.blank_to_disable') ?>"><?php + foreach ($this->feed->attributeArray('path_entries_condition') ?? [] as $condition) { + echo htmlspecialchars($condition, ENT_NOQUOTES, 'UTF-8'), PHP_EOL; + } + ?></textarea> + <p class="help"><?= _i('help') ?> <?= _t('sub.feed.filteractions.help') ?></p> + </div> + </div> + </fieldset> + + <fieldset> + <legend><?= _t('sub.feed.advanced') ?></legend> + <div class="form-group"> <?php $path_entries_filter = Minz_Helper::htmlspecialchars_utf8($this->feed->attributeString('path_entries_filter') ?? ''); ?> |
