Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat: Add OPML import functionality via CLIopml-import-cli | google-labs-jules[bot] | 3 days | 1 | -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 crawl | Adam Mathes | 2018-12-16 | 1 | -2/+2 |
| | |||||
* | add html export to command line help | Adam Mathes | 2018-09-19 | 1 | -1/+1 |
| | |||||
* | bg crawl disabled, still unstable | Adam Mathes | 2018-07-08 | 1 | -1/+1 |
| | |||||
* | fix minutes flag | Adam Mathes | 2018-07-07 | 1 | -1/+4 |
| | |||||
* | yaml config file, cmd line overrides | Adam Mathes | 2018-07-07 | 1 | -11/+33 |
| | |||||
* | simpler background crawler attempt #2 | Adam Mathes | 2018-07-07 | 1 | -14/+2 |
| | |||||
* | try background crawler again | Adam Mathes | 2018-07-06 | 1 | -24/+23 |
| | |||||
* | disable autocrawl since it seems broken | Adam Mathes | 2018-07-05 | 1 | -22/+26 |
| | |||||
* | documentation updates | Adam Mathes | 2018-07-04 | 1 | -3/+2 |
| | |||||
* | crawl feeds in background while web ui runs | Adam Mathes | 2018-07-04 | 1 | -6/+24 |
| | |||||
* | db -> database option | Adam Mathes | 2018-07-04 | 1 | -1/+1 |
| | |||||
* | enable feed export from web interface | Adam Mathes | 2018-07-04 | 1 | -9/+7 |
| | |||||
* | wip, simplification | Adam Mathes | 2018-07-04 | 1 | -12/+12 |
| | |||||
* | wip, simplifications | Adam Mathes | 2018-07-04 | 1 | -16/+38 |
| | |||||
* | sqlite3 support | Adam Mathes | 2018-06-12 | 1 | -1/+1 |
| | |||||
* | debug cleanup | Adam Mathes | 2018-04-29 | 1 | -1/+5 |
| | |||||
* | refactor exporter, add json/opml export formats | Adam Mathes | 2018-04-08 | 1 | -25/+7 |
| | |||||
* | opml export | Adam Mathes | 2018-04-07 | 1 | -2/+14 |
| | |||||
* | Switch from default go flag lib to plfag for UNIX/POSIX style flags | Adam Mathes | 2017-10-21 | 1 | -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 added | Adam Mathes | 2017-02-25 | 1 | -11/+24 |
| | |||||
* | fix cmd line for newfeed | Adam Mathes | 2017-02-20 | 1 | -1/+1 |
| | |||||
* | switch to single binary (neko) with standard flags. update config file to ↵ | Adam Mathes | 2017-02-20 | 1 | -39/+24 |
| | | | | use nicer names | ||||
* | change to personal namespace | Adam Mathes | 2017-02-07 | 1 | -6/+6 |
| | |||||
* | fix includes | Adam Mathes | 2017-02-02 | 1 | -15/+9 |
| | |||||
* | neko v2 initial commit | Adam Mathes | 2017-01-23 | 1 | -0/+63 |