summaryrefslogtreecommitdiffstats
path: root/wp-includes/atomlib.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-04 16:44:15 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-04 16:44:15 +0000
commit7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc (patch)
treec6fd23b598f3994eddb18cb1c0f2e8d95ff054fa /wp-includes/atomlib.php
parentf650f48c048bfbbb2ae702b6425d87e39358d748 (diff)
downloadwordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.tar.gz
wordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.tar.xz
wordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.zip
Merged with WordPress 2.5, unstable, only for testing
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1218 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/atomlib.php')
-rw-r--r--wp-includes/atomlib.php53
1 files changed, 47 insertions, 6 deletions
diff --git a/wp-includes/atomlib.php b/wp-includes/atomlib.php
index a518908..9c2335c 100644
--- a/wp-includes/atomlib.php
+++ b/wp-includes/atomlib.php
@@ -1,26 +1,67 @@
<?php
/*
- * atomlib.php - Atom Syndication Format PHP Library
+ * Atom Syndication Format PHP Library
*
- * Project: http://code.google.com/p/phpatomlib/
- *
- * Author: Elias Torres <elias@torrez.us>
- * Version: 0.4
+ * @package AtomLib
+ * @link http://code.google.com/p/phpatomlib/
*
+ * @author: Elias Torres <elias@torrez.us>
+ * @version: 0.4
+ * @since 2.3
*/
+/**
+ * Structure that store common Atom Feed Properties
+ *
+ * @package AtomLib
+ */
class AtomFeed {
+ /**
+ * Stores Links
+ * @var array
+ * @access public
+ */
var $links = array();
+ /**
+ * Stores Categories
+ * @var array
+ * @access public
+ */
var $categories = array();
-
+ /**
+ * Stores Entries
+ *
+ * @var array
+ * @access public
+ */
var $entries = array();
}
+/**
+ * Structure that store Atom Entry Properties
+ *
+ * @package AtomLib
+ */
class AtomEntry {
+ /**
+ * Stores Links
+ * @var array
+ * @access public
+ */
var $links = array();
+ /**
+ * Stores Categories
+ * @var array
+ * @access public
+ */
var $categories = array();
}
+/**
+ * AtomLib Atom Parser API
+ *
+ * @package AtomLib
+ */
class AtomParser {
var $NS = 'http://www.w3.org/2005/Atom';