109 Commits

Author SHA1 Message Date
video-prize-ranch 1e8d77fd48 Remove archive mode stuff 2022-12-11 15:09:36 -05:00
Matt Silverlock b60f215f72 archive mode 2022-12-09 10:58:56 -05:00
Jáchym Toušek 23a1360214 Optional RSS item link (#96) 2022-11-15 12:05:42 -05:00
davy wybiral 6f6e20dd39 fix JSONFeed Hubs (#74)
* fix JSONFeed Hubs

* Add JSONHub test

* fixed test output
2019-07-26 16:58:42 -07:00
Matt Silverlock 4eff0f5b76 Create config.yml (#73)
* Create config.yml

* Update config.yml

* Delete .travis.yml

* Update README.md

* Remove Go 1.7 due to slice.SortStable usage.
2019-06-26 21:13:59 -07:00
Naoki Kishi 2079b9bbce fix travis ci script v1.1.1 2019-03-21 16:30:42 -07:00
CodeLingo Bot 899df4f557 Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-02-20 15:33:07 -08:00
Matt Silverlock 8df78d284e Add stalebot config (#60)
* Add stalebot config
* Update and rename stale to stale.yml
2018-12-08 13:12:32 -08:00
Max Redmond 945e59e328 gofmt changes 2018-11-05 12:07:12 -08:00
Max Redmond 9dd2db11cd adding a test for atom feeds as well 2018-11-05 12:07:12 -08:00
Max Redmond 8c53fb827b adding a test for rss consumption 2018-11-05 12:07:12 -08:00
Max Redmond 412106c6b2 enabling xml unmarshaling rss and atom feeds 2018-11-05 12:07:12 -08:00
dewey 762f7414cb Fix bug where date_modified empty if no created timestamp 2018-08-19 08:51:41 -07:00
Jesse Donat ce4bf005ad Corrects the test 2018-08-18 10:58:06 -07:00
Jesse Donat e9227422ad Use item content as JSON content_html 2018-08-18 10:58:06 -07:00
Kamil Kisiel 5f6928813b Add Sort function to Feed.
Fixes #54 and #55
2018-08-17 23:01:44 -07:00
Matt Silverlock 96fc32f661 Add AUTHORS file; update LICENSE attr. 2018-06-17 17:52:43 -07:00
Sean Enck 0f9cac2220 [docs] Fix missing quote on the 'feeds' import for the example (#49)
Closes gorilla/site#9
2018-06-17 16:54:33 -07:00
Kamil Kisiel 111d2b83d3 Update .travis.yml with 1.8 as the minimum 2018-06-14 14:05:28 -07:00
Kamil Kisiel ffafbe12f3 Add Travis CI badge to README.md 2018-05-25 05:21:31 -07:00
Vabd 6edcbcd2d5 Update tests accordingly v1.1.0 2018-03-21 09:35:59 -07:00
Vabd 21f6865fa6 Bring Content next to Description + define namespace for content 2018-03-21 09:35:59 -07:00
Vabd 390b6ca98e Fix test + add test case for content 2018-03-21 09:35:59 -07:00
Vabd 087409c2e1 Improve content appending in item 2018-03-21 09:35:59 -07:00
Vabd 14ba03d14c Add content property for feed items 2018-03-21 09:35:59 -07:00
Gabriel Simmer 4b936b5221 [feature] Support feed item images (#41)
* Add support for podcast-centered tags
* Adding proper support for Enclosure and and Image tags, which didn't seem to generate properly (might have been a bug on my end but I'm not sure).
* Enclosure.Length from string to int
* Revert change from string to int for Enclosure length
* Accidently changed err == to != for enclosure & author
* Update README to reflect fork goals
* List of tags to implement
* fix RSS image when no Image is mentioned in the Feed
* do not assume that a Link with a field Type is an Enclosure
* expected tests
* better handling of enclosures
* fix package
* Fixes as requested
* Fix travis build error
v1.0.0
2017-11-07 20:59:58 -08:00
nlimpid b78e02c3f8 Fix the usage to get access to the underlying objects in the document 2017-09-27 21:50:43 -07:00
Matt Silverlock fa8f5548ee [feature] Add support for JSON Feed Version 1 2017-06-10 20:22:06 -07:00
Kevin Stock fd3c13502e Cleans up and adds missing godoc comments related to JSON Feed 2017-06-08 19:17:44 -07:00
Kevin Stock e4dba37571 Updates the receiver variable name for JSONFeed()
Previously the variable name was inconsistent with other uses
2017-06-08 19:14:17 -07:00
Kevin Stock 11d0717014 Updates docstring comments for JSON Feed methods 2017-06-04 21:22:09 -07:00
Kevin Stock a6111c9ae6 Updates the Travis CI testing matrix
Change requested by @elithrar to improve the Go versions tested against. 1.x will always point to the latest version. Master points to the latest rev, which is useful for identifying breaking changes in upcoming versions.
2017-06-04 21:10:05 -07:00
Kevin Stock 42dd470379 Adds links to the specifications for each syndication feed format
Change requested by @elithrar to add a link to the JSON Feed as it is a new specifications and package users are less likely to be familiar with it. It seemed appropriate at that point to link to all three specifications currently supported.
2017-06-04 21:03:50 -07:00
Kevin Stock 62f87e7532 Removes go versions 1.3, 1.4 and 1.5 from the Travis CI build 2017-06-04 17:50:49 -07:00
Kevin Stock e9747d9577 Adds support for JSON Feed Version 1
JSON Feed Version 1 specification: https://jsonfeed.org/version/1
2017-06-04 14:48:21 -07:00
Milan Aleksić 716510dd3f Update .travis.yml 2017-05-31 11:51:30 -07:00
Milan Aleksic d7974c3e26 Making Source field optional 2017-05-31 11:51:30 -07:00
Milan Aleksic b238132b07 trying to fix the build travis process of the upstream 2017-05-31 11:51:30 -07:00
Milan Aleksic 3dbbcacc14 support added for Source field in RSS 2017-05-31 11:51:30 -07:00
Matt Silverlock 441264de03 Merge pull request #30 from volker-fr/master
[refactor] Make Author example and test go vet compliant
2016-02-07 08:22:05 -08:00
Matt Silverlock fa5ce8da9a Merge pull request #31 from escholtz/omit-empty-atom-feed-author
[bugfix] Omit Author from Atom XML output when it is empty.
2016-02-07 08:09:34 -08:00
Eddie Scholtz e0fc054fec Omit Atom feed Author from xml when it is not specified. 2016-02-06 20:43:20 -08:00
Volker e91436642a Make Author example and test vet compliant
Using the example from the documentation will result in a warning for
unkeyed composite literals during a 'go vet' run
2016-02-06 20:07:22 -05:00
Matt Silverlock 30e5c6fc6d Merge pull request #28 from netroby/master
[bug] Change RSS time format to RFC1123Z for W3C validator
2015-11-23 12:50:53 +08:00
ZhiFeng Hu 0b6cae5672 Fixed rss test
Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-11-22 18:03:57 +08:00
Matt Silverlock 2761c77eb7 Merge pull request #29 from gorilla/update-travis-yml
[ci] Run go vet, gofmt and the race detector during tests.
2015-11-22 17:05:01 +08:00
Matt Silverlock ed5ab67a18 [fmt] gofmt'ed structs in test. 2015-11-22 16:59:23 +08:00
Matt Silverlock 7bcadec365 [ci] Run go vet, gofmt and the race detector during tests. 2015-11-22 16:28:37 +08:00
ZhiFeng Hu f3731b977a Update rss pubDate
Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-11-22 15:14:22 +08:00
ZhiFeng Hu 413fe3732e Update time format RFC1123
Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-11-22 15:07:34 +08:00