API/libsapojs/SAPO/Widget/Blogs

[Elements] are optional

Class SAPO.Widget.Blogs


class SAPO.Widget.Blogs
Widget to show latest post from you blog
Defined in Widget/Blogs/0.1/lib.js

Constructor Summary
Blogs()

Function Summary
init()
constructor alias
printNews (Object feed, [Object options])

Constructor Details

constructor Blogs

Blogs()

Function Details

function init

init()
constructor alias

function printNews

printNews(Object feed, [Object options])
Parameters:
feed - feed json Object
[options]
  • [ String divid ] - DOM Element Id that will contain the Widget
  • [ String boxclass ] - className to apply to the widget
  • [ Boolean haslocalproxy ]
  • [ Number maxphotos ] - number of items to display
  • [ String itemprefix ]
  • [ Boolean showsourceblog ]
  • [ Number width ] - Widget width