BlogSvc Now Supports Comments
Posted in BlogSvc, Website, jQuery by JarrettV on 8/23/2008 9:49:14 PM - CST
The
WCF annotation support in BlogSvc has been updated with the
standardized Atom Threading
Extensions. The website has also been updated with a very unique
method of creating new comments. Lets just say, classic
forms + jquery + ajax + rest = awesome. Most of the new
code is in the Annotate.ascx. And most of that code is
javascript/jquery code.
Currently, BlogSvc only supports anonymous comments. I do plan to support OpenID. In the meantime, all commentators are required to supply an email and website. Commentators can use html in their comments. I am using some anti-xss code to sanitize the html.
Thanks to jquery there is some pretty validation going on. I must say, I really like jquery. However, there are some quarks when working with jquery and calling a service that returns xml with a custom content-type such as application/xml+atom. However, I found workarounds to get things working.
Finally, BlogSvc does support threading comments. However, the website does not yet support annotating an annotation. It should be very easy to add using jquery.
I've also added some technical information to the Documentation.
Feel free to leave a comment to test things out.
Comments
Posted by JarrettV on 8/31/2008 11:37:16 PM - CST
Posted by gpc on 9/2/2008 9:31:26 AM - CST
Posted by Zogby on 9/4/2008 10:52:13 PM - CST
Posted by Jarrett on 9/12/2008 3:44:30 AM - CST
Posted by JarrettV on 9/19/2008 11:08:20 AM - CST
Posted by Dan on 9/23/2008 1:00:12 PM - CST
I've been scouring the internets for something very similar to some of the functionality in BlogSvc and I'm so close but I can't seem to figure it out. Here's my (possibly outrageous) wish: File Upload from an html page with a simple control on it. I'd like to use any javascript framework that can do an ajax post (jQuery, YUI, anything) and upload the file the user selected directly through a WCF service. I can already serialize to JSON and pass complex types but I have no idea how to pass a file through a simple POST (and control things like maximum file size, etc.) Is this possible? After days spent researching on the web I figure you guys would know if nobody else does. Any help is sincerely appreciated.
Posted by Cary on 12/24/2008 11:11:34 PM - CST
Posted by asdasda on 1/23/2009 12:45:10 AM - CST
Posted by asdasda on 1/23/2009 12:45:24 AM - CST
Posted by RossMonster on 4/22/2009 11:29:59 AM - CST