=====Greqo Demo: get blogger blog feed (list of entries)===== ====Overview==== The example below obtains a ""ClientLogin"" authorization token and then uses it to request the list of blogs affiliated with the current user. A live demo can be found [[http://klenwell.net/greqo/ here]]. See [[GreqoDocLoadLibrary this page]] for information on including the Greqo code library in your script. ====Sample Code==== %%(php) attempting to retrieve blog feed
'; // Get Feed if ( $_DATA['XML_ARRAY'] = $GreqoBlogger->request_feed($GreqoBlogger->blog_id, $num_entries=15, $start=1, $type='full') ) { $_HTML['stdout'] .= 'feed retrieved (see below)
'; $feed_array = print_r($_DATA['XML_ARRAY'], 1); $_HTML['result'] .= "{$feed_array}";
$_CSS['result_height'] = "height:240px;";
}
else
{
$_HTML['stdout'] .= 'request failed (devs have been notified)
'; } ?> %% ---- CategoryGreqo