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
Max Redmond
412106c6b2
enabling xml unmarshaling rss and atom feeds
2018-11-05 12:07:12 -08: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
2017-11-07 20:59:58 -08:00
Eddie Scholtz
e0fc054fec
Omit Atom feed Author from xml when it is not specified.
2016-02-06 20:43:20 -08:00
Kamil Kisiel
56510aba8f
rename int_Length -> intLength
2015-08-09 19:14:57 -07:00
Paul Petring
e2bd4557b0
RssEnclosure.Length remains string to not break the API
...
code now gofmt formatted
2015-08-08 17:50:08 +02:00
Paul Petring
a79072d462
fixed tests for cases without enclosure
2015-08-01 15:48:43 +02:00
Paul Petring
57321cf425
added atom enclosure
2015-05-19 23:09:43 +02:00
James Gregory
bbabaefd18
Add optional xmlns to AtomEntry
...
This allows individual entries to be marshalled to XML with a valid
xmlns. It's optional so entries in a feed don't get an xmlns of
their own.
2013-10-01 18:35:10 +10:00
Jason Moiron
35a01ac849
rename syndicate -> feeds, paths jmoiron/syndicate -> gorilla/feeds
2013-01-18 16:30:37 -05:00
Jason Moiron
4cfde43c28
use Content by default in atom instead of Summary (via Description), change content to a struct and set Type to html
2013-01-17 14:01:00 -05:00
Jason Moiron
852dd01069
add the rest of the atom spec to the atom support, make the output tests actual tests instead of just outputting feeds and inspecting manually, add author back to AtomFeed
2013-01-16 21:58:09 -05:00
Jason Moiron
f89ed305d9
add copyright info, add ToXML support for RssFeed & AtomFeed (provided you only want to create those), hide more empty members of atom feed
2013-01-16 21:03:48 -05:00
Jason Moiron
09ecc7cb78
Make RssFeed the channel object, add a lot more fields to the underlying atom implementation
2013-01-16 20:53:51 -05:00
Jason Moiron
6788dd66c9
fix atom entry dates
2013-01-16 03:26:33 -05:00
Jason Moiron
9ab624fada
add item tests, fix author handling for atom entries
2013-01-16 03:13:24 -05:00
Jason Moiron
7b639e9ad5
initial rss 2.0 support
2013-01-16 01:49:38 -05:00
Jason Moiron
cc91ea60d1
fix some simple atom feed stuff and add some simple feed tests
2013-01-15 17:46:06 -05:00
Jason Moiron
4e6bcdd4bb
initial commit, general organization and likely broken atom implementation
2013-01-15 17:27:35 -05:00