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:
parent
91a3bf5610
commit
99b8f85624
2 changed files with 19 additions and 21 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue