Index: /trunk/TypePadWeblog.h
===================================================================
--- /trunk/TypePadWeblog.h (revision 35)
+++ /trunk/TypePadWeblog.h (revision 41)
@@ -8,5 +8,4 @@
 
 #import <Cocoa/Cocoa.h>
-#import "TypePadSuper.h"
 #import "AtomApi.h"
 
@@ -16,4 +15,5 @@
 	NSString *_WeblogURL;
 	NSMutableDictionary *_categories;
+	NSMutableArray *comments;
 	NSString *authuser;
 	NSString *authpass;
@@ -33,4 +33,7 @@
 - (void) setCategories: (NSMutableDictionary *) Categories;
 
+- (NSMutableArray *) comments;
+- (void) setComments: (NSMutableArray *) Comments;
+
 - (NSString *) authuser;
 - (void) setAuthuser: (NSString *) Authuser;
@@ -46,3 +49,7 @@
 - (void) discoverCategories;
 - (NSString *) parse_catid: (NSString *) tmpstr;
+
+- (void) getComments;
+- (NSString *) parse_commentid: (NSString *) tmpstr;
+
 @end
Index: /trunk/CommentTable.h
===================================================================
--- /trunk/CommentTable.h (revision 41)
+++ /trunk/CommentTable.h (revision 41)
@@ -0,0 +1,9 @@
+/* CommentTable */
+
+#import <Cocoa/Cocoa.h>
+
+@interface CommentTable : NSTableView {
+	// ..
+}
+
+@end
Index: /trunk/TypePadWeblog.m
===================================================================
--- /trunk/TypePadWeblog.m (revision 35)
+++ /trunk/TypePadWeblog.m (revision 41)
@@ -9,4 +9,5 @@
 #import "TypePadWeblog.h"
 #import "TypePadAtomApi.h"
+#import "TypePadWeblogComment.h"
 
 @implementation TypePadWeblog
@@ -15,4 +16,5 @@
     if (self = [super init]) {
 		_categories = [[NSMutableDictionary alloc] init];
+		[self setComments:[[NSMutableArray alloc] init]];
 		_WeblogTitle = [[NSString alloc] init];
 		_WeblogID = [[NSString alloc] init];
@@ -25,26 +27,42 @@
 /* dealloc */
 - (void) dealloc {
-    [self setWeblogTitle: nil];
-    [self setWeblogID: nil];
-    [self setWeblogURL: nil];
-    [self setCategories: nil];
+    [_WeblogTitle release];
+    [_WeblogID release];
+    [_WeblogURL release];
+    [_categories release];
+    [comments release];
+    [authuser release];
+    [authpass release];
+	
+    _WeblogTitle = nil;
+    _WeblogID = nil;
+    _WeblogURL = nil;
+    _categories = nil;
+    comments = nil;
+    authuser = nil;
+    authpass = nil;
     [super dealloc];
 }
 
 - (void) encodeWithCoder: (NSCoder *)coder {
-    // [super encodeWithCoder: coder];
-    [coder encodeObject: [self weblogTitle] forKey: @"_WeblogTitle"];
-    [coder encodeObject: [self weblogID] forKey: @"_WeblogID"];
-    [coder encodeObject: [self weblogURL] forKey: @"_WeblogURL"];
-    [coder encodeObject: [self categories] forKey: @"_categories"];
+    [coder encodeObject: [self weblogTitle] forKey: @"WeblogWeblogTitle"];
+    [coder encodeObject: [self weblogID] forKey: @"WeblogWeblogID"];
+    [coder encodeObject: [self weblogURL] forKey: @"WeblogWeblogURL"];
+    [coder encodeObject: [self categories] forKey: @"WeblogCategories"];
+    [coder encodeObject: [self comments] forKey: @"WeblogComments"];
+    [coder encodeObject: [self authuser] forKey: @"WeblogAuthuser"];
+    [coder encodeObject: [self authpass] forKey: @"WeblogAuthpass"];
+    [coder encodeBool: [self requiresAuth] forKey: @"WeblogRequiresAuth"];
 }
 
 - (id) initWithCoder: (NSCoder *)coder {
-    // if ([super initWithCoder: coder]) {
-        [self setWeblogTitle: [coder decodeObjectForKey: @"_WeblogTitle"]];
-        [self setWeblogID: [coder decodeObjectForKey: @"_WeblogID"]];
-        [self setWeblogURL: [coder decodeObjectForKey: @"_WeblogURL"]];
-        [self setCategories: [coder decodeObjectForKey: @"_categories"]];
-    // }
+	[self setWeblogTitle: [coder decodeObjectForKey: @"WeblogWeblogTitle"]];
+	[self setWeblogID: [coder decodeObjectForKey: @"WeblogWeblogID"]];
+	[self setWeblogURL: [coder decodeObjectForKey: @"WeblogWeblogURL"]];
+	[self setCategories: [coder decodeObjectForKey: @"WeblogCategories"]];
+	[self setComments: [coder decodeObjectForKey: @"WeblogComments"]];
+	[self setAuthuser: [coder decodeObjectForKey: @"WeblogAuthuser"]];
+	[self setAuthpass: [coder decodeObjectForKey: @"WeblogAuthpass"]];
+	[self setRequiresAuth: [coder decodeBoolForKey: @"WeblogRequiresAuth"]];
     return self;
 }
@@ -99,4 +117,17 @@
     }
 }
+
+/* comments */
+- (NSMutableArray *) comments { return comments; }
+
+/* -setComments: */
+- (void) setComments: (NSMutableArray *) Comments {
+    //NSLog(@"in -setComments:, old value of comments: %@, changed to: %@", comments, Comments);
+    if (comments != Comments) {
+        [comments autorelease];
+        comments = [Comments retain];
+    }
+}
+
 
 /* authuser */
@@ -157,4 +188,23 @@
 }
 
+- (void) getComments {
+	TypePadAtomAPI *client = [[[TypePadAtomAPI alloc] init] autorelease];
+	[client setDataarg:@""];
+	[client setAuth:[self authuser] pass:[self authpass]];
+	[client newpost:@"6" args:[NSDictionary dictionaryWithObjectsAndKeys: [self weblogID], @"blog_id", nil]];
+	NSXMLDocument *xmlDoc = [[NSXMLDocument alloc] initWithXMLString:[client resdata] options:(NSXMLNodePreserveWhitespace|NSXMLNodePreserveCDATA) error:nil];
+	NSArray *nodes = [xmlDoc nodesForXPath:@"/feed/entry" error:nil];
+	int arrayCount = [nodes count];
+	int i = 0;
+	for (i = 0; i < arrayCount; i++) {
+		NSXMLElement *token = [nodes objectAtIndex:i];
+		TypePadWeblogComment *tpobj = [[TypePadWeblogComment alloc] init];
+		[tpobj setCommentid:[self parse_commentid:[[[token nodesForXPath:@"id" error:nil] objectAtIndex:0] stringValue]]];
+		[tpobj setText:[[[token nodesForXPath:@"content" error:nil] objectAtIndex:0] stringValue]];
+		[comments addObject:tpobj];
+		NSLog(@"Id '%@ - %@\n", [tpobj commentid], [tpobj text]);
+	}
+}
+
 - (NSString *) parse_catid: (NSString *) tmpstr {
 	NSArray *lines = [tmpstr componentsSeparatedByString:@"-"];
@@ -162,7 +212,12 @@
 }
 
