Skip to content

{ Category Archives } Programming

Using the Google Reader API – Part 3

Google Reader API series

Part 1 – Programming to the API
Part 2 – Listing API
Part 3 – Editing API
In part 3 of this series on using the Google Reader API I will discuss using the POST API to edit your Google Reader data. Although the REST architecture and HTTP in general doesn’t enforce it, Google appears [...]

Tagged , , , , ,

Using the Google Reader API – Part 2

Google Reader API series

Part 1 – Programming to the API
Part 2 – Listing API
Part 3 – Editing API
In this post I will discuss the listing API for Google reader. This encapsulates all of the calls you’ll need to list items and feeds in various ways. The table below summarizes the API URLs you’ll be using. [...]

Tagged , , , , ,

Using the Google Reader API – Part 1

Google Reader API series

Part 1 – Programming to the API
Part 2 – Listing API
Part 3 – Editing API
Google have never officially released API documentation for Google Reader, so this information is unofficial and subject to change.
When I first started looking around for API docs to interface with Google Reader, this site seemed to be pretty [...]

Tagged , , , , , , , ,

Regular Expressions in C – Having Trouble with the Pipe ‘|’ Character?

I was working on an assignment for my C class recently and spent an inordinate amount of time solving a simple problem with regular expressions. Hopefully this quick post will help save someone else the frustration.
Let’s say you have the regular expression Cat|Dog|Horse (should match Cat OR Dog OR Horse). You compile the regex using
char* [...]

Tagged , ,

Be Careful with Random Numbers in .NET

[private void ColorWindowButton_Click(object sender, RoutedEventArgs e)
{
// todo fix this, crashes if window previously closed
_colorView.Show();
}[

I’m working on a little game for some friends that involves rolling five dice on a board and came across an interesting little problem, which I’ll illustrate with a very small dummy program. Here we have a simple die class for creating [...]

Tagged , , ,