aboutsummaryrefslogtreecommitdiffstats
path: root/src/build_rss.rs
AgeCommit message (Collapse)Author
2018-04-15Add license (GNU GPLv3+)Teddy Wing
2018-04-15build_rss(write_feed): Set time to a second before midnightTeddy Wing
Previously we used midnight, but this meant that the entire day specified by `end_date` would be excluded, which is counterintuitive. Instead use a second before midnight to include the rest of that day.
2018-04-15Change import interface to `meetup::client::Client`Teddy Wing
Instead of doing `use meetup::client::Client`, do `use meetup::Client`. Makes it less redundant.
2018-04-15build_rss(write_feed): Automatically handle date formattingTeddy Wing
* Take a date formatted in `%Y-%m-%d` and append the extra `THH:MM:SS` that the Meetup API requires. We'll just be taking a regular string from a user-inputted command line argument instead of a real date type because it's easier and simpler. * Use the name `end_date` to distinguish it from the `end_date_range` parameter used by the API.
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-14Pass `find_upcoming_events` parameters along through the programTeddy Wing
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-13Output a feed to STDOUT when running the executableTeddy Wing
* Add a new module that contains a "main" library function that does the integration for generating the feed and outputting it to STDOUT. * Call this function from `main()` and have it output a real feed.