From: <var...@us...> - 2014-11-15 17:49:44
|
Revision: 9313 http://sourceforge.net/p/phpwiki/code/9313 Author: vargenau Date: 2014-11-15 17:49:36 +0000 (Sat, 15 Nov 2014) Log Message: ----------- PHP Doc Modified Paths: -------------- trunk/lib/RssWriter.php Modified: trunk/lib/RssWriter.php =================================================================== --- trunk/lib/RssWriter.php 2014-11-15 17:44:51 UTC (rev 9312) +++ trunk/lib/RssWriter.php 2014-11-15 17:49:36 UTC (rev 9313) @@ -11,6 +11,10 @@ */ class RssWriter extends XmlElement { + public $_channel; + public $_image; + public $_textinput; + function __construct() { parent::__construct('rdf:RDF', @@ -127,6 +131,11 @@ /** * Create a new RDF <em>typedNode</em>. + * + * @param $type + * @param $properties + * @param bool $uri + * @return XmlElement */ function __node($type, $properties, $uri = false) { @@ -139,6 +148,9 @@ /** * Check object URI for uniqueness, create a unique URI if needed. + * + * @param string $uri + * @return string */ function __uniquify_uri($uri) { @@ -153,6 +165,9 @@ /** * Convert hash of RDF properties to <em>propertyElt</em>s. + * + * @param $elements + * @return array */ function __elementize($elements) { @@ -170,6 +185,8 @@ /** * Check property predicates for XMLNS sanity. + * + * @param string $name */ function __check_predicate($name) { @@ -185,6 +202,10 @@ /** * Create a <em>propertyElt</em> which references another node in the RSS. + * + * @param $predicate + * @param $reference + * @return XmlElement */ function __ref($predicate, $reference) { @@ -224,6 +245,12 @@ /** * Create a new entry + * + * @param $type + * @param $attr + * @param bool $properties + * @param bool $uri + * @return XmlElement */ function __node($type, $attr, $properties, $uri = false) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-02-18 15:58:35
|
Revision: 9548 http://sourceforge.net/p/phpwiki/code/9548 Author: vargenau Date: 2015-02-18 15:58:28 +0000 (Wed, 18 Feb 2015) Log Message: ----------- RSS_ENCODING is UTF-8 Modified Paths: -------------- trunk/lib/RssWriter.php Modified: trunk/lib/RssWriter.php =================================================================== --- trunk/lib/RssWriter.php 2015-02-18 15:46:57 UTC (rev 9547) +++ trunk/lib/RssWriter.php 2015-02-18 15:58:28 UTC (rev 9548) @@ -238,8 +238,8 @@ */ function __spew() { - header("Content-Type: application/atom+xml; charset=" . RSS_ENCODING); - echo('<' . '?xml version="1.0" encoding="' . RSS_ENCODING . '"?' . ">\n"); + header("Content-Type: application/atom+xml; charset=UTF-8"); + echo('<' . '?xml version="1.0" encoding="UTF-8" ?' . ">\n"); $this->printXML(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2021-09-20 12:39:42
|
Revision: 10593 http://sourceforge.net/p/phpwiki/code/10593 Author: vargenau Date: 2021-09-20 12:39:40 +0000 (Mon, 20 Sep 2021) Log Message: ----------- function __node has only 3 parameters Modified Paths: -------------- trunk/lib/RssWriter.php Modified: trunk/lib/RssWriter.php =================================================================== --- trunk/lib/RssWriter.php 2021-09-20 12:34:57 UTC (rev 10592) +++ trunk/lib/RssWriter.php 2021-09-20 12:39:40 UTC (rev 10593) @@ -255,7 +255,7 @@ $attr = array('xmlns' => 'http://www.w3.org/2005/Atom', 'version' => '0.3', // or 1.0 'lang' => $LANG); - $this->_channel = $this->__node('feed', $attr, $properties, $uri); + $this->_channel = $this->__node('feed', $attr, $properties); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2024-01-29 19:41:17
|
Revision: 11077 http://sourceforge.net/p/phpwiki/code/11077 Author: vargenau Date: 2024-01-29 19:41:16 +0000 (Mon, 29 Jan 2024) Log Message: ----------- lib/RssWriter.php: fix by Christof Meerwald Modified Paths: -------------- trunk/lib/RssWriter.php Modified: trunk/lib/RssWriter.php =================================================================== --- trunk/lib/RssWriter.php 2024-01-29 18:43:23 UTC (rev 11076) +++ trunk/lib/RssWriter.php 2024-01-29 19:41:16 UTC (rev 11077) @@ -266,7 +266,7 @@ $attr = array('xmlns' => 'http://www.w3.org/2005/Atom', 'version' => '0.3', // or 1.0 'lang' => $LANG); - $this->_channel = $this->__node('feed', $attr, $properties); + $this->_channel = $this->__atom_node('feed', $attr, $properties); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |