|
Dec 15 2009, 3:50 PM EST
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 2032)
|
|
Feb 4 2009, 5:40 PM EST
|
|
|
edit |
8 words deleted
|
|
Change: You can also download the ASP.NET Server Control using System; using System.Collections.Generic; using System.Linq; using System.Web; public static class LoginManager { public LoginManger() { // // TODO: Add constructor logic here // } public static String EnsureLoginWP(string userID, string userName, string userDisplayName, string userUrl, bool userEmailOptIn, string userEmail, string
View changes from previous version.
(Word count: 2032)
|
|
Nov 14 2008, 6:41 AM EST
|
|
|
edit |
2 words added
1 word deleted
|
|
Change: UserCustom Server Control by Atilla Yadik at Webhun.com. You will find 2005 and 2008 version of the control. Enjoy. <%@ Page Language="C#" %><script runat="server"> protected void Page_Load(object sender, EventArgs e)public String renderWetpaintContent() {Uri wpUrl = new Uri("http://wapi.wetpaint.com/CellService/getCellContent.do?key=507ace0d168024cbcb53a9add0e6fe4e9796012e6b420cfafabac6a4357824ef&ns=sandbox-trial&cell.cellId=sample&cell.displayName=testuser&cell.url=www.example.com&output=html");
View changes from previous version.
(Word count: 2041)
|
|
Nov 9 2008, 9:17 AM EST
|
|
|
edit |
19 words added
|
|
Change: . You will find 2005 and 2008 version of the control. Enjoy. <%@ Page Language="C#" %><script runat="server"> protected void Page_Load(object sender, EventArgs e)public String renderWetpaintContent() {Uri wpUrl = new Uri("http://wapi.wetpaint.com/CellService/getCellContent.do?key=507ace0d168024cbcb53a9add0e6fe4e9796012e6b420cfafabac6a4357824ef&ns=sandbox-trial&cell.cellId=sample&cell.displayName=testuser&cell.url=www.example.com&output=html");System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.CreateDefault(wpUrl);
View changes from previous version.
(Word count: 2040)
|
|
Nov 8 2008, 7:19 PM EST
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 2021)
|
|
Nov 8 2008, 7:17 PM EST
|
|
|
edit |
8 words added
|
|
Change: You can also download the ASP.NET Server Control using System; using System.Collections.Generic; using System.Linq; using System.Web; public static class LoginManager { public LoginManger() { // // TODO: Add constructor logic here // } public static String EnsureLoginWP(string userID, string userName, string userDisplayName, string userUrl, bool userEmailOptIn, string userEmail, string
View changes from previous version.
(Word count: 2021)
|
|
Oct 22 2008, 2:43 PM EDT
|
|
|
edit |
140 words added
|
|
Change: if( preg_match( "/<ticket>(.*)<\/ticket>/", $result, $match_array ) == 1 ) { //Get ticket value $wetpaint_ticket = $match_array[1]; $ticket = $match_array[1]; //setcookie("wetpaint-togo",$ticket, time()+3600*12 ); // Probably you will save value in cookie}?></body></html> Asp.Net: using System; using System.Collections.Generic; using System.Linq; using System.Web; public static class LoginManager { public LoginManger()
View changes from previous version.
(Word count: 2012)
|
|
Oct 6 2008, 12:52 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 1859)
|
|
Oct 6 2008, 12:52 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 1859)
|
|
Sep 29 2008, 12:09 PM EDT
|
|
|
edit |
4 words added
12 words deleted
|
|
Change: Summary description for LoginManger /// </summary> public static class LoginMangerLoginManager { public LoginManger(){ // // TODO: Add constructor logic here // } public static String EnsureLoginWP(string userID, string userName, string userDisplayName, string userUrl, bool userEmailOptIn, string userEmail, string cellId) { //requirentments string url = "http://wapi.wetpaint.com/UserService/login.do";Uri
View changes from previous version.
(Word count: 1859)
|
|
Sep 29 2008, 11:58 AM EDT
|
|
|
edit |
1 word added
1 word deleted
|
|
Change: StringBuffer("http://togo.wetpaint.com/CellService/getCellContent.do?");StringBuffer("http://wapi.wetpaint.com/CellService/getCellContent.do?");urlString.append("key="+developerKey);urlString.append("&ns="+namespace);urlString.append("&cell.cellId="+cellName);urlString.append("&cell.displayName="+cellDisplayName);urlString.append("&cell.url="+cellUrl);URL url = new URL(urlString.toString());HttpURLConnection connection = (HttpURLConnection)url.openConnection();connection.setRequestMethod("GET");connection.setDoInput(true);connection.setDoOutput(false);connection.setUseCaches(false);InputStream istrm = connection.getInputStream();ByteArrayOutputStream bstrm = new ByteArrayOutputStream();int ch;while ((ch = istrm.read()) != -1) {bstrm.write(ch);}String s = new String(bstrm.toByteArray());bstrm.close();out.println(s.toString());%></body
View changes from previous version.
(Word count: 1864)
|
|
Sep 29 2008, 11:51 AM EDT
|
|
|
edit |
7 words added
7 words deleted
|
|
Change: http://togo.wetpaint.com/CellService/getCellContent.do?key=http://wapi.wetpaint.com/CellService/getCellContent.do?key=developerkey&ns=namespace&cell.cellId=cellname This URL retrieves the "Hello World" content from the Wetpaint Injected API, providing it the following values: Developer Key - a unique key provided when you are approved for Wetpaint Injected (e.g. "507ace0d168024cbcb53a9add0e6fe4e9796012e6b420cfafabac6a4357824ef") Namespace - this is a unique name
View changes from previous version.
(Word count: 1864)
|
|
Sep 28 2008, 7:13 PM EDT
|
|
|
edit |
8 words added
1 word deleted
|
|
Change: //ticket variable holds the return ticket valuestring ticket; TimeSpan ts = (DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0));long unixTime = (long)ts.TotalSeconds;System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding();String sigString = developerKey + userID + unixTime;System.Security.Cryptography.HMACSHA1 hmacSha =
View changes from previous version.
(Word count: 1864)
|
|
Sep 28 2008, 7:07 PM EDT
|
|
|
edit |
38 words added
5 words deleted
|
|
Change: Summary description for LoginManger /// </summary> public static class LoginManger {usingpublic System.Text;LoginManger(){// // TODO: Add constructor logic here // } public static String EnsureLoginWP(string userID, string userName, string userDisplayName, string userUrl, bool userEmailOptIn, string userEmail, string cellId){ //requirentments string url = "http://wapi.wetpaint.com/UserService/login.do";
View changes from previous version.
(Word count: 1858)
|
|
Sep 28 2008, 4:57 PM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 1830)
|
|
Sep 28 2008, 4:54 PM EDT
|
|
|
edit |
296 words added
1 word deleted
|
|
Change: sigString = developerKey + userID + unixTime;System.Security.Cryptography.HMACSHA1 hmacSha = new System.Security.Cryptography.HMACSHA1(encoding.GetBytes(wetPaint.DeveloperSecret));byte[] sigHash = hmacSha.ComputeHash(encoding.GetBytes(sigString));//byte[] sigHash = sha.ComputeHash(encoding.GetBytes(sigString)); string encodedSigString = GetAsHexaDecimal(sigHash);string data = "key=" + developerKey + "&ns=" + ns +"&output=api&user.userId=" +wetPaintUser.UserID + "&user.email=" + userEmail + "&user.emailOptIn=" +userEmailOptIn
View changes from previous version.
(Word count: 1830)
|
|
Sep 25 2008, 3:49 AM EDT
|
|
|
edit |
|
|
Change: There were only format changes (bold, italics, etc.) in this version. See this version for details.
(Word count: 1544)
|
|
Sep 23 2008, 6:08 PM EDT
|
|
|
move |
No content added or deleted. |
|
Change: Moved by Sep 23 2008, 6:08 PM EDT
|
|
Sep 23 2008, 5:41 PM EDT
|
|
|
edit |
7 words added
18 words deleted
|
|
Change: Unique developer keys are assigned to Wetpaint InjectedGet developersyour uponown approval.developer Contactkey Wetpainttoday to request your developer key.. The following is an example of the URL with working test values: http://togo.wetpaint.com/CellService/getCellContent.do?key=507ace0d168024cbcb53a9add0e6fe4e9796012e6b420cfafabac6a4357824ef&ns=sandbox-trial&cell.cellId=sample&cell.displayName=Testuser&cell.url=http://www.example.com(Click on the link to see
View changes from previous version.
(Word count: 1544)
|
|
Sep 2 2008, 5:55 PM EDT
|
|
|
edit |
15 words added
3 words deleted
|
|
Change: <your developer key>" type="text/javascript"></script></head> <body>... After adding the script code, your webpage now includes Wetpaint Injected client controls instead of text (e.g. the EasyEdit button and the "What's this?" link): Web page Before and After Client is Added Step 4: Enable the EasyEdit Button
View changes from previous version.
(Word count: 1556)
|