Skip to content

Commit

Permalink
Fix Forum samples.
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Moloney committed May 13, 2014
1 parent e97f4b2 commit de04984
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<%@page import="com.ibm.sbt.services.client.connections.files.FileService"%>
<%@page import="com.ibm.sbt.services.client.connections.files.Comment"%>
<%@page import="com.ibm.sbt.services.client.connections.files.File"%>
<%@page import="com.ibm.sbt.services.client.connections.files.FileList"%>
<%@page import="com.ibm.sbt.services.client.connections.common.Tag"%>
<%@page import="java.nio.charset.Charset"%>
<%@page import="java.io.ByteArrayInputStream"%>
<%@page import="org.w3c.dom.Document"%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<%@page import="java.util.HashMap"%>
<%@page import="com.ibm.sbt.services.client.connections.forums.ForumService"%>
<%@page import="com.ibm.sbt.services.client.connections.forums.Forum"%>
<%@page import="com.ibm.sbt.services.client.connections.forums.Tag"%>
<%@page import="com.ibm.sbt.services.client.connections.common.Tag"%>
<%@page import="com.ibm.sbt.services.client.base.datahandlers.EntityList"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
Expand All @@ -46,8 +46,7 @@
for (Tag tag : tags) {
out.println("<b>Tag : </b> " + tag.getTerm());
out.println("<b>Tag Frequency: </b> " + tag.getFrequency());
out.println("<b>Tag Visibility :</b> "+ tag.getVisibility());
out.println("<b>Tag Intensity :</b> " + tag.getIntensity());
out.println("<b>Visible:</b> "+ tag.isVisible());
out.println("<br>");
}
} catch (Throwable e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<%@page import="java.util.Map"%>
<%@page import="java.util.HashMap"%>
<%@page import="com.ibm.sbt.services.client.connections.forums.ForumService"%>
<%@page import="com.ibm.sbt.services.client.connections.forums.Tag"%>
<%@page import="com.ibm.sbt.services.client.connections.common.Tag"%>
<%@page import="com.ibm.sbt.services.client.base.datahandlers.EntityList"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
Expand All @@ -43,9 +43,8 @@
for (Tag tag : tags) {
out.println("<b>Tag : </b> " + tag.getTerm());
out.println("<b>Tag Frequency: </b> " + tag.getFrequency());
out.println("<b>Tag Visibility :</b> "
+ tag.getVisibility());
out.println("<b>Tag Intensity :</b> " + tag.getIntensity());
out.println("<b>Visible:</b> "
+ tag.isVisible());
out.println("<br>");
}
} catch (Throwable e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
out.println("date published :"+entry.getPublished()+"<br>");
out.println("date updated : "+entry.getUpdated()+"<br>");
out.println("author name : "+author.getName()+"<br>");
out.println("author state : "+author.getState()+"<br>");
out.println("author state : "+author.getUserState()+"<br>");
out.println("author email : "+author.getEmail()+"<br>");
out.println("author uid : "+author.getId()+"<br>");
out.println("forum title : "+entry.getTitle()+"<br>");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
out.println("date published :"+entry.getPublished());
out.println("date updated : "+entry.getUpdated());
out.println("author name : "+author.getName());
out.println("author state : "+author.getState());
out.println("author state : "+author.getUserState());
out.println("author email : "+author.getEmail());
out.println("author uid : "+author.getId());
out.println("forum title : "+entry.getTitle());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
out.println("date published :" + entry.getPublished() + "<br>");
out.println("date updated : " + entry.getUpdated() + "<br>");
out.println("author name : " + author.getName() + "<br>");
out.println("author state : " + author.getState()+ "<br>");
out.println("author state : " + author.getUserState()+ "<br>");
out.println("author email : " + author.getEmail()+ "<br>");
out.println("author uid : " + author.getId() + "<br>");
out.println("forum title : " + entry.getTitle() + "<br>");
Expand Down

0 comments on commit de04984

Please sign in to comment.