//
//  Created by Björn Sållarp on 4/25/11.
//  NO Copyright, NO rights reserved.
//
//  Use this code any way you like. If you do like it, please
//  link to my blog and/or write a friendly comment. Thank you!
//
//  Read my blog @ http://blog.sallarp.com
//

#import <Foundation/Foundation.h>
#import "BSAtomFeedTextElement.h"

@class BSAtomFeedCategory, BSAtomFeedLink;

@interface BSAtomFeedBase : NSObject
@property (nonatomic, strong) BSAtomFeedTextElement *title;
@property (nonatomic, strong) NSString *updated;
@property (nonatomic, strong) NSString *id;
@property (nonatomic, strong) NSMutableArray *links;
@property (nonatomic, strong) NSMutableArray *categories;
@property (nonatomic, strong) NSMutableArray *contributors;
@property (nonatomic, strong) NSMutableArray *authors;

+ (NSDate *)rfc3339DateFromString:(NSString *)string;
- (NSDate *)updatedDate;

- (void)addCategory:(BSAtomFeedCategory *)category;
- (void)addLink:(BSAtomFeedLink *)link;

@end
