I had an idea to create an RSS feed with a selection of questions, the feed item would include only the question and would link to a website to with the questions and answers. This way you don't have to avoid reading the answer first. My primary aim for this was using it to help me study Japanese, I thought that having a short question on an RSS feed on my phone would be a useful way to do a little bit of studying throughout the day.
This was the first time I had looked at creating an RSS feed so that was something new, I'm sure there are plenty of things out there that can do it but I had a method in mind when I started. I was to use a small home server I have (I'm going to speak more about that in a future post, kurohako is the named used) and host my own website. I did get it setup with a domain name using http://www.dyndns.com/ and it mostly worked for what I wanted it to do.
But for some reason the RSS client I tried, http://www.feedreader.com/ , sometimes missed items. If I deleted the feed and created it again I was able to see all items. So that was one of the reason I have decided to stop developing this solution and go onto something different.
My final work on this code today was to apply the GNU GPL license, as I felt that I should apply a license to my code before releasing it. I've now made the BitBucket repositories public for the code, they can be found on my account here: https://bitbucket.org/kihonkai . There are two, StudyFeed and StudyFeed_PyPHP. I'll explain the fully reasons for the fork when I post abour KuroHako in the future.
Now that is finished with I aim to get the alternative solution up and running so I can get back to my studying before the next stage of the Japanese course starts. I've got a bit of time since it's not till October, but I want to catch up on studying.
I did say in the title I would describe what I have learnt from this so here's a list of what I think I've learnt from coding this.
- Unicode, some of how it works and how to encode/decode UTF-8. Practical work was done mostly with Python
- Use of the lxml ( http://lxml.de/ ) Python library for XML processing
- How to build a valid RSS feed ( http://www.rssboard.org/ )
- First work done with Mercurial and BitBucket
So while the project didn't get completed I did learn a few things from it, so it was useful in some ways.