eZPublish  3.8
rssimport.php File Reference

Functions

 getCDATA ($xmlDomNode)
 
 importRSSItem ($item, &$rssImport, &$cli, $channel)
 
 recursiveFindRSSElementValue ($importDescriptionArray, $xmlDomNode)
 
 rssImport1 (&$root, &$rssImport, &$cli)
 
 rssImport2 (&$root, &$rssImport, &$cli)
 
 setEZXMLAttribute (&$attribute, &$attributeValue, $link=false)
 
 setObjectAttributeValue (&$objectAttribute, $value)
 

Variables

 $rssImportArray = eZRSSImport::fetchActiveList()
 
 foreach (array_keys($rssImportArray) as $rssImportKey)
 

Function Documentation

getCDATA (   $xmlDomNode)
importRSSItem (   $item,
$rssImport,
$cli,
  $channel 
)

Import specifiec rss item into content tree

Parameters
RSSitem xml element
$rssImportObject
cli
channel
Returns
1 if object added, 0 if not

Referenced by rssImport1(), and rssImport2().

recursiveFindRSSElementValue (   $importDescriptionArray,
  $xmlDomNode 
)

Referenced by importRSSItem().

rssImport1 ( $root,
$rssImport,
$cli 
)

Parse RSS 1.0 feed

Parameters
DOMroot node
RSSImport item
cli
rssImport2 ( $root,
$rssImport,
$cli 
)

Parse RSS 2.0 feed

Parameters
DOMroot node
RSSImport item
cli
setEZXMLAttribute ( $attribute,
$attributeValue,
  $link = false 
)

Referenced by setObjectAttributeValue().

setObjectAttributeValue ( $objectAttribute,
  $value 
)

Referenced by importRSSItem().

Variable Documentation

$rssImportArray = eZRSSImport::fetchActiveList()
foreach
Initial value:
= array( 'contentobject_id' => '',
'data_type_string' => 'ezobjectrelationlist' )