subscription.go 1015 B

1234567891011121314151617181920212223242526272829303132
  1. // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
  2. // SPDX-License-Identifier: Apache-2.0
  3. package opml // import "miniflux.app/v2/internal/reader/opml"
  4. // subcription represents a feed that will be imported or exported.
  5. type subcription struct {
  6. Title string
  7. SiteURL string
  8. FeedURL string
  9. CategoryName string
  10. Description string
  11. // Miniflux-specific feed settings
  12. ScraperRules string
  13. RewriteRules string
  14. UrlRewriteRules string
  15. BlocklistRules string
  16. KeeplistRules string
  17. BlockFilterEntryRules string
  18. KeepFilterEntryRules string
  19. UserAgent string
  20. Crawler bool
  21. IgnoreHTTPCache bool
  22. FetchViaProxy bool
  23. Disabled bool
  24. NoMediaPlayer bool
  25. HideGlobally bool
  26. AllowSelfSignedCertificates bool
  27. DisableHTTP2 bool
  28. IgnoreEntryUpdates bool
  29. }