fix blog sap dataflow (reset var)

This commit is contained in:
lutranf
2014-08-08 16:44:34 +02:00
parent 7399950574
commit ee864855cf

View File

@@ -512,20 +512,18 @@ class Databap extends PhpObject
private function getSAPBlogRss()
{
$asArticles = array();
//SCN SAP
$sSAPDomain = 'http://scn.sap.com';
$asBlogPaths = array( '/community/data-warehousing/bw/blog',
'/community/data-warehousing/blog/',
'/community/bw-hana/blog');
//TODO add http://www.biportal.org/sap_bi_blog
//TODO add http://sapbwbw.com/
foreach($asBlogPaths as $sSAPBlogPath)
{
$sSAPBlogUrl = $sSAPDomain.$sSAPBlogPath;
$oDom = $this->getRemotePageDom($sSAPBlogUrl);
$aoArticles = $oDom->getElementsByTagName('header');
$asArticles = array();
foreach($aoArticles as $oArticle)
{
if($oArticle->getAttribute('class')=='jive-blog-post-subject')