diff options
Diffstat (limited to 'app/views/helpers/export/opml.phtml')
| -rw-r--r-- | app/views/helpers/export/opml.phtml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app/views/helpers/export/opml.phtml b/app/views/helpers/export/opml.phtml index eecfc5d23..c37d8c7c4 100644 --- a/app/views/helpers/export/opml.phtml +++ b/app/views/helpers/export/opml.phtml @@ -82,8 +82,19 @@ function feedsToOutlines(array $feeds, bool $excludeMutedFeeds = false): array { $outline['frss:cssFullContent'] = htmlspecialchars_decode($feed->pathEntries(), ENT_QUOTES); } + if (!empty($feed->attributeArray('path_entries_conditions'))) { + $conditions = ''; + foreach ($feed->attributeArray('path_entries_conditions') as $condition) { + if (is_string($condition)) { + $conditions .= $condition . "\n"; + } + } + $conditions = trim($conditions); + $outline['frss:cssFullContentConditions'] = $conditions; + } + if ($feed->attributeString('path_entries_filter') != '') { - $outline['frss:cssFullContentFilter'] = $feed->attributeString('path_entries_filter'); + $outline['frss:cssContentFilter'] = $feed->attributeString('path_entries_filter'); } $curl_params = $feed->attributeArray('curl_params'); |
