gofeed icon indicating copy to clipboard operation
gofeed copied to clipboard

Support URI field for Author in Atom Feed

Open imirzadeh opened this issue 2 years ago • 3 comments

Expected behavior

According to the specifications, author in Atom can have uri. This is useful for blog platforms where in the returned xml does not return html link to the webpage and instead returns author's profile/webpage. Here's an example

Actual behavior

The Person in gofeed has only name and email. But for Atom feeds, it needs uri as well.

imirzadeh avatar Feb 25 '23 08:02 imirzadeh

@cristoper before I check on this, did your latest change address this? I briefly saw some handling of URI components in Atom, but wasn't sure if it was unrelated.

mmcdole avatar Feb 28 '23 20:02 mmcdole

No, this is unrelated.

It looks like atom.Person does have a URI field, but gofeed.Person does not.

cristoper avatar Mar 01 '23 01:03 cristoper

Alright, I don't see an issue with us adding URL to gofeed.Person and map atom.Person.URI to it.

mmcdole avatar Mar 25 '23 16:03 mmcdole