RSSKit
0.6.1
|
00001 /* -*-objc-*- 00002 * 00003 * GNUstep RSS Kit 00004 * Copyright (C) 2006 Guenther Noack 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation, in version 2.1 00009 * of the License 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00021 #import "DOMParser.h" 00022 #import "RSSArticleCreationListener.h" 00023 00024 @interface FeedParser : RSSArticleComposer 00025 { 00026 } 00027 00028 // instantiation 00029 00030 +(id) parser; 00031 +(id) parserWithDelegate: (id)aDelegate; 00032 -(id) init; 00033 00034 // parsing 00035 00036 -(void) parseWithRootNode: (XMLNode*) root; 00037 00038 00039 00040 00041 // helper methods 00042 00043 -(NSString*) stringFromHTMLAtNode: (XMLNode*) root; 00044 00048 -(void) foundFeedName: (NSString*) feedName; 00049 00050 @end