SAPO::Widget.Tags->printBookmarks

This method will render a box with a list of Websites / URLs based on a JSON object converted from an RSS feed, from  SAPO Tags.

Syntax

var tags = new SAPO.Widget.Tags();
tags.printBookmarks(feed,options);

Compatibility

All browsersYes

Depends

Input Parameters

Input parameteres ares passed in a JSON using the following keys:

  • (object) feed : JSON object name (TAG) coming from  http://services.sapo.pt/Tags/JSON/user/USER?jsonTag=TAG
  • (object) option : Method options
    • (string) boxclass : Optional external CSS class definition for the widget. If not supplied, default CSS is applied.
    • (integer) width : (optional) width of the box. default is 400
    • (bool) usefavicon : (optional) show favicons from bookmark sites. default is true.
    • (string) usefavicon : (optional) favicon image alignment. default is 'left'. Can be 'right'.
    • (integer) maxitems : (optional) Maximum number of items on the list. Default is 10.
    • (string) divid : (optional) div ID for the box to be rendered. If not specified, then will be rendered after call.

Sample

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