aboutsummaryrefslogtreecommitdiffstats
path: root/src/meetup_rss.rs
AgeCommit message (Collapse)Author
2018-04-15generate(): Add a real title and description to the feed channelTeddy Wing
The description isn't very descriptive, but I'm a little tired right now.
2018-04-15Add 'error-chain' to the main libraryTeddy Wing
Use 'error-chain' here too. Seems like this will be a pretty useful library. Change the include in the 'meetup' `lib.rs` to allow us to export `meetup::Error` instead of `meetup::errors::Error` to be consistent with the error types of the other third-party libraries we're using.
2018-04-13meetup_rss(write): Use the result from `Channel#write_to`Teddy Wing
I didn't pay attention when I wrote this, but that method actually returns a `Result`, so we need to use it.
2018-04-13meetup_rss(write): Remove `mut` from the `stdout` handleTeddy Wing
I had copied this from an example in the docs, but the compiler tells me the `mut` isn't needed. Cool.
2018-04-13meetup_rss: Add a `write` function to write a channel to STDOUTTeddy Wing
2018-04-13meetup(generate): Improve test and take a reference argumentTeddy Wing
* Take a `Vec` reference instead of an object. This is the result of messing around with calling the function in the test. * Update the test to actually make assertions on the result of the function.
2018-04-13Add a function to build an RSS `Channel` object from a list of `Event`sTeddy Wing
This uses the RSS crate to build a new channel with items corresponding to the given `Event`s. It needs to be fleshed out a little, but this is the basic idea.