2024-03-12 04:43:14 +01:00
|
|
|
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
package rss // import "miniflux.app/v2/internal/reader/rss"
|
|
|
|
|
2024-03-16 02:04:24 +01:00
|
|
|
import (
|
|
|
|
"miniflux.app/v2/internal/reader/atom"
|
|
|
|
)
|
2024-03-12 04:43:14 +01:00
|
|
|
|
|
|
|
type AtomAuthor struct {
|
2024-03-16 02:04:24 +01:00
|
|
|
Author atom.AtomPerson `xml:"http://www.w3.org/2005/Atom author"`
|
2024-03-12 04:43:14 +01:00
|
|
|
}
|
|
|
|
|
2024-03-16 02:04:24 +01:00
|
|
|
func (a *AtomAuthor) PersonName() string {
|
|
|
|
return a.Author.PersonName()
|
2024-03-12 04:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type AtomLinks struct {
|
2024-03-16 02:04:24 +01:00
|
|
|
Links []*atom.AtomLink `xml:"http://www.w3.org/2005/Atom link"`
|
2024-03-12 04:43:14 +01:00
|
|
|
}
|