Repository navigation
feat(import): accept .txt URL lists alongside OPML/JSON/ZIP - #8818
Merged
Merged
Conversation
Detects .txt by extension and wraps the URL list into a minimal OPML document so the existing import pipeline handles dedup, categories and feed limits unchanged. Blank lines, `#` comments and a UTF-8 BOM are skipped; lines that don't parse as URLs are logged and dropped without aborting the batch. Works through both `cli/import-for-user.php` and the web import form.
polybjorn
force-pushed
the
feat/import-txt-urls
branch
from
May 11, 2026 21:20
f1cf177 to
2c11c38
Compare
polybjorn
marked this pull request as ready for review
May 11, 2026 21:22
Member
|
I have made a couple of minor changes. Please double-check |
Contributor
Author
|
Pulled both commits and re-tested locally - BOM stripping, comments, blanks, invalid URLs, and |
Alkarex
added a commit
that referenced
this pull request
May 15, 2026
Discard lines starting with `<` for e.g. HTML/XML comments, tags Compatibility with TXT format of https://atlasflux.saynete.net Follow-up of #8818
doonga
pushed a commit
to greyrock-labs/home-ops
that referenced
this pull request
May 20, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | patch | `1.29.0-alpine` → `1.29.1-alpine` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/34) for more information. --- ### Release Notes <details> <summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary> ### [`v1.29.1`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-05-20-FreshRSS-1291) [Compare Source](FreshRSS/FreshRSS@1.29.0...1.29.1) - Features - Accept `.txt` import of feed URLs in additional to e.g. OPML [#​8818](FreshRSS/FreshRSS#8818), [#​8837](FreshRSS/FreshRSS#8837) - New CLI for automatic periodic SQLite export with retention [#​8819](FreshRSS/FreshRSS#8819) - More feed info: last received date, publication date [#​8799](FreshRSS/FreshRSS#8799) - Bug fixing - Fix cookies with some browsers [#​8867](FreshRSS/FreshRSS#8867) - Fix search in shared user queries with empty results [#​8863](FreshRSS/FreshRSS#8863) - Fix XML errors with loading invalid OPML in `lib_opml` library [#​8652](FreshRSS/FreshRSS#8652), [#​8853](FreshRSS/FreshRSS#8853), [lib\_opml#48](https://framagit.org/marienfressinaud/lib_opml/-/merge_requests/48), [lib\_opml#51](https://framagit.org/marienfressinaud/lib_opml/-/merge_requests/51) - Fix ensure maximum number of feeds also with Dynamic OPML [#​8832](FreshRSS/FreshRSS#8832) - Fix click mark as read [#​8817](FreshRSS/FreshRSS#8817) - UI - Improve browser compatibility to keep mobile navigation at the bottom [#​8833](FreshRSS/FreshRSS#8833) - Improve support of older/simpler Web browsers/engines such as SeaMonkey [#​8810](FreshRSS/FreshRSS#8810), [#​8811](FreshRSS/FreshRSS#8811), [#​8813](FreshRSS/FreshRSS#8813), - Improve *Swage* theme [#​8842](FreshRSS/FreshRSS#8842) - Rename *Nord theme* to *Nord* [#​8805](FreshRSS/FreshRSS#8805) - Replace GIF spinner by CSS spinner [#​8804](FreshRSS/FreshRSS#8804), [#​8812](FreshRSS/FreshRSS#8812) - Various UI and style improvements: [#​8800](FreshRSS/FreshRSS#8800), [#​8816](FreshRSS/FreshRSS#8816), - I18n - Improve Brazilian Portuguese [#​8846](FreshRSS/FreshRSS#8846) - Improve Dutch [#​8868](FreshRSS/FreshRSS#8868) - Improve German [#​8840](FreshRSS/FreshRSS#8840) - Improve Polish [#​8854](FreshRSS/FreshRSS#8854) - Improve Russian [#​8861](FreshRSS/FreshRSS#8861) - Improve Traditional Chinese [#​8849](FreshRSS/FreshRSS#8849) - Misc. - Update dev dependencies [#​8858](FreshRSS/FreshRSS#8858), [#​8864](FreshRSS/FreshRSS#8864) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xODIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE4Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.greyrock.io/greyrock-labs/home-ops/pulls/88
This was referenced Jul 16, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds plain-text URL lists as a recognised import format. Files with a
.txtextension are wrapped into an OPML document and handed to the existing OPML import path, so dedup, category assignment and feed limits work the same as they do for OPML. Available through bothcli/import-for-user.phpand the web import form.Reworks #5268 along the lines suggested in that thread: no new CLI file, integrated into
import-for-user.phpand the web form, detected by extension.Format
One URL per line. Blank lines and
#comments are skipped. A leading UTF-8 BOM is stripped. CRLF and LF both work. Lines that don't parse as a URL are logged and skipped; the rest are imported.Test plan
Tested on a live instance (SQLite, PHP 8.5):
$isCli = false): warnings go to the user log file instead of stderrLibOpml::parseStringwith&,",<,>in URLs intactcomposer run-script phpcs,phpstanandphpunit(624 tests) pass