+- (NSString *) parse_commentid: (NSString *) tmpstr {
+	NSArray *lines = [tmpstr componentsSeparatedByString:@"omment-"];
+	return [lines objectAtIndex:1];
+}
+
 // TODO -- remove this and replace it with something better
 - (void) check_categories: (NSString *) categories {
-	NSArray *lines = [categories componentsSeparatedByString:@","];
+	NSArray *lines = [categories componentsSeparatedByString:@"-"];
 	int i, count = [lines count];
 	for (i = 0; i < count; i++) {
Index: /trunk/CommentTable.m
===================================================================
--- /trunk/CommentTable.m (revision 41)
+++ /trunk/CommentTable.m (revision 41)
@@ -0,0 +1,5 @@
+#import "CommentTable.h"
+
+@implementation CommentTable
+
+@end
Index: /trunk/TypePadAtomAPI.h
===================================================================
--- /trunk/TypePadAtomAPI.h (revision 35)
+++ /trunk/TypePadAtomAPI.h (revision 41)
@@ -21,4 +21,5 @@
 - (NSString *) weblog_newpost: (NSString *) title content: (NSString *) content;
 - (NSString *) weblog_postcategories;
+- (NSString *) comments_get;
 
 @end
Index: /trunk/TypePadAtomAPI.m
===================================================================
--- /trunk/TypePadAtomAPI.m (revision 40)
+++ /trunk/TypePadAtomAPI.m (revision 41)
@@ -52,5 +52,11 @@
 		[self setApiurl:[NSString stringWithFormat:@"%@gallery", @"http://www.typepad.com/t/atom/"]];
 		[self weblog_discover];
-	} 
+	}
+	if ([to isEqualToString:@"commentlist"] || [to isEqualToString:@"6"]) {
+		// NSLog(@"set as gallerydiscovery post type\n");
+		reqtype = @"GET";
+		[self setApiurl:[NSString stringWithFormat:@"%@comments/blog_id=%@", @"http://www.typepad.com/t/atom/", [args objectForKey:@"blog_id"]]];
+		[self weblog_discover];
+	}
 // NSLog(@"Making request with request type %@\n", reqtype);
 	[self makerequest:reqtype];
@@ -102,3 +108,8 @@
 }
 
+- (NSString *) comments_get {
+	atomdata = @"";
+	return @"";
+}
+
 @end
Index: /trunk/TypePad.nib/info.nib
===================================================================
--- /trunk/TypePad.nib/info.nib (revision 31)
+++ /trunk/TypePad.nib/info.nib (revision 41)
@@ -4,5 +4,12 @@
 <dict>
 	<key>IBDocumentLocation</key>
-	<string>88 556 356 240 0 0 1440 938 </string>
+	<string>113 567 356 343 0 0 1440 938 </string>
+	<key>IBEditorPositions</key>
+	<dict>
+		<key>38</key>
+		<string>241 825 87 49 0 0 1440 938 </string>
+		<key>48</key>
+		<string>63 809 184 49 0 0 1440 938 </string>
+	</dict>
 	<key>IBFramework Version</key>
 	<string>443.0</string>
@@ -10,4 +17,6 @@
 	<array>
 		<integer>7</integer>
+		<integer>13</integer>
+		<integer>48</integer>
 	</array>
 	<key>IBSystem Version</key>
