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 browsers | Yes |
Depends
- http://js.sapo.pt/SAPO/
- http://js.sapo.pt/SAPO/Exception
- http://js.sapo.pt/SAPO/Utility/String
- http://js.sapo.pt/SAPO/Utility/Variable
- http://js.sapo.pt/SAPO/Widget/Parser
- http://js.sapo.pt/SAPO/Utility/CSS
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
Community feedback