removed some warnings in ampArticle
This commit is contained in:
@@ -162,9 +162,9 @@ return json_encode(
|
|||||||
'@type'=>"NewsArticle",
|
'@type'=>"NewsArticle",
|
||||||
'mainEntityOfPage'=>array(
|
'mainEntityOfPage'=>array(
|
||||||
'@type'=>"WebPage",
|
'@type'=>"WebPage",
|
||||||
'@id'=>"https://cwsvjudo.bplaced.net/news/".$aNews['nr']."/".toAscii($aNews['datum']."-".$aNews['betreff'])
|
'@id'=>"http://cwsvjudo.bplaced.net/news/".$aNews['nr']."/".toAscii($aNews['datum']."-".$aNews['betreff'])
|
||||||
),
|
),
|
||||||
'headline'=>"Article headline",
|
'headline'=>$aNews['betreff'],
|
||||||
'image'=>array(
|
'image'=>array(
|
||||||
"http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.256w.png"
|
"http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.256w.png"
|
||||||
),
|
),
|
||||||
@@ -172,7 +172,8 @@ return json_encode(
|
|||||||
'dateModified'=>$aNews['datum'],
|
'dateModified'=>$aNews['datum'],
|
||||||
'author'=>array(
|
'author'=>array(
|
||||||
'@type'=>"Person",
|
'@type'=>"Person",
|
||||||
'name'=>$aNews['autor']
|
'name'=>$aNews['autor'],
|
||||||
|
'url'=>"://cwsvjudo.bplaced.net"
|
||||||
),
|
),
|
||||||
'publisher'=>array(
|
'publisher'=>array(
|
||||||
'@type'=>"Organization",
|
'@type'=>"Organization",
|
||||||
|
|||||||
Reference in New Issue
Block a user