Skip to content

Tags: mmcdole/gofeed

Tags

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Atom: use correct xml:base for decoded elements (#222)

* Atom: use correct xml:base for decoded elements

In order to keep tracking xml:base correctly, the goxpp's
`DecodeElement` pops the BaseStack if the start element added a base (if
any).

That means the atom parser needs keep track of the base *before* calling
`DecodeElement` to use for resolving relative URLs within the decoded
element.

Without this fix, elements with xml:base attributes will be erroneously
resolved with the parent xml:base.

* Depend on updated goxpp version without xml:base bug

* Resolve xml:base URLs without switching out the BaseStack

This provides an equivalent fix that doesn't do any inelegant swapping
out of the BaseStack. It also doesn't change `goxpp`'s public API by
essentially copying `XmlBaseResolveUrl` to `gofeed`.

v1.2.1

Toggle v1.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Make Parser thread-safe (use new goxpp's base:xml state) (#202)

* Add a test to detect race conditions with Parser

* Make Parser thread-safe (use new goxpp's base:xml state)

This changeset implements xml:base resolution based on state maintained
by the goxxp parser instead of using a shared urlStack. This allows
Parser to be safely used concurrently.

Depends on: mmcdole/goxpp#9

To test:
`go test -race`

* Depend on goxpp v1.1.0

Required for new thread-safe xml:base handling.

* Fix ResolveHTML

I had changed the name of UrlStack to BaseStack in the goxxp
implementation.

v1.2.0

Toggle v1.2.0's commit message
Support multiple link tags in both rss channel, items and in the univ…

…ersal feed.

v1.1.3

Toggle v1.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Ability to parse custom fields in rss that are not part of the spec (#…

…177)

v1.1.2

Toggle v1.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Support multiple links (#164)

* Add Feed.Links

* Update tests, don't create empty list

* Use same rel logic for RSS atom extensions

* Support for JSON feed

* Fix invalid JSON and run `go mod tidy`

* Fix tests, don't return empty strings

v1.1.1

Toggle v1.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Force published field (#147)

* Force published field

When an atom item only have updated field, use it to fill published.

- Less function is using published field, it has to always been
populated.
- Simplify code when using both RSS and Atom feeds.

This fix #146

* Rename updated to published

following @Necoro comment

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Follow up to #150: Added support for JSON feed (#154)

* Added the structure for JSON Feed

* Updated package name of json and added parser and test wrapper

* Added tests for sample json feed parser

* Added detector for feed type json

* Removed unwated dependencies

* Added parser and empty translator for json feeds

* Added translator functions for json feed

* Added test for json translator

* Added tests for content text and banner image

* Added tests for invalid feed and string output

* Added tests for json in parser

* Updated README

* Fixed REAME formatting

* check for xml first

* update dependencies

Co-authored-by: Sudhanshu Raheja <[email protected]>

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add sort.Interface implementation for Feed (#141)

Order Feed.Items by oldest to newest publish time.

v1.0.0-beta2

Toggle v1.0.0-beta2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix broken image

v1.0.0-beta

Toggle v1.0.0-beta's commit message
Fix broken atom test