RSSKit  0.6.1
Instance Methods | List of all members
<RSSMutableArticle > Protocol Reference

#import <RSSArticleProtocol.h>

Inherits <RSSArticle>.

Instance Methods

(void) - addLink:
 
(void) - setLinks:
 
(void) - setDate:
 

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.

Method Documentation

◆ addLink:()

- (void RSSMutableArticle) 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".

◆ setDate:()

- (void RSSMutableArticle) setDate: (NSDate *)  aDate

Sets the article's date.

◆ setLinks:()

- (void RSSMutableArticle) 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: