aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add OPML import functionality via CLIopml-import-cligoogle-labs-jules[bot]3 days1-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This change introduces the ability to import feeds from an OPML file using a command-line interface. Key features: - New `--import-opml` (or `-I`) flag in `main.go` to specify the OPML file path. - The `importer.ImportOPML` function in `importer/importer.go` handles the parsing of the OPML file (using `github.com/gilliek/go-opml`) and addition of new feeds to the database. - Recursive processing of OPML outlines allows for importing feeds nested within folders. - Feeds are identified by their XML URL; existing feeds with the same URL are skipped to avoid duplicates. - Title extraction prioritizes the `title` attribute, then the `text` attribute of an outline, and falls back to "Untitled Feed". Comprehensive unit tests have been added in `importer/importer_test.go` to verify: - Correct parsing and importing of various OPML structures. - Proper handling of duplicate feeds (skipping). - Correct title extraction logic. - Database interaction and cleanup.
* update dependenciesHEADmasterAdam Mathes2024-04-111-10/+25
|
* update dependenciesAdam Mathes2023-04-101-10/+3
|
* update dependenciesAdam Mathes2021-09-281-9/+11
|
* upgrade dependenciesAdam Mathes2020-05-251-11/+16
|
* upgrade to blackfriday v2 dependencyAdam Mathes2019-06-091-1/+2
|
* preliminary go mod support, ensure blackfriday v1 instead of v2Adam Mathes2019-06-091-0/+25