<feed xmlns='http://www.w3.org/2005/Atom'>
<title>meetup-find-events-rss/src, branch master</title>
<subtitle>Generate an RSS feed from upcoming Meetup events</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/'/>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2018-04-15T14:52:08+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T14:52:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=4ba028e268242b3b5d62f54cbcda27e21e3f0b8b'/>
<id>4ba028e268242b3b5d62f54cbcda27e21e3f0b8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build_rss(write_feed): Set time to a second before midnight</title>
<updated>2018-04-15T13:02:51+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T13:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=0e53abcc0588cc7675190440698ba39ee724691a'/>
<id>0e53abcc0588cc7675190440698ba39ee724691a</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change import interface to `meetup::client::Client`</title>
<updated>2018-04-15T12:51:28+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T12:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=2fce566e57cedaf6f089ce91d06af4ffbd40e07f'/>
<id>2fce566e57cedaf6f089ce91d06af4ffbd40e07f</id>
<content type='text'>
Instead of doing `use meetup::client::Client`, do `use meetup::Client`.
Makes it less redundant.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of doing `use meetup::client::Client`, do `use meetup::Client`.
Makes it less redundant.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass `latitude`, `longitude`, `end_date` to `build_rss::write_feed`</title>
<updated>2018-04-15T12:41:55+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T12:41:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=af3d863d4146f819ec5a0cc9fd479e4137b9dba9'/>
<id>af3d863d4146f819ec5a0cc9fd479e4137b9dba9</id>
<content type='text'>
Make these values user-modifiable finally.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make these values user-modifiable finally.
</pre>
</div>
</content>
</entry>
<entry>
<title>Always print help message if `-h` or `--help` flags passed</title>
<updated>2018-04-15T12:30:06+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T12:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=9718d2477026b4695a508bd40097b54f8ca6768e'/>
<id>9718d2477026b4695a508bd40097b54f8ca6768e</id>
<content type='text'>
Since we've set up required arguments, 'getopts' fails fast and
complains about missing required args even if the only one used was `-h`
or `--help`. Why should you care about required arguments? You wanted
help in the first place, how are you going to know?

Thankfully, this message from 'prasannavl' pointed me in the right
direction:
https://github.com/rust-lang-nursery/getopts/issues/46#issuecomment-343842947

If there's an option parse failure, we can just look for the help flags
in the args vec to see if we should display the help.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we've set up required arguments, 'getopts' fails fast and
complains about missing required args even if the only one used was `-h`
or `--help`. Why should you care about required arguments? You wanted
help in the first place, how are you going to know?

Thankfully, this message from 'prasannavl' pointed me in the right
direction:
https://github.com/rust-lang-nursery/getopts/issues/46#issuecomment-343842947

If there's an option parse failure, we can just look for the help flags
in the args vec to see if we should display the help.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `latitude`, `longitude`, `end-date` command line arguments</title>
<updated>2018-04-15T12:28:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T12:28:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=fc614ba9d8e60e11f15fcfb883b27e3f3cf010b3'/>
<id>fc614ba9d8e60e11f15fcfb883b27e3f3cf010b3</id>
<content type='text'>
These will be passed to `build_rss::write_feed`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These will be passed to `build_rss::write_feed`.
</pre>
</div>
</content>
</entry>
<entry>
<title>meetup_rss: Use HTML formatting for description</title>
<updated>2018-04-15T11:51:13+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T11:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=10be3d81230deb8952897b3ba41e415388377ffc'/>
<id>10be3d81230deb8952897b3ba41e415388377ffc</id>
<content type='text'>
Well, turns out that the RSS item `description` field uses HTML, so my
`\n`s didn't actually change the formatting in a real RSS reader. Use
HTML tag formatting instead to get our description header with date and
venue to look right.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Well, turns out that the RSS item `description` field uses HTML, so my
`\n`s didn't actually change the formatting in a real RSS reader. Use
HTML tag formatting instead to get our description header with date and
venue to look right.
</pre>
</div>
</content>
</entry>
<entry>
<title>meetup_rss(generate): Don't include newlines in description if empty</title>
<updated>2018-04-15T11:31:56+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T11:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=f47ecec40460292e66def0bfeb048dbc12301176'/>
<id>f47ecec40460292e66def0bfeb048dbc12301176</id>
<content type='text'>
If either the description or both the date &amp; time and venue were empty,
a couple of newlines would unnecessarily be added to the `Item`
description. This gets rid of them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If either the description or both the date &amp; time and venue were empty,
a couple of newlines would unnecessarily be added to the `Item`
description. This gets rid of them.
</pre>
</div>
</content>
</entry>
<entry>
<title>meetup_rss: Create `join_nonempty` function</title>
<updated>2018-04-15T11:30:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T11:30:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=59f47cadefafc126b9c215c511f0fc5adeeabf34'/>
<id>59f47cadefafc126b9c215c511f0fc5adeeabf34</id>
<content type='text'>
Move the join logic from `description_header` into a new function so we
can reuse it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the join logic from `description_header` into a new function so we
can reuse it.
</pre>
</div>
</content>
</entry>
<entry>
<title>meetup_rss(description_header): Improve string join section</title>
<updated>2018-04-15T11:15:13+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-15T11:15:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/meetup-find-events-rss/commit/?id=3034dfad17ef8f35d68833fade6e4c1fbad15446'/>
<id>3034dfad17ef8f35d68833fade6e4c1fbad15446</id>
<content type='text'>
Instead of the verbose and unclear appending, use a `join` to add the
newline. Filter out empty strings to ensure the newline doesn't get
added if any of `where` or `place` are empty.

Needed to convert the slice strings to owned strings to deal with this
error:

    error[E0599]: no method named `join` found for type `std::vec::Vec&lt;&amp;std::string::String&gt;` in the current scope
      --&gt; src/meetup_rss.rs:92:10
       |
    92 |         .join("\n")
       |          ^^^^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of the verbose and unclear appending, use a `join` to add the
newline. Filter out empty strings to ensure the newline doesn't get
added if any of `where` or `place` are empty.

Needed to convert the slice strings to owned strings to deal with this
error:

    error[E0599]: no method named `join` found for type `std::vec::Vec&lt;&amp;std::string::String&gt;` in the current scope
      --&gt; src/meetup_rss.rs:92:10
       |
    92 |         .join("\n")
       |          ^^^^
</pre>
</div>
</content>
</entry>
</feed>
