Here is the working example for retrieving the Labels.
public function printFeed($feed)
{
$i = 0;
foreach($feed->entries as $entry)
{
echo "\t" . $i ." ". $entry->title->text . "<br />";
$categories = $entry->category;
$j = 0;
foreach($categories as $labels)
{
echo "Label $j is: ". $categories[$j]->getTerm() . "<br />";
$j++;
}
$i++;
}
}
Thanks,
Lokesh.
On Jul 26, 3:52 am, Jdvno <joaomus...@gmail.com> wrote:
> Hi, can someone help me with labels? Whats is the code to retrieve the
> labels of a post? D you have / can rpovide a working example ? Also,
> how do I schedule a post for publishing? Please provide example,
>
> Best Regards
> Mustra
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
No comments:
Post a Comment