RSSKit  0.6.1
Public Member Functions
<RSSMutableArticle> Protocol Reference

#import <RSSArticleProtocol.h>

Inheritance diagram for <RSSMutableArticle>:
<RSSArticle>

List of all members.

Public Member Functions

(void) - addLink:
(void) - setLinks:
(void) - setDate:
- Public Member Functions inherited from
(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:

Detailed Description

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.


Member Function Documentation

- (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.


The documentation for this protocol was generated from the following file: