eZPublishCommunityProject(LegacyStack)  2013.9
rssimport.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Functions

 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()
 

Function Documentation

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()