Author: as
Date: Mon Oct  8 14:25:19 2007
New Revision: 6386

Log:
- Added another way of using feeds in the ezcFeed comments.

Modified:
    trunk/Feed/src/feed.php

Modified: trunk/Feed/src/feed.php
==============================================================================
--- trunk/Feed/src/feed.php [iso-8859-1] (original)
+++ trunk/Feed/src/feed.php [iso-8859-1] Mon Oct  8 14:25:19 2007
@@ -68,6 +68,14 @@
  *      <code>
  *        $feed->DublinCore->description = 'Detailed description';
  *        $title = $feed->DublinCore->description;
+ *      </code>
+ *  - iterate over the items in the feed. An item in the feed is of class
+ *    [EMAIL PROTECTED] ezcFeedItem}. Example:
+ *      <code>
+ *        foreach ( $feed as $item )
+ *        {
+ *            $titles[] = $item->title;
+ *        }
  *      </code>
  *  - generate an XML document from the ezcFeed object. Example:
  *      <code>


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to