Hi!

As Yen-Ju is currently actively working with RSSKit, here are some
comments on the changes I made yesterday. :-)

On Tue, Oct 31, 2006 at 11:18:10AM -0000, G??nther Noack wrote:
> Author: guenther
> Date: Tue Oct 31 12:18:08 2006
> New Revision: 1104
> 
> URL: http://svn.gna.org/viewcvs/etoile?rev=1104&view=rev
> Log:
> Podcasting support, new RSSLink class (and subclasses), RSSArticle -content 
> method
> 
> Added:
>     trunk/Etoile/Frameworks/RSSKit/RSSLinks.h
>     trunk/Etoile/Frameworks/RSSKit/RSSLinks.m

This contains the RSSLink class (subclass of NSURL) and subclasses to
it. The RSSLink class is abstract (as far as you can say that in ObjC)
and has a factory class method for creating instances of its subclasses.
The subclasses represent the different types of links you can find in a
RSSArticle.

In most parts of the interface, NSURL* is still returned instead of
RSSLink.

The switch to RSSLink instead of NSURL* may have broken the
NSCoder-based serialization system, but the Plist-based one still works.
As Yen-Ju uses none of both in the current Grr version, it doesn't
matter at the moment.


> Modified:
>     trunk/Etoile/Frameworks/RSSKit/ChangeLog
>     trunk/Etoile/Frameworks/RSSKit/GNUmakefile

The usual additions (files in GNUmakefile, entry to ChangeLog


>     trunk/Etoile/Frameworks/RSSKit/RSSArticle+Storage.m

Fixes a bug in storage where URLs are not properly restored from
storage.

>     trunk/Etoile/Frameworks/RSSKit/RSSArticle.h
>     trunk/Etoile/Frameworks/RSSKit/RSSArticle.m

Changes the interface a bit:

-(NSString*) content;   // returns full text of the article. Please use
this instead of the -description method from now on!

Setter -(void)feed:(RSSFeed*) renamed to -setFeed:

-(NSURL*)enclosure;
This method returns the 'enclosure' of the article. The enclosure is a
link to a podcasted media file like an MP3 file or a video. (w00t!
RSSKit supports podcasts! :-))

>     trunk/Etoile/Frameworks/RSSKit/RSSArticleCreationListener.m
>     trunk/Etoile/Frameworks/RSSKit/RSSFeed.m
>     trunk/Etoile/Frameworks/RSSKit/RSSKit.h

Those threee files have just small changes which are not important.


-Guenther


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à