SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Reini U. <ru...@us...> - 2004年05月24日 17:36:18
Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4838/plugin
Modified Files:
	RssFeed.php 
Log Message:
new interface
Index: RssFeed.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/RssFeed.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -2 -b -p -d -r1.5 -r1.6
--- RssFeed.php	18 May 2004 16:18:37 -0000	1.5
+++ RssFeed.php	24 May 2004 17:36:06 -0000	1.6
@@ -56,8 +56,7 @@ extends WikiPlugin
 extract($this->getArgs($argstr, $request));
 
- $xml_parser = xml_parser_create();
 $rss_parser = new RSSParser();
 if (!empty($url))
- $rss_parser->parse_results( $xml_parser, &$rss_parser, $url, $debug);
+ $rss_parser->parse_url( $url, $debug);
 
 if (!empty($rss_parser->channel['title'])) $feed = $rss_parser->channel['title'];
@@ -99,4 +98,6 @@ extends WikiPlugin
 $html->pushContent($cell);
 }
+ if (!check_php_version(5))
+ $rss_parser->__destruct();
 return $html;
 }
@@ -116,4 +117,7 @@ extends WikiPlugin
 
 // $Log$
+// Revision 1.6 2004年05月24日 17:36:06 rurban
+// new interface
+//
 // Revision 1.5 2004年05月18日 16:18:37 rurban
 // AutoSplit at subpage seperators
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /