#import <RSSArticle.h>
Public Member Functions | |
(id) | - init |
(id) | - initWithHeadline:url:description:date: |
(id) | - initWithHeadline:url:description:time: |
(id) | - initWithCoder: |
Deserializes a RSSArticle object from a NSCoder. | |
(void) | - encodeWithCoder: |
Serializes a RSSArticle object to a NSCoder. | |
(NSString *) | - headline |
(NSString *) | - url |
(NSString *) | - description |
(void) | - addLink: |
(void) | - setLinks: |
(NSArray *) | - links |
(NSDate *) | - date |
(RSSFeed *) | - feed |
(BOOL) | - isEqual: |
|
Adds a new link to this article. This is a NSURL 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". |
|
Returns the date of the publication of the article. If the source feed of this article didn't contain information about this date, the fetching date is usually returned.
|
|
|
|
Returns the source feed of this article.
|
|
|
|
Standard initializer. You shouldn't use this. Better use initWithHeadline:url:description:date:
|
|
Designated initializer for the RSSArticle class. Don't create RSSArticle objects yourself. Create a RSSFeed object and let it fetch the articles for you!
|
|
Old designated initializer for the RSSArticle class. Only here for compatibility reasons. This method is likely to be dropped in future versions.
|
|
RSS Articles are equal if both the article headlines and the article URLs are equal. If they are equal is tested by calling the isEqual: method on those. |
|
Returns an NSArray containing NSURL objects or nil, if there are none. The contained NSURL objects often have the "type" and "rel" properties set. See the documentation for addLink: for details.
|
|
Replaces the list of links with a new one. See the documentation for addLink: for details. Hint: The parameter may also be nil. |
|
|