What is the reason to block this signature?

3 Posts
I'm looking for the javascript API information for displaying the latest Group forum content remotely.
Also, I was wondering... if I wanted to display the latest forum content, blog entries, and comments for a group, would that be the purpose of the "Bulk Viewer"? And is there a sample/example of this somewhere?
I have access to the Developer Wiki, but I'm unable to find this info there either.
Thanks!

85 Posts
Good question.
It sounds like in your case you'd use the bulk viewer because it more works for efficiently than singleton remote viewers. And it loads after the page is fully loaded so that it does not affect the page load times of the rest of the page.
Here is an example of the bulk viewer's usage:
<html>
<head>
<title>Test Remote Articles</title>
<script src="http://[your community's url here]/apis/scripts/remoteBulkViewer.ashx"></script>
<script type="text/javascript">
var tp_bulkViewer = new tp_remoteBulkViewer();
tp_bulkViewer.setProxy('/apis/test/remotemgr/proxy.aspx?url=%url%');
</script>
</head>
<body>
<form id="form1" runat="server">
<div style="margin-top:15px;margin-left:20px;">
<b>My Community Test Remote Comments</b>
Bulk viewer is being used to retrieve num comments. Bulk viewer is cached for 3 minutes.
<a href="remotearticle1.aspx" >Remote Article 1</a>
Num comments: <script type="text/javascript">tp_bulkViewer.add("itemnumcomments","id=1111");</script>
<a href="remotearticle2.aspx" >Remote Article 2</a>
Num comments: <script type="text/javascript">tp_bulkViewer.add("itemnumcomments","id=2222");</script>
</div>
</form>
</body>
</html>
Hope this helps

1 Posts
Getting started and having trouble identifying the ObjectTypes from our community to successfully make widgets work.
For example, I would like to put on Most Popular Blog - I have the basic javascript code from the Wiki, but now I cannot figure out what the ObjectType for our blogs is.
Our community is here:
http://www.spinalcordinjury-paralysis.org
I'm testing out widgets here:
http://www.christopherreeve.org/gethelp
The most popular blog widget I'm trying is saying: Sorry, no blogs found.
Thank you!
Julie

85 Posts
Hey Julie,
Thanks for your question. I'm trying to find an answer and will get back to you with it ASAP.

85 Posts
I looked into this and found that the Most Popular Blogs widget is based on blog ratings. No blogs on your site have been rated. This might not be the widget you're looking for. Until users rate blogs, you may want the Latest Blog Posts widget.
Hope this helps.