<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/redditiwidget/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/redditiwidget/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 09 Apr 2013 04:50:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/redditiwidget/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Tim Van Patten</title><link>https://sourceforge.net/p/redditiwidget/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -3,6 +3,10 @@
 The redditIWidget is an iWidget that shows if the user has any comments, private messages, or moderator mail.   It also shows the current Comment and Link Karma.   In order to use this iWidget, you must have iWidget installed, and a server running Python 2.7 that can be accessed whenever you want the iWidget to be updated.

 When a message is present, the Reddit alien icon changes to show a picture of him holding an orangered envelope.   In addition, there will be a count of the number of messages, preceded by the initial for the type of message ('C' for comment reply, 'P' for Private Message, 'M' for mod mail).   Only the relevant message type counts (those with a count greater than zero) will be shown.
+
+Here is a sample of what it looks like when a message is present:
+
+

 Normally, the karma counts are shown in white.   However, if the count changed, then the color of the number will change.   When the count increases, the color will change to orange (the color of an upvote).   When the count decreases, the color will change to blue (the color of a downvote).

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Van Patten</dc:creator><pubDate>Tue, 09 Apr 2013 04:50:32 -0000</pubDate><guid>https://sourceforge.net5ce54ed0569863d5f31377f4ab52e0ec14b39c9c</guid></item><item><title>Home modified by Tim Van Patten</title><link>https://sourceforge.net/p/redditiwidget/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,13 +1,31 @@
 # redditIWidget

-The following pages describe various aspects of the widget and the server that the widget connects to.
+The redditIWidget is an iWidget that shows if the user has any comments, private messages, or moderator mail.   It also shows the current Comment and Link Karma.   In order to use this iWidget, you must have iWidget installed, and a server running Python 2.7 that can be accessed whenever you want the iWidget to be updated.
+
+When a message is present, the Reddit alien icon changes to show a picture of him holding an orangered envelope.   In addition, there will be a count of the number of messages, preceded by the initial for the type of message ('C' for comment reply, 'P' for Private Message, 'M' for mod mail).   Only the relevant message type counts (those with a count greater than zero) will be shown.
+
+Normally, the karma counts are shown in white.   However, if the count changed, then the color of the number will change.   When the count increases, the color will change to orange (the color of an upvote).   When the count decreases, the color will change to blue (the color of a downvote).
+
+In order for the widget to operate, it needs to be able to get the necessary data from Reddit (current message and karma counts).   However, iWidget doesn't provide a platform that allows widgets to directly perform these types of queries from Reddit, since Reddit requires the user to be logged in to get their comment counts (FYI - message counts are available as semi-private RSS feeds).   So, in order to get the necessary data, another server must be running that is able to do the heavy lifting, that the widget can query for an update.
+
+To do this, I chose to take advantage of PRAW, which provides a very simple interface to authenticate with Reddit with OAuth.   Once the server is authenticated with Reddit, the iWidget can simply make a request to the server for an update.   The server will ask Reddit for the necessary data, parse the JSON and repackage as simple XML and send it to the iWidget to be displayed on the phone.
+
+The server can theoretically handle multiple Reddit accounts at once (the point of using the database to hold the data), though I have only barely tested this.   I do want to thank the PRAW developers, since they were very quick to fix a caching bug I came across in their package.
+
+
+
+# The following pages describe various aspects of the widget and the server that the widget connects to.

 ## Server
 [Packages]
 [Database]
+[How to Configure the Server]

+##
+##
 ## Widget
 [Loading Code to iPhone]
+[Using the Widget]

 [[project_admins]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Van Patten</dc:creator><pubDate>Tue, 09 Apr 2013 04:12:36 -0000</pubDate><guid>https://sourceforge.netcf90b2fe6483b8aebb548f4e2126283acfa5d6b6</guid></item><item><title>Home modified by Tim Van Patten</title><link>https://sourceforge.net/p/redditiwidget/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,14 @@
-Welcome to your wiki!
+# redditIWidget

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+The following pages describe various aspects of the widget and the server that the widget connects to.

-The wiki uses [Markdown](/p/redditiwidget/wiki/markdown_syntax/) syntax.
+## Server
+[Packages]
+[Database]
+
+## Widget
+[Loading Code to iPhone]
+

 [[project_admins]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Van Patten</dc:creator><pubDate>Tue, 09 Apr 2013 03:57:17 -0000</pubDate><guid>https://sourceforge.net182ad0ff317aa9127f9836ba296cec704ce6125f</guid></item><item><title>Home modified by Tim Van Patten</title><link>https://sourceforge.net/p/redditiwidget/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/redditiwidget/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;p&gt;&lt;a href="/u/tjvanpat/"&gt;Tim Van Patten&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;span class="download-button-516387f4d46bb40719d7253f" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Van Patten</dc:creator><pubDate>Tue, 09 Apr 2013 03:16:04 -0000</pubDate><guid>https://sourceforge.net8c5da00888c20b4dcb59c0b53415368c76c6c428</guid></item></channel></rss>