Index: /trunk/TypePad.nib/classes.nib
===================================================================
--- /trunk/TypePad.nib/classes.nib (revision 31)
+++ /trunk/TypePad.nib/classes.nib (revision 41)
@@ -1,9 +1,17 @@
 {
     IBClasses = (
+        {CLASS = CommentTable; LANGUAGE = ObjC; SUPERCLASS = NSTableView; }, 
         {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 
         {CLASS = ImageDragArea; LANGUAGE = ObjC; SUPERCLASS = NSImageView; }, 
+        {CLASS = NSSegmentedControl; LANGUAGE = ObjC; SUPERCLASS = NSControl; }, 
         {CLASS = RoundedView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, 
         {CLASS = TransparentWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, 
-        {CLASS = TypePadController; LANGUAGE = ObjC; SUPERCLASS = NSObject; }
+        {
+            ACTIONS = {refreshcomments = id; }; 
+            CLASS = TypePadController; 
+            LANGUAGE = ObjC; 
+            OUTLETS = {bloglist = id; commentlist = id; }; 
+            SUPERCLASS = NSObject; 
+        }
     ); 
     IBVersion = 1; 
Index: /trunk/TypePad.nib/_TypePad_EOArchive.java
===================================================================
--- /trunk/TypePad.nib/_TypePad_EOArchive.java (revision 31)
+++ /trunk/TypePad.nib/_TypePad_EOArchive.java (revision 41)
@@ -1,4 +1,4 @@
 // _TypePad_EOArchive.java
-// Generated by EnterpriseObjects palette at Saturday, June 10, 2006 10:27:25 PM US/Pacific
+// Generated by EnterpriseObjects palette at Tuesday, June 20, 2006 4:09:51 PM US/Pacific
 
 import com.webobjects.eoapplication.*;
@@ -6,4 +6,5 @@
 import com.webobjects.eointerface.*;
 import com.webobjects.eointerface.swing.*;
+import com.webobjects.eointerface.swing.EOTable._EOTableColumn;
 import com.webobjects.foundation.*;
 import java.awt.*;
@@ -16,7 +17,13 @@
     RoundedView _nsCustomView0;
     TypePadController _typePadController0;
-    com.webobjects.eointerface.swing.EOFrame _eoFrame0;
+    com.webobjects.eointerface.swing.EOFrame _eoFrame0, _eoFrame1;
     com.webobjects.eointerface.swing.EOImageView _nsImageView0;
-    javax.swing.JPanel _nsView0;
+    com.webobjects.eointerface.swing.EOTable _nsTableView0;
+    com.webobjects.eointerface.swing.EOTable._EOTableColumn _eoTableColumn0, _eoTableColumn1;
+    com.webobjects.eointerface.swing.EOTextArea _nsTextView0;
+    com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4, _nsTextField5;
+    javax.swing.JCheckBox _jCheckBox0;
+    javax.swing.JComboBox _popup0;
+    javax.swing.JPanel _nsView0, _nsView1;
 
     public _TypePad_EOArchive(Object owner, NSDisposableRegistry registry) {
@@ -31,5 +38,19 @@
         super._construct();
 
+        _jCheckBox0 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox(""), "");
+        _nsTextField5 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
+        _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111111");
+        _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField11111111");
+        _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1111112");
+        _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1111111");
+        _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
+        _nsTextView0 = (com.webobjects.eointerface.swing.EOTextArea)_registered(new com.webobjects.eointerface.swing.EOTextArea(), "NSTextView");
+        _popup0 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton");
         _typePadController0 = (TypePadController)_registered(new TypePadController(), "TypePadController");
+        _eoTableColumn1 = (com.webobjects.eointerface.swing.EOTable._EOTableColumn)_registered(new com.webobjects.eointerface.swing.EOTable._EOTableColumn(), "NSTableColumn1");
+        _eoTableColumn0 = (com.webobjects.eointerface.swing.EOTable._EOTableColumn)_registered(new com.webobjects.eointerface.swing.EOTable._EOTableColumn(), "NSTableColumn");
+        _nsTableView0 = (com.webobjects.eointerface.swing.EOTable)_registered(new com.webobjects.eointerface.swing.EOTable(), "NSTableView");
+        _eoFrame1 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Comment Moderation");
+        _nsView1 = (JPanel)_eoFrame1.getContentPane();
         _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
         _nsCustomView0 = (RoundedView)_registered(new RoundedView(), "View");
@@ -40,8 +61,136 @@
     protected void _awaken() {
         super._awaken();
+        _popup0.setModel(new javax.swing.DefaultComboBoxModel());
+        _popup0.addItem("Item3");
     }
 
     protected void _init() {
         super._init();
+        _setFontForComponent(_jCheckBox0, "Lucida Grande", 12, Font.PLAIN);
+        .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_eoFrame1, "makeKeyAndOrderFront", ), ""));
+        _setFontForComponent(_nsTextField5, "Lucida Grande", 9, Font.PLAIN);
+        _nsTextField5.setEditable(false);
+        _nsTextField5.setOpaque(false);
+        _nsTextField5.setText("http://www.typepad.com/");
+        _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.LEFT);
+        _nsTextField5.setSelectable(false);
+        _nsTextField5.setEnabled(true);
+        _nsTextField5.setBorder(null);
+        _setFontForComponent(_nsTextField4, "Lucida Grande", 10, Font.PLAIN);
+        _nsTextField4.setEditable(false);
+        _nsTextField4.setOpaque(false);
+        _nsTextField4.setText("User Name\n");
+        _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT);
+        _nsTextField4.setSelectable(false);
+        _nsTextField4.setEnabled(true);
+        _nsTextField4.setBorder(null);
+        _setFontForComponent(_nsTextField3, "Lucida Grande", 10, Font.PLAIN);
+        _nsTextField3.setEditable(false);
+        _nsTextField3.setOpaque(false);
+        _nsTextField3.setText("User Email Address\n");
+        _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT);
+        _nsTextField3.setSelectable(false);
+        _nsTextField3.setEnabled(true);
+        _nsTextField3.setBorder(null);
+        _setFontForComponent(_nsTextField2, "Lucida Grande", 10, Font.PLAIN);
+        _nsTextField2.setEditable(false);
+        _nsTextField2.setOpaque(false);
+        _nsTextField2.setText("URL\n");
+        _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+        _nsTextField2.setSelectable(false);
+        _nsTextField2.setEnabled(true);
+        _nsTextField2.setBorder(null);
+        _setFontForComponent(_nsTextField1, "Lucida Grande", 10, Font.PLAIN);
+        _nsTextField1.setEditable(false);
+        _nsTextField1.setOpaque(false);
+        _nsTextField1.setText("Email\n");
+        _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+        _nsTextField1.setSelectable(false);
+        _nsTextField1.setEnabled(true);
+        _nsTextField1.setBorder(null);
+        _setFontForComponent(_nsTextField0, "Lucida Grande", 10, Font.PLAIN);
+        _nsTextField0.setEditable(false);
+        _nsTextField0.setOpaque(false);
+        _nsTextField0.setText("Name\n");
+        _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+        _nsTextField0.setSelectable(false);
+        _nsTextField0.setEnabled(true);
+        _nsTextField0.setBorder(null);
+        _nsTextView0.setEditable(false);
+        _nsTextView0.setOpaque(true);
+        _nsTextView0.setText("");
+        .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_typePadController0, "refreshcomments", ), ""));
+        _setFontForComponent(_popup0, "Lucida Grande", 13, Font.PLAIN);
+        _connect(_typePadController0, _popup0, "bloglist");
+        _connect(_typePadController0, _nsTableView0, "commentlist");
+        _connect(_nsTableView0, , "menu");
+        _eoTableColumn1.setMinWidth(8);
+        _eoTableColumn1.setMaxWidth(1000);
+        _eoTableColumn1.setPreferredWidth(113);
+        _eoTableColumn1.setWidth(113);
+        _eoTableColumn1.setResizable(false);
+        _eoTableColumn1.setHeaderValue("");
+        if ((_eoTableColumn1.getCellRenderer() instanceof DefaultTableCellRenderer) || (_eoTableColumn1.getCellRenderer() == null)) {
+        	DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
+        	renderer.setHorizontalAlignment(javax.swing.JTextField.LEFT);
+        	_eoTableColumn1.setCellRenderer(renderer);
+        }
+        if ((_eoTableColumn1.getHeaderRenderer() != null)) {
+        	((DefaultTableCellRenderer)(_eoTableColumn1.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT);
+        }
+        _eoTableColumn0.setMinWidth(8);
+        _eoTableColumn0.setMaxWidth(1000);
+        _eoTableColumn0.setPreferredWidth(55);
+        _eoTableColumn0.setWidth(55);
+        _eoTableColumn0.setResizable(true);
+        _eoTableColumn0.setHeaderValue("");
+        if ((_eoTableColumn0.getHeaderRenderer() != null)) {
+        	((DefaultTableCellRenderer)(_eoTableColumn0.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT);
+        }
+        _nsTableView0.table().addColumn(_eoTableColumn0);
+        _nsTableView0.table().addColumn(_eoTableColumn1);
+        _setFontForComponent(_nsTableView0.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN);
+        _nsTableView0.table().setRowHeight(20);
+        if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); }
+        _nsTableView0.setSize(176, 140);
+        _nsTableView0.setLocation(13, 40);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTableView0, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTableView0);
+        _nsTextView0.setSize(255, 98);
+        _nsTextView0.setLocation(197, 82);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextView0, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTextView0);
+        _nsTextField0.setSize(54, 13);
+        _nsTextField0.setLocation(198, 19);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTextField0);
+        _nsTextField1.setSize(54, 13);
+        _nsTextField1.setLocation(198, 40);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTextField1);
+        _nsTextField2.setSize(54, 13);
+        _nsTextField2.setLocation(198, 61);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTextField2);
+        _nsTextField3.setSize(193, 13);
+        _nsTextField3.setLocation(260, 40);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTextField3);
+        _nsTextField4.setSize(193, 13);
+        _nsTextField4.setLocation(260, 19);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTextField4);
+        _nsTextField5.setSize(199, 13);
+        _nsTextField5.setLocation(257, 61);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinYMargin);
+        _nsView1.add(_nsTextField5);
+        _popup0.setSize(175, 26);
+        _popup0.setLocation(15, 12);
+        ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin);
+        _nsView1.add(_popup0);
+        _nsView1.setSize(465, 194);
+        _eoFrame1.setTitle("Comment Moderation");
+        _eoFrame1.setLocation(559, 702);
+        _eoFrame1.setSize(465, 194);
         if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
         _nsCustomView0.setSize(213, 108);
@@ -55,5 +204,5 @@
         _nsView0.setSize(199, 96);
         _eoFrame0.setTitle("Fence");
-        _eoFrame0.setLocation(111, 399);
+        _eoFrame0.setLocation(240, 328);
         _eoFrame0.setSize(199, 96);
     }
