RSSKit
0.6.1
|
#import <RSSArticleProtocol.h>
Public Member Functions | |
(void) | - addLink: |
(void) | - setLinks: |
(void) | - setDate: |
![]() | |
(NSString *) | - headline |
(NSString *) | - url |
(NSString *) | - content |
(NSArray *) | - links |
(NSDate *) | - date |
(NSURL *) | - enclosure |
(void) | - setAutoClear: |
(BOOL) | - autoClear |
(id< RSSFeed >) | - feed |
(NSDictionary *) | - plistDictionary |
(BOOL) | - store |
(void) | - willBeReplacedByArticle: |
Instances conforming to this protocol can be modified. Applications usually don't want to modify articles, as they are already created by the feeds, so handing around articles as id<RSSArticle> is a good way to ensure nobody (without malicious intentions) is going to change them.
- (void) addLink: | (NSURL *) | anURL |
Adds a new link to this article. This is a RSSLink object, which usually has the "type" property set to an NSString which represents the resource's MIME type. You may also specify the "rel" property, which should be one of "enclosure", "related", "alternate", "via".
- (void) setDate: | (NSDate *) | aDate |
Sets the article's date.
- (void) setLinks: | (NSArray *) | someLinks |
Replaces the list of links with a new one. See the documentation for addLink: for details. Hint: The parameter may also be nil.