woops
This commit is contained in:
parent
91535365b3
commit
f7b431d60b
|
@ -68,6 +68,7 @@ if ($response->isOk()) {
|
||||||
echo "Updating profile from feed: $feedurl\n";
|
echo "Updating profile from feed: $feedurl\n";
|
||||||
$dom = new DOMDocument();
|
$dom = new DOMDocument();
|
||||||
if ($dom->loadXML($response->getBody())) {
|
if ($dom->loadXML($response->getBody())) {
|
||||||
|
$feed = $dom->documentElement;
|
||||||
$entries = $dom->getElementsByTagNameNS(Activity::ATOM, 'entry');
|
$entries = $dom->getElementsByTagNameNS(Activity::ATOM, 'entry');
|
||||||
if ($entries->length) {
|
if ($entries->length) {
|
||||||
$entry = $entries->item(0);
|
$entry = $entries->item(0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user