Index: /trunk/AtomApi.m
===================================================================
--- /trunk/AtomApi.m (revision 40)
+++ /trunk/AtomApi.m (revision 41)
@@ -36,5 +36,4 @@
 - (void) setDataarg: (NSString *) Dataarg {
     //NSLog(@"in -setDataarg:, old value of dataarg: %@, changed to: %@", dataarg, Dataarg);
-	
     if (dataarg != Dataarg) {
         [dataarg autorelease];
@@ -46,8 +45,7 @@
 - (NSString *) atomdata { return atomdata; }
 
-	/* -setAtomdata: */
+/* -setAtomdata: */
 - (void) setAtomdata: (NSString *) Atomdata {
     //NSLog(@"in -setAtomdata:, old value of atomdata: %@, changed to: %@", atomdata, Atomdata);
-	
     if (atomdata != Atomdata) {
         [atomdata autorelease];
@@ -59,8 +57,7 @@
 - (NSString *) apiurl { return apiurl; }
 
-	/* -setApiurl: */
+/* -setApiurl: */
 - (void) setApiurl: (NSString *) Apiurl {
     //NSLog(@"in -setApiurl:, old value of apiurl: %@, changed to: %@", apiurl, Apiurl);
-	
     if (apiurl != Apiurl) {
         [apiurl autorelease];
@@ -72,8 +69,7 @@
 - (NSString *) resdata { return resdata; }
 
-	/* -setResdata: */
+/* -setResdata: */
 - (void) setResdata: (NSString *) Resdata {
     //NSLog(@"in -setResdata:, old value of resdata: %@, changed to: %@", resdata, Resdata);
-	
     if (resdata != Resdata) {
         [resdata autorelease];
Index: /trunk/PrefController.m
===================================================================
--- /trunk/PrefController.m (revision 40)
+++ /trunk/PrefController.m (revision 41)
@@ -22,5 +22,6 @@
     	
 	NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
-	[self setService:[userDefaults objectForKey:@"service type"]];
+	// [self setService:[userDefaults objectForKey:@"service type"]];
+	[self setService:@"None"];
 
 	// Set the general pref view control values
@@ -28,5 +29,17 @@
 	[save_login setObjectValue:[userDefaults objectForKey:@"save_login"]];
 	
-	if ([self service]) {
+	TypePad *tp = [[[TypePad alloc] init] autorelease];
+	Vox *vx = [[[Vox alloc] init] autorelease];
+	if ([[tp accounts] count] > 0) {
+		[self setService:@"TypePad"];
+	}
+	if ([[vx accounts] count] > 0) {
+		[self setService:@"Vox"];
+	}
+	
+	
+	if ([[self service] isEqualToString:@"None"]) {
+		[self init_generic];
+	} else {
 		if ([[self service] isEqualToString:@"TypePad"]) {
 			[self init_typepad];
@@ -35,6 +48,4 @@
 			[self init_vox];
 		}
-	} else {
-		[self init_generic];
 	}
 
@@ -231,11 +242,9 @@
 // NSLog(@"Window closed\n");
 	[self save_generic];
-	if ([self service]) {
-		if ([[self service] isEqualToString:@"TypePad"]) {
-			[self save_typepad];
-		}
-		if ([[self service] isEqualToString:@"Vox"]) {
-			[self save_vox];
-		}
+	if ([[self service] isEqualToString:@"TypePad"]) {
+		[self save_typepad];
+	}
+	if ([[self service] isEqualToString:@"Vox"]) {
+		[self save_vox];
 	}
 }
Index: /trunk/LoginWindowController.m
===================================================================
--- /trunk/LoginWindowController.m (revision 40)
+++ /trunk/LoginWindowController.m (revision 41)
@@ -13,8 +13,5 @@
 
 - (void)awakeFromNib {
-	// [usernamelist setCompletes:YES];
 	[self init_login];
-	// clear the service type at awake
-	// [userDefaults setObject:nil forKey:@"service type"];
 }
 
Index: /trunk/TypePadGallery.h
===================================================================
--- /trunk/TypePadGallery.h (revision 30)
+++ /trunk/TypePadGallery.h (revision 41)
@@ -8,5 +8,4 @@
 
 #import <Cocoa/Cocoa.h>
-#import "TypePadSuper.h"
 
 @interface TypePadGallery : NSObject {
Index: /trunk/TypePadWeblogComment.h
===================================================================
--- /trunk/TypePadWeblogComment.h (revision 41)
+++ /trunk/TypePadWeblogComment.h (revision 41)
@@ -0,0 +1,39 @@
+//
+//  TypePadWeblogComment.h
+//  Fence
+//
+//  Created by Nicholas Gerakines on 6/19/06.
+//  Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface TypePadWeblogComment : NSObject {
+	NSString *blogid;
+	NSString *commentid;
+	NSString *author_name;
+	NSString *author_url;
+	NSString *author_email;
+	NSString *text;
+}
+
+- (NSString *) blogid;
+- (void) setBlogid: (NSString *) Blogid;
+
+- (NSString *) commentid;
+- (void) setCommentid: (NSString *) Commentid;
+
+- (NSString *) uthor_name;
+- (void) setUthor_name: (NSString *) Uthor_name;
+
+- (NSString *) uthor_url;
+- (void) setUthor_url: (NSString *) Uthor_url;
+
+- (NSString *) uthor_email;
+- (void) setUthor_email: (NSString *) Uthor_email;
+
+- (NSString *) text;
+- (void) setText: (NSString *) Text;
+
+@end
Index: /trunk/VoxTransParentWindow.m
===================================================================
--- /trunk/VoxTransParentWindow.m (revision 30)
+++ /trunk/VoxTransParentWindow.m (revision 41)
@@ -13,5 +13,4 @@
 								  backing:NSBackingStoreBuffered 
 									defer:NO]) {
-		// [NSApp setApplicationIconImage:[NSImage imageNamed: @"tplogo"]];
         [self setLevel: NSStatusWindowLevel];
         [self setBackgroundColor: [NSColor clearColor]];
Index: /trunk/TypePadWeblogComment.m
===================================================================
--- /trunk/TypePadWeblogComment.m (revision 41)
+++ /trunk/TypePadWeblogComment.m (revision 41)
@@ -0,0 +1,139 @@
+//
+//  TypePadWeblogComment.m
+//  Fence
+//
+//  Created by Nicholas Gerakines on 6/19/06.
+//  Copyright 2006 __MyCompanyName__. All rights reserved.
+//
+
+#import "TypePadWeblogComment.h"
+
+
+@implementation TypePadWeblogComment
+
+// init
+- (id)init {
+    if (self = [super init]) {
+        [self setBlogid:@""];
+        [self setCommentid:@""];
+        [self setUthor_name:@""];
+        [self setUthor_url:@""];
+        [self setUthor_email:@""];
+        [self setText:@""];
+    }
+    return self;
+}
+
+- (void) encodeWithCoder: (NSCoder *)coder {
+    [coder encodeObject: [self blogid] forKey: @"WeblogBlogid"];
+    [coder encodeObject: [self commentid] forKey: @"WeblogCommentid"];
+    [coder encodeObject: [self uthor_name] forKey: @"WeblogUthor_name"];
+    [coder encodeObject: [self uthor_url] forKey: @"WeblogUthor_url"];
+    [coder encodeObject: [self uthor_email] forKey: @"WeblogUthor_email"];
+    [coder encodeObject: [self text] forKey: @"WeblogText"];
+}
+
+- (id) initWithCoder: (NSCoder *)coder {
+	[self setBlogid: [coder decodeObjectForKey: @"WeblogBlogid"]];
+	[self setCommentid: [coder decodeObjectForKey: @"WeblogCommentid"]];
+	[self setUthor_name: [coder decodeObjectForKey: @"WeblogUthor_name"]];
+	[self setUthor_url: [coder decodeObjectForKey: @"WeblogUthor_url"]];
+	[self setUthor_email: [coder decodeObjectForKey: @"WeblogUthor_email"]];
+	[self setText: [coder decodeObjectForKey: @"WeblogText"]];
+    return self;
+}
+
+/* blogid */
+- (NSString *) blogid { return blogid; }
+
+/* -setBlogid: */
+- (void) setBlogid: (NSString *) Blogid {
+    //NSLog(@"in -setBlogid:, old value of blogid: %@, changed to: %@", blogid, Blogid);
+    if (blogid != Blogid) {
+        [blogid autorelease];
+        blogid = [Blogid retain];
+    }
+}
+
+/* commentid */
+- (NSString *) commentid { return commentid; }
+
+/* -setCommentid: */
+- (void) setCommentid: (NSString *) Commentid {
+    //NSLog(@"in -setCommentid:, old value of commentid: %@, changed to: %@", commentid, Commentid);
+    if (commentid != Commentid) {
+        [commentid autorelease];
+        commentid = [Commentid retain];
+    }
+}
+
+/* uthor_name */
+- (NSString *) uthor_name { return author_name; }
+
+/* -setUthor_name: */
+- (void) setUthor_name: (NSString *) Uthor_name {
+    //NSLog(@"in -setUthor_name:, old value of author_name: %@, changed to: %@", author_name, Uthor_name);
+    if (author_name != Uthor_name) {
+        [author_name autorelease];
+        author_name = [Uthor_name retain];
+    }
+}
+
+/* uthor_url */
+- (NSString *) uthor_url { return author_url; }
+
+/* -setUthor_url: */
+- (void) setUthor_url: (NSString *) Uthor_url {
+    //NSLog(@"in -setUthor_url:, old value of author_url: %@, changed to: %@", author_url, Uthor_url);
+    if (author_url != Uthor_url) {
+        [author_url autorelease];
+        author_url = [Uthor_url retain];
+    }
+}
+
+/* uthor_email */
+- (NSString *) uthor_email { return author_email; }
+
+/* -setUthor_email: */
+- (void) setUthor_email: (NSString *) Uthor_email {
+    //NSLog(@"in -setUthor_email:, old value of author_email: %@, changed to: %@", author_email, Uthor_email);
+    if (author_email != Uthor_email) {
+        [author_email autorelease];
+        author_email = [Uthor_email retain];
+    }
+}
+
+/* text */
+- (NSString *) text { return text; }
+
+/* -setText: */
+- (void) setText: (NSString *) Text {
+    //NSLog(@"in -setText:, old value of text: %@, changed to: %@", text, Text);
+    if (text != Text) {
+        [text autorelease];
+        text = [Text retain];
+    }
+}
+
+
+/* dealloc */
+- (void) dealloc {
+    [blogid release];
+    [commentid release];
+    [author_name release];
+    [author_url release];
+    [author_email release];
+    [text release];
+	
+    blogid = nil;
+    commentid = nil;
+    author_name = nil;
+    author_url = nil;
+    author_email = nil;
+    text = nil;
+    [super dealloc];
+}
+
+
+
+@end
Index: /trunk/TypePadController.h
===================================================================
--- /trunk/TypePadController.h (revision 30)
+++ /trunk/TypePadController.h (revision 41)
@@ -4,5 +4,11 @@
 
 @interface TypePadController : NSObject {
+	IBOutlet id bloglist;
+	IBOutlet id commentlist;
+}
 
-}
+- (IBAction)refreshcomments:(id)sender;
+
+- (void) init_comemode;
+
 @end
Index: /trunk/TypePadController.m
===================================================================
--- /trunk/TypePadController.m (revision 40)
+++ /trunk/TypePadController.m (revision 41)
@@ -1,3 +1,5 @@
 #import "TypePadController.h"
+#import "TypePad.h"
+#import "TypePadWeblog.h"
 
 @implementation TypePadController
@@ -5,5 +7,20 @@
 
 - (void)awakeFromNib {
-// NSLog(@"TypePadController - (void)awakeFromNib - called\n");
+	[self init_comemode];
+}
+
+- (IBAction)refreshcomments:(id)sender {
+	// .. //
+}
+
+- (void) init_comemode {
+	[bloglist removeAllItems];
+	id key;
+	TypePad *tp = [[[TypePad alloc] init] autorelease];
+	NSEnumerator *blog_enumerator = [[tp defaultAccountWeblogs] objectEnumerator];
+	while (key = [blog_enumerator nextObject]) {
+		TypePadWeblog *tpobj = key;
+		[bloglist addItemWithTitle:[NSString stringWithFormat:@"Weblog: %@", [tpobj weblogTitle]]];
+	}
 }
 
Index: /trunk/TypePadAccount.h
===================================================================
--- /trunk/TypePadAccount.h (revision 30)
+++ /trunk/TypePadAccount.h (revision 41)
@@ -17,4 +17,5 @@
 	NSMutableArray *galleries;
 	NSMutableArray *typelists;
+	NSMutableArray *comments;
 	BOOL hasWeblog;
 	BOOL hasGallery;
@@ -79,4 +80,5 @@
 - (void) discoverWeblogs;
 - (void) discoverGalleries;
+- (void) getComments:(NSString *) blogId;
 
 ///////  utility  ///////
Index: /trunk/Fence.xcodeproj/project.pbxproj
===================================================================
--- /trunk/Fence.xcodeproj/project.pbxproj (revision 38)
+++ /trunk/Fence.xcodeproj/project.pbxproj (revision 41)
@@ -27,5 +27,4 @@
 		6D4762960A1E4A0900E16CEE /* Fence Help in Resources */ = {isa = PBXBuildFile; fileRef = 6D4762920A1E4A0900E16CEE /* Fence Help */; };
 		6D47630E0A1E537100E16CEE /* AppController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D47630D0A1E537100E16CEE /* AppController.m */; };
-		6D4768650A1FA13600E16CEE /* TypePadSuper.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D4768640A1FA13600E16CEE /* TypePadSuper.m */; };
 		6D4C783F0A37800900336D15 /* HACKING in Resources */ = {isa = PBXBuildFile; fileRef = 6D4C783E0A37800900336D15 /* HACKING */; };
 		6D6494960A3CAB3A00455799 /* VoxAccount.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6D6494940A3CAB3A00455799 /* VoxAccount.h */; };
@@ -40,6 +39,12 @@
 		6D6505050A19852B0087234C /* TypePadWeblog.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D6505040A19852B0087234C /* TypePadWeblog.m */; };
 		6D65050E0A1985530087234C /* TypePadGallery.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D65050D0A1985530087234C /* TypePadGallery.m */; };
+		6DAFAA990A47975A00E54B76 /* CommentTable.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6DAFAA970A47975A00E54B76 /* CommentTable.h */; };
+		6DAFAA9A0A47975A00E54B76 /* CommentTable.m in Sources */ = {isa = PBXBuildFile; fileRef = 6DAFAA980A47975A00E54B76 /* CommentTable.m */; };
+		6DAFAAAF0A47989F00E54B76 /* TypePadWeblogComment.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6DAFAAAD0A47989F00E54B76 /* TypePadWeblogComment.h */; };
+		6DAFAAB00A47989F00E54B76 /* TypePadWeblogComment.m in Sources */ = {isa = PBXBuildFile; fileRef = 6DAFAAAE0A47989F00E54B76 /* TypePadWeblogComment.m */; };
 		6DEB14A00A3AA7D1005998D4 /* TypePad.nib in Resources */ = {isa = PBXBuildFile; fileRef = 6DEB149F0A3AA7D1005998D4 /* TypePad.nib */; };
 		6DEB14D40A3AAC58005998D4 /* Preferences.nib in Resources */ = {isa = PBXBuildFile; fileRef = 6DEB14D30A3AAC58005998D4 /* Preferences.nib */; };
+		6DF04FB80A488A25002DAF68 /* fence-128.png in Resources */ = {isa = PBXBuildFile; fileRef = 6DF04FB70A488A25002DAF68 /* fence-128.png */; };
+		6DF04FF00A48A8DE002DAF68 /* fence.icns in Resources */ = {isa = PBXBuildFile; fileRef = 6DF04FEF0A48A8DE002DAF68 /* fence.icns */; };
 		6DF565C50A3BAA770037EB33 /* TypePadController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6DF565C30A3BAA770037EB33 /* TypePadController.m */; };
 		6DF565C60A3BAA770037EB33 /* TypePadController.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6DF565C40A3BAA770037EB33 /* TypePadController.h */; };
@@ -106,4 +111,6 @@
 				6D6494D40A3CAD3D00455799 /* VoxAtomApi.h in CopyFiles */,
 				6D6495770A3CB66200455799 /* VoxCollection.h in CopyFiles */,
+				6DAFAA990A47975A00E54B76 /* CommentTable.h in CopyFiles */,
+				6DAFAAAF0A47989F00E54B76 /* TypePadWeblogComment.h in CopyFiles */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
@@ -120,5 +127,5 @@
 		29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
 		32CA4F630368D1EE00C91783 /* Fence_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Fence_Prefix.pch; sourceTree = "<group>"; };
-		6D0937220A312AAD00FFB45C /* Fence.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Fence.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		6D0937220A312AAD00FFB45C /* Fence.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; name = Fence.app; path = /Users/ngerakines/dev/6a/code/Fence/trunk/build/Release/Fence.app; sourceTree = "<absolute>"; };
 		6D15B1960A2FC8BD00BFAC0E /* Gallery.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Gallery.tiff; sourceTree = "<group>"; };
 		6D15B1970A2FC8BD00BFAC0E /* General.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = General.tiff; sourceTree = "<group>"; };
@@ -147,6 +154,4 @@
 		6D47630C0A1E537100E16CEE /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; };
 		6D47630D0A1E537100E16CEE /* AppController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = AppController.m; sourceTree = "<group>"; };
-		6D4768630A1FA13600E16CEE /* TypePadSuper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TypePadSuper.h; sourceTree = "<group>"; };
-		6D4768640A1FA13600E16CEE /* TypePadSuper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TypePadSuper.m; sourceTree = "<group>"; };
 		6D4C783E0A37800900336D15 /* HACKING */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HACKING; sourceTree = "<group>"; };
 		6D6494940A3CAB3A00455799 /* VoxAccount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VoxAccount.h; sourceTree = "<group>"; };
@@ -165,8 +170,14 @@
 		6D65050D0A1985530087234C /* TypePadGallery.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TypePadGallery.m; sourceTree = "<group>"; };
 		6D65069B0A1994930087234C /* TODO */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TODO; sourceTree = "<group>"; };
