<feed xmlns='http://www.w3.org/2005/Atom'>
<title>crux/lib, branch master</title>
<subtitle>Crux is a wallpaper manager written in Perl
</subtitle>
<id>https://git.tilde.institute/andinus/crux/atom?h=master</id>
<link rel='self' href='https://git.tilde.institute/andinus/crux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/andinus/crux/'/>
<updated>2020-06-30T08:08:39Z</updated>
<entry>
<title>Remove URI::Encode dependency, fix $url encoding</title>
<updated>2020-06-30T08:08:39Z</updated>
<author>
<name>Andinus</name>
<email>andinus@nand.sh</email>
</author>
<published>2020-06-30T08:08:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/andinus/crux/commit/?id=10f63e16f6e78e453a07e221ac74ce3226ea3a9e'/>
<id>urn:sha1:10f63e16f6e78e453a07e221ac74ce3226ea3a9e</id>
<content type='text'>
Looks like query_keywords encodes the url itself so $url was being
double-encoded. Also, next time use URI::Escape instead - looks
better.
</content>
</entry>
<entry>
<title>Fix logical error in $url generation</title>
<updated>2020-06-30T07:02:26Z</updated>
<author>
<name>Andinus</name>
<email>andinus@nand.sh</email>
</author>
<published>2020-06-30T07:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/andinus/crux/commit/?id=8dd9f42bfae6bb62b93b91f9c47ff410b12fa58b'/>
<id>urn:sha1:8dd9f42bfae6bb62b93b91f9c47ff410b12fa58b</id>
<content type='text'>
This issue started with f3d1bc5f9d86300c42d6a57a9f60bd508bdf9bb4:

  Use URI to encode the url for random_search

  I'll use this for everything eventually. Before this search terms
  like "rocky mountains" would break, also segments, query_keywords
  makes it easier.

Now the problem was that query_keywords forms urls like
`?nature+water' which totally makes sense &amp; this is why it's logical
error. I want to form it in `?nature,water' format so first we use
`join' to form `nature,water' &amp; then use URI::Encode to encode it
correctly &amp; then use query_keywords to form $url.

We have to use URI::Encode because otherwise we would end up with same
problem that I tried fixing in
f3d1bc5f9d86300c42d6a57a9f60bd508bdf9bb4. "rocky mountains" would've
been seperated by space.

Now it's all good, every space will be encoded &amp; keywords will be
seperated by `,' which is what Unsplash Source wants.
</content>
</entry>
<entry>
<title>use URI to build $url</title>
<updated>2020-06-30T06:35:05Z</updated>
<author>
<name>Andinus</name>
<email>andinus@nand.sh</email>
</author>
<published>2020-06-30T06:35:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/andinus/crux/commit/?id=420a084a2d6d28b4ece2f369c881965fe5ea89b8'/>
<id>urn:sha1:420a084a2d6d28b4ece2f369c881965fe5ea89b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use URI to encode the url for random_search</title>
<updated>2020-06-17T13:49:09Z</updated>
<author>
<name>Andinus</name>
<email>andinus@nand.sh</email>
</author>
<published>2020-06-17T13:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/andinus/crux/commit/?id=f3d1bc5f9d86300c42d6a57a9f60bd508bdf9bb4'/>
<id>urn:sha1:f3d1bc5f9d86300c42d6a57a9f60bd508bdf9bb4</id>
<content type='text'>
I'll use this for everything eventually. Before this search terms like
"rocky mountains" would break, also segments, query_keywords makes it
easier.
</content>
</entry>
<entry>
<title>Add UnsplashSource.pm</title>
<updated>2020-06-17T11:29:45Z</updated>
<author>
<name>Andinus</name>
<email>andinus@nand.sh</email>
</author>
<published>2020-06-17T11:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/andinus/crux/commit/?id=430e6c16eb07531df436a42e34a667477c3e469a'/>
<id>urn:sha1:430e6c16eb07531df436a42e34a667477c3e469a</id>
<content type='text'>
</content>
</entry>
</feed>
