aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add OPML import functionality via CLIopml-import-cligoogle-labs-jules[bot]3 days1-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix mem leak (maybe) in feed crawler, re-enable bg crawlAdam Mathes2018-12-161-2/+2
|
* add html export to command line helpAdam Mathes2018-09-191-1/+1
|
* bg crawl disabled, still unstableAdam Mathes2018-07-081-1/+1
|
* fix minutes flagAdam Mathes2018-07-071-1/+4
|
* yaml config file, cmd line overridesAdam Mathes2018-07-071-11/+33
|
* simpler background crawler attempt #2Adam Mathes2018-07-071-14/+2
|
* try background crawler againAdam Mathes2018-07-061-24/+23
|
* disable autocrawl since it seems brokenAdam Mathes2018-07-051-22/+26
|
* documentation updatesAdam Mathes2018-07-041-3/+2
|
* crawl feeds in background while web ui runsAdam Mathes2018-07-041-6/+24
|
* db -> database optionAdam Mathes2018-07-041-1/+1
|
* enable feed export from web interfaceAdam Mathes2018-07-041-9/+7
|
* wip, simplificationAdam Mathes2018-07-041-12/+12
|
* wip, simplificationsAdam Mathes2018-07-041-16/+38
|
* sqlite3 supportAdam Mathes2018-06-121-1/+1
|
* debug cleanupAdam Mathes2018-04-291-1/+5
|
* refactor exporter, add json/opml export formatsAdam Mathes2018-04-081-25/+7
|
* opml exportAdam Mathes2018-04-071-2/+14
|
* Switch from default go flag lib to plfag for UNIX/POSIX style flagsAdam Mathes2017-10-211-16/+16
| | | | | | | | | | | ie $ neko --serve $ neko -s $ neko --config=/etc/neko.conf --serve $ neko -c /etc/neko.conf -s $ neko --update --verbose $ neko -uv
* silent by default, verbose option added. -feeds cmd line option addedAdam Mathes2017-02-251-11/+24
|
* fix cmd line for newfeedAdam Mathes2017-02-201-1/+1
|
* switch to single binary (neko) with standard flags. update config file to ↵Adam Mathes2017-02-201-39/+24
| | | | use nicer names
* change to personal namespaceAdam Mathes2017-02-071-6/+6
|
* fix includesAdam Mathes2017-02-021-15/+9
|
* neko v2 initial commitAdam Mathes2017-01-231-0/+63