+		6DAFAA970A47975A00E54B76 /* CommentTable.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CommentTable.h; sourceTree = "<group>"; };
+		6DAFAA980A47975A00E54B76 /* CommentTable.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = CommentTable.m; sourceTree = "<group>"; };
+		6DAFAAAD0A47989F00E54B76 /* TypePadWeblogComment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TypePadWeblogComment.h; sourceTree = "<group>"; };
+		6DAFAAAE0A47989F00E54B76 /* TypePadWeblogComment.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TypePadWeblogComment.m; sourceTree = "<group>"; };
 		6DBE11990A1BA41200F171E5 /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ChangeLog; sourceTree = "<group>"; };
 		6DBE119F0A1BA42900F171E5 /* ReadMe */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ReadMe; sourceTree = "<group>"; };
 		6DEB149F0A3AA7D1005998D4 /* TypePad.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = TypePad.nib; sourceTree = "<group>"; };
 		6DEB14D30A3AAC58005998D4 /* Preferences.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = Preferences.nib; sourceTree = "<group>"; };
+		6DF04FB70A488A25002DAF68 /* fence-128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fence-128.png"; sourceTree = "<group>"; };
+		6DF04FEF0A48A8DE002DAF68 /* fence.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = fence.icns; sourceTree = "<group>"; };
 		6DF565C30A3BAA770037EB33 /* TypePadController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = TypePadController.m; sourceTree = "<group>"; };
 		6DF565C40A3BAA770037EB33 /* TypePadController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TypePadController.h; sourceTree = "<group>"; };
@@ -233,5 +244,4 @@
 			isa = PBXGroup;
 			children = (
-				6D0937220A312AAD00FFB45C /* Fence.app */,
 			);
 			name = Products;
@@ -241,4 +251,5 @@
 			isa = PBXGroup;
 			children = (
+				6DF04FEF0A48A8DE002DAF68 /* fence.icns */,
 				6D15B22C0A2FCC7500BFAC0E /* Growl-WithInstaller.framework */,
 				6DBE119F0A1BA42900F171E5 /* ReadMe */,
@@ -271,12 +282,13 @@
 				6DEB149F0A3AA7D1005998D4 /* TypePad.nib */,
 				6DF56A700A3BDF6C0037EB33 /* Vox.nib */,
+				6D4762920A1E4A0900E16CEE /* Fence Help */,
 				6D15B1960A2FC8BD00BFAC0E /* Gallery.tiff */,
 				6D15B1970A2FC8BD00BFAC0E /* General.tiff */,
 				6D15B1980A2FC8BD00BFAC0E /* Weblog.tiff */,
-				6D4762920A1E4A0900E16CEE /* Fence Help */,
 				6D2D03660A19512F005C5AFA /* tplogo.jpg */,
 				6DF56A6B0A3BDEDE0037EB33 /* logo-vox-32x32.gif */,
 				8D1107310486CEB800E47090 /* Info.plist */,
 				089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
+				6DF04FB70A488A25002DAF68 /* fence-128.png */,
 			);
 			name = Resources;
@@ -340,6 +352,4 @@
 			children = (
 				6DF56A4F0A3BDC160037EB33 /* View Controllers */,
-				6D4768630A1FA13600E16CEE /* TypePadSuper.h */,
-				6D4768640A1FA13600E16CEE /* TypePadSuper.m */,
 				6D6505030A19852B0087234C /* TypePadWeblog.h */,
 				6D6505040A19852B0087234C /* TypePadWeblog.m */,
@@ -348,10 +358,12 @@
 				6D2D02FA0A194F0A005C5AFA /* TypePad.h */,
 				6D2D02FB0A194F0A005C5AFA /* TypePad.m */,
+				6DF565C40A3BAA770037EB33 /* TypePadController.h */,
 				6DF565C30A3BAA770037EB33 /* TypePadController.m */,
-				6DF565C40A3BAA770037EB33 /* TypePadController.h */,
 				6DF565DE0A3BABCC0037EB33 /* TypePadAccount.h */,
 				6DF565DF0A3BABCC0037EB33 /* TypePadAccount.m */,
 				6D6494C80A3CAD2700455799 /* TypePadAtomAPI.h */,
 				6D6494C90A3CAD2700455799 /* TypePadAtomAPI.m */,
+				6DAFAAAD0A47989F00E54B76 /* TypePadWeblogComment.h */,
+				6DAFAAAE0A47989F00E54B76 /* TypePadWeblogComment.m */,
 			);
 			name = TypePad;
@@ -388,4 +400,6 @@
 			isa = PBXGroup;
 			children = (
+				6DAFAA970A47975A00E54B76 /* CommentTable.h */,
+				6DAFAA980A47975A00E54B76 /* CommentTable.m */,
 				6D2D02F60A194F0A005C5AFA /* RoundedView.h */,
 				6D2D02F70A194F0A005C5AFA /* RoundedView.m */,
@@ -461,4 +475,6 @@
 				6DF56A6C0A3BDEDE0037EB33 /* logo-vox-32x32.gif in Resources */,
 				6DF56A710A3BDF6C0037EB33 /* Vox.nib in Resources */,
+				6DF04FB80A488A25002DAF68 /* fence-128.png in Resources */,
+				6DF04FF00A48A8DE002DAF68 /* fence.icns in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
@@ -483,5 +499,4 @@
 				6D65050E0A1985530087234C /* TypePadGallery.m in Sources */,
 				6D47630E0A1E537100E16CEE /* AppController.m in Sources */,
-				6D4768650A1FA13600E16CEE /* TypePadSuper.m in Sources */,
 				6D3223060A3A59BA005D832A /* Vox.m in Sources */,
 				6D32231C0A3A6704005D832A /* LoginWindowController.m in Sources */,
@@ -496,4 +511,6 @@
 				6D6494D50A3CAD3D00455799 /* VoxAtomApi.m in Sources */,
 				6D6495780A3CB66200455799 /* VoxCollection.m in Sources */,
+				6DAFAA9A0A47975A00E54B76 /* CommentTable.m in Sources */,
+				6DAFAAB00A47989F00E54B76 /* TypePadWeblogComment.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
Index: /trunk/English.lproj/MainMenu.nib/info.nib
===================================================================
--- /trunk/English.lproj/MainMenu.nib/info.nib (revision 32)
+++ /trunk/English.lproj/MainMenu.nib/info.nib (revision 41)
@@ -4,5 +4,5 @@
 <dict>
 	<key>IBDocumentLocation</key>
-	<string>19 68 358 294 0 0 1440 938 </string>
+	<string>57 89 358 294 0 0 1440 938 </string>
 	<key>IBEditorPositions</key>
 	<dict>
@@ -23,5 +23,4 @@
 	<array>
 		<integer>514</integer>
-		<integer>29</integer>
 	</array>
 	<key>IBSystem Version</key>
Index: /trunk/TypePadAccount.m
===================================================================
--- /trunk/TypePadAccount.m (revision 35)
+++ /trunk/TypePadAccount.m (revision 41)
@@ -23,4 +23,5 @@
         [self setGalleries:[[NSMutableArray alloc] init]];
         [self setTypelists:[[NSMutableArray alloc] init]];
+		// [self setComments:[[NSMutableArray alloc] init]];
 		[self setHasWeblog:NO];
         [self setHasGallery:NO];
@@ -40,4 +41,5 @@
     [galleries release];
     [typelists release];
+	[comments release];
     [defaultWeblog release];
     [defaultGallery release];
@@ -49,4 +51,5 @@
     galleries = nil;
     typelists = nil;
+	comments = nil;
     defaultWeblog = nil;
     defaultGallery = nil;
@@ -62,4 +65,5 @@
     [coder encodeObject: [self galleries] forKey: @"WeblogGalleries"];
     [coder encodeObject: [self typelists] forKey: @"WeblogTypelists"];
+	// [coder encodeObject: [self comments] forKey: @"WeblogComments"];
     [coder encodeBool: [self hasWeblog] forKey: @"WeblogHasWeblog"];
     [coder encodeBool: [self hasGallery] forKey: @"WeblogHasGallery"];
@@ -77,4 +81,5 @@
         [self setGalleries: [coder decodeObjectForKey: @"WeblogGalleries"]];
         [self setTypelists: [coder decodeObjectForKey: @"WeblogTypelists"]];
+		// [self setComments: [coder decodeObjectForKey: @"WeblogComments"]];
         [self setHasWeblog: [coder decodeBoolForKey: @"WeblogHasWeblog"]];
         [self setHasGallery: [coder decodeBoolForKey: @"WeblogHasGallery"]];
@@ -184,4 +189,16 @@
         [typelists autorelease];
         typelists = [Typelists retain];
+    }
+}
+
+/* comments */
+- (NSMutableArray *) comments { return comments; }
+
+	/* -setTypelists: */
+- (void) setComments: (NSMutableArray *) Comments {
+    //NSLog(@"in -setComments:, old value of comments: %@, changed to: %@", comments, Comments);
+    if (comments != Comments) {
+        [comments autorelease];
+        comments = [Comments retain];
     }
 }
@@ -340,4 +357,6 @@
 		[tpobj setWeblogURL:[[token attributeForName:@"href"] stringValue]];
 		[tpobj discoverCategories];
+		// TODO: Enable this once the functionality is complete.
+		// [tpobj getComments];
 		[weblogs addObject:tpobj];
 		[self setHasWeblog:YES];
@@ -363,6 +382,10 @@
 		[galleries addObject:tpobj];
 		[self setHasGallery:YES];
-	}	
+	}
 	// [self appNotify:[NSString stringWithFormat:@"File '%@' has been sent", [client filename]] title:@"File Uploaded"];
+}
+
+- (void) getComments:(NSString *) blogId {
+	
 }
 
Index: /trunk/Vox.nib/_Vox_EOArchive.java
===================================================================
--- /trunk/Vox.nib/_Vox_EOArchive.java (revision 31)
+++ /trunk/Vox.nib/_Vox_EOArchive.java (revision 41)
@@ -1,4 +1,4 @@
 // _Vox_EOArchive.java
-// Generated by EnterpriseObjects palette at Saturday, June 10, 2006 10:25:19 PM US/Pacific
+// Generated by EnterpriseObjects palette at Tuesday, June 20, 2006 3:11:39 PM US/Pacific
 
 import com.webobjects.eoapplication.*;
@@ -55,5 +55,5 @@
         _nsView0.setSize(199, 96);
         _eoFrame0.setTitle("Vox");
-        _eoFrame0.setLocation(468, 388);
+        _eoFrame0.setLocation(430, 557);
         _eoFrame0.setSize(199, 96);
     }
Index: /trunk/Vox.nib/info.nib
===================================================================
--- /trunk/Vox.nib/info.nib (revision 31)
+++ /trunk/Vox.nib/info.nib (revision 41)
@@ -4,5 +4,5 @@
 <dict>
 	<key>IBDocumentLocation</key>
-	<string>422 106 356 240 0 0 1440 938 </string>
+	<string>106 124 356 240 0 0 1440 938 </string>
 	<key>IBFramework Version</key>
 	<string>443.0</string>
Index: /trunk/TransparentWindow.m
===================================================================
--- /trunk/TransparentWindow.m (revision 2)
+++ /trunk/TransparentWindow.m (revision 41)
@@ -21,5 +21,4 @@
 								  backing:NSBackingStoreBuffered 
 									defer:NO]) {
-		[NSApp setApplicationIconImage:[NSImage imageNamed: @"tplogo"]];
         [self setLevel: NSStatusWindowLevel];
         [self setBackgroundColor: [NSColor clearColor]];
Index: /trunk/Info.plist
===================================================================
--- /trunk/Info.plist (revision 15)
+++ /trunk/Info.plist (revision 41)
@@ -12,5 +12,5 @@
 	<string>Fence Help</string>
 	<key>CFBundleIconFile</key>
-	<string></string>
+	<string>fence.icns</string>
 	<key>CFBundleIdentifier</key>
 	<string>com.socklabs.Fence</string>
@@ -24,5 +24,5 @@
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>0.7</string>
+	<string>0.8</string>
 	<key>NSMainNibFile</key>
 	<string>MainMenu</string>
Index: /trunk/TypePad.h
===================================================================
--- /trunk/TypePad.h (revision 36)
+++ /trunk/TypePad.h (revision 41)
@@ -9,5 +9,4 @@
 #import <Cocoa/Cocoa.h>
 #import <Growl/Growl.h>
-#import "TypePadSuper.h"
 #import "TypePadWeblog.h"
 #import "TypePadGallery.h"
Index: /trunk/TypePad.m
===================================================================
--- /trunk/TypePad.m (revision 39)
+++ /trunk/TypePad.m (revision 41)
@@ -25,5 +25,4 @@
 			accounts = [[NSMutableDictionary alloc] init];
 			defaultaccount = [[NSString alloc] init];
-			// [self preload_values];
         }
     }
@@ -101,5 +100,5 @@
 
 - (void) weblog_newpost: (NSString *) text dest:(NSString *) dest {
-	NSLog(@"- (void) weblog_newpost: (NSString *) text - called\n");
+	// NSLog(@"- (void) weblog_newpost: (NSString *) text - called\n");
 	TypePadAtomAPI *client = [[TypePadAtomAPI alloc] init];
 	[client setAuth:[self defaultaccount] pass:[self defaultAccountPass]];
@@ -110,9 +109,9 @@
 
 - (void) weblog_upload: (NSArray *) files dest:(NSString *) dest {
-	NSLog(@"- (void) weblog_upload: (NSArray *) files - called\n");
+	// NSLog(@"- (void) weblog_upload: (NSArray *) files - called\n");
 	NSEnumerator *enumerator = [files objectEnumerator]; 
 	NSString *path; 
 	while( path = [enumerator nextObject] ) { 
-		NSLog([NSString stringWithFormat:@"Uploading file %@", path]);
+		// NSLog([NSString stringWithFormat:@"Uploading file %@", path]);
 		TypePadAtomAPI *client = [[[TypePadAtomAPI alloc] init] autorelease];
 		[client setAuth:[self defaultaccount] pass:[self defaultAccountPass]];
@@ -124,9 +123,9 @@
 
 - (void) gallery_upload: (NSArray *)files dest:(NSString *) dest {
-	NSLog(@"- (void) gallery_upload: (NSArray *) files - called\n");
+	// NSLog(@"- (void) gallery_upload: (NSArray *) files - called\n");
 	NSEnumerator *enumerator = [files objectEnumerator]; 
 	NSString *path; 
 	while( path = [enumerator nextObject] ) { 
-		NSLog([NSString stringWithFormat:@"Uploading file %@", path]);
+		// NSLog([NSString stringWithFormat:@"Uploading file %@", path]);
 		TypePadAtomAPI *client = [[[TypePadAtomAPI alloc] init] autorelease];
 		[client setAuth:[self defaultaccount] pass:[self defaultAccountPass]];
@@ -161,5 +160,5 @@
 // text
 - (void) handleTypeOne: (NSString *) text {
-	NSLog(@"- (void) handleTypeOne: (NSString *) text - called\n");
+	// NSLog(@"- (void) handleTypeOne: (NSString *) text - called\n");
 	NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
 	NSString *postloc = [userDefaults objectForKey:@"text destination type"];
@@ -173,5 +172,5 @@
 // image
 - (void) handleTypeThree: (NSArray *) list {
-	NSLog(@"- (void) handleTypeThree: (NSArray *) list - called\n");
+	// NSLog(@"- (void) handleTypeThree: (NSArray *) list - called\n");
 	NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
 	NSString *postloc = [userDefaults objectForKey:@"image destination type"];
@@ -189,5 +188,5 @@
 
 - (int) handleTypes: (NSPasteboard *) pb {
-	NSLog(@"- (int) handleTypes:(NSPasteboard *) pb - called\n");
+	// NSLog(@"- (int) handleTypes:(NSPasteboard *) pb - called\n");
     NSArray *types = [self allowTypes];
 	unsigned int i, count = [types count];
@@ -202,5 +201,5 @@
 				totalcount++;
 				[ntypes setObject:[obj description] forKey:[NSString stringWithFormat:@"%@_%@",  methods[m], type]];
-				NSLog(@"%@ - %@ - %@\n",  methods[m], type, [obj description]);
+				// NSLog(@"%@ - %@ - %@\n",  methods[m], type, [obj description]);
 			}
 		}
Index: /unk/TypePadSuper.h
===================================================================
--- /trunk/TypePadSuper.h (revision 26)
+++  (revision )
@@ -1,26 +1,0 @@
-//
-//  TypePadSuper.h
-//  Fence
-//
-//  Created by Nicholas Gerakines on 5/20/06.
-//  Copyright 2006 __MyCompanyName__. All rights reserved.
-//
-
-#import <Cocoa/Cocoa.h>
-
-
-@interface TypePadSuper : NSObject {
-	NSMutableDictionary *blogs;
-	NSMutableDictionary *galleries;
-}
-
-- (NSMutableDictionary *) blogs;
-- (void) setBlogs: (NSMutableDictionary *) Blogs;
-
-- (NSMutableDictionary *) galleries;
-- (void) setGalleries: (NSMutableDictionary *) Galleries;
-
-- (void) resetBlogs;
-- (void) resetGalleries;
-
-@end
Index: /unk/TypePadSuper.m
===================================================================
--- /trunk/TypePadSuper.m (revision 26)
+++  (revision )
@@ -1,69 +1,0 @@
-//
-//  TypePadSuper.m
-//  Fence
-//
-//  Created by Nicholas Gerakines on 5/20/06.
-//  Copyright 2006 __MyCompanyName__. All rights reserved.
-//
-
-#import "TypePadSuper.h"
-
-
-@implementation TypePadSuper
-
-- (id) init {
-    if (self = [super init]) {
-		blogs = [[NSMutableDictionary alloc] init];
-		galleries = [[NSMutableDictionary alloc] init];
-		[self retain];
-    }
-    return self;
-}
-
-/* dealloc */
-- (void) dealloc {
-    [blogs release];
-    [galleries release];
-	
-    blogs = nil;
-    galleries = nil;
-    [super dealloc];
-}
-
-/* blogs */
-- (NSMutableDictionary *) blogs { return blogs; }
-
-	/* -setBlogs: */
-- (void) setBlogs: (NSMutableDictionary *) Blogs {
-    //NSLog(@"in -setBlogs:, old value of blogs: %@, changed to: %@", blogs, Blogs);
-	
-    if (blogs != Blogs) {
-        [blogs autorelease];
-        blogs = [Blogs retain];
-    }
-}
-
-/* galleries */
-- (NSMutableDictionary *) galleries { return galleries; }
-
-	/* -setGalleries: */
-- (void) setGalleries: (NSMutableDictionary *) Galleries {
-    //NSLog(@"in -setGalleries:, old value of galleries: %@, changed to: %@", galleries, Galleries);
-	
-    if (galleries != Galleries) {
-        [galleries autorelease];
-        galleries = [Galleries retain];
-    }
-}
-
-- (void) resetBlogs {
-	[blogs autorelease];
-	blogs = [[NSMutableDictionary alloc] init];
-}
-
-- (void) resetGalleries {
-	[galleries autorelease];
-	galleries = [[NSMutableDictionary alloc] init];
-}
-
-@end
