aboutsummaryrefslogtreecommitdiff
path: root/internal/reader/rss/atom.go
blob: 27dade478af8968cc176d6315d7ed24c1b8f7a17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package rss // import "miniflux.app/v2/internal/reader/rss"

import (
	"miniflux.app/v2/internal/reader/atom"
)

type AtomAuthor struct {
	Author atom.AtomPerson `xml:"http://www.w3.org/2005/Atom author"`
}

func (a *AtomAuthor) PersonName() string {
	return a.Author.PersonName()
}

type AtomLinks struct {
	Links []*atom.AtomLink `xml:"http://www.w3.org/2005/Atom link"`
}