This method will render a box with BlogItems based on a JSON object converted from an RSS feed


var blogs = new SAPO.Widget.Blogs();
blogs.printNews(Posts,{showsourceblog: false});

Input Parameters

  • (object) feed : JSON object coming from
  • (object) options : Method options
    • (string) boxclass : Optional external CSS class definition for the widget. If not supplied, default CSS is applied.
    • (int) maxphotos : Optional maximum number of displayed photos (default is 10)
    • (bool) showsourceblog : Optional. Show a reference to the source Blog.
    • (string) divid : Optional placeholder id. If not specified, will rendered inline with the method call.


All browsersYes



Other methods from this Class

Error: Failed to load processor ListTagged
No macro or processor named 'ListTagged' found

Community feedback

Error: Failed to load processor AddComment
No macro or processor named 'AddComment' found