feat(datasource): add RSS feed connector with full-text ingestion

Enable private RSS feeds as a knowledge base data source with custom
headers, article body fetching, and Markdown output for incremental sync.
This commit is contained in:
wizardchen
2026-06-23 14:58:45 +08:00
committed by lyingbug
parent 94ce8fedb1
commit e40ad802d7
21 changed files with 1328 additions and 131 deletions
+8
View File
@@ -53,6 +53,10 @@ func (r *fakeDataSourceRepo) Update(_ context.Context, ds *types.DataSource) err
return nil
}
func (r *fakeDataSourceRepo) UpdateSyncState(ctx context.Context, ds *types.DataSource) error {
return r.Update(ctx, ds)
}
func (r *fakeDataSourceRepo) Delete(_ context.Context, id string) error {
r.mu.Lock()
defer r.mu.Unlock()
@@ -117,6 +121,10 @@ func (r *fakeSyncLogRepo) Update(_ context.Context, log *types.SyncLog) error {
return nil
}
func (r *fakeSyncLogRepo) UpdateResult(ctx context.Context, log *types.SyncLog) error {
return r.Update(ctx, log)
}
func (r *fakeSyncLogRepo) CancelPendingByDataSource(_ context.Context, dsID string) error {
return nil
}