Poke is fixed (#5689)
* Fix: Poke hasn't worked. It does work now partially * Poke are now displayed good again * removed code
This commit is contained in:
committed by
Hypolite Petovan
parent
91a3bf5610
commit
99b8f85624
@@ -229,12 +229,11 @@ function localize_item(&$item)
|
||||
$xmlhead = "<" . "?xml version='1.0' encoding='UTF-8' ?" . ">";
|
||||
|
||||
$obj = XML::parseString($xmlhead.$item['object']);
|
||||
$links = XML::parseString($xmlhead."<links>".unxmlify($obj->link)."</links>");
|
||||
|
||||
$Bname = $obj->title;
|
||||
$Blink = "";
|
||||
$Bphoto = "";
|
||||
foreach ($links->link as $l) {
|
||||
foreach ($obj->link as $l) {
|
||||
$atts = $l->attributes();
|
||||
switch ($atts['rel']) {
|
||||
case "alternate": $Blink = $atts['href'];
|
||||
|
||||
Reference in New Issue
Block a user