Updates the archive generation to support the new folder structure: archives/<digest-slug>/<date>.html. Changes: - Updated 'OverviewTemplateData' to include 'DigestTitle' and 'DigestSlug'. - Updated 'ArchiveService' to use 'DigestSlug' in file paths. - Updated 'DigestService', 'View', and 'Processor' to propagate digest title/slug. - Updated tests to match new structure and signatures.
11 lines
347 B
Go
11 lines
347 B
Go
package services
|
|
|
|
import (
|
|
"miniflux-digest/internal/config"
|
|
"miniflux-digest/internal/models"
|
|
)
|
|
|
|
type DigestService interface {
|
|
BuildDigestData(entries []*models.Entry, icons map[int64]*models.FeedIcon, view string, minifluxHost string, digestHost string, categories []config.ConfigCategory, digestTitle string) *models.OverviewTemplateData
|
|
}
|