atomsite.net

The AtomPub server for .NET

BlogSvc Now Supports Comments

Posted in BlogSvc, Website, jQuery by JarrettV on 8/23/2008 9:49:14 PM - CST

Capture 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.

kick it on DotNetKicks.com

Comments

Gravatar
Posted by JarrettV on 8/31/2008 11:37:16 PM - CST
My pleasure. The next release should make it even easier to get things setup.
Gravatar
Posted by gpc on 9/2/2008 9:31:26 AM - CST
Just wanted to see it working :)
Gravatar
Posted by Zogby on 9/4/2008 10:52:13 PM - CST
Test comment
Gravatar
Posted by Jarrett on 9/12/2008 3:44:30 AM - CST
how about duplicate names...
Gravatar
Posted by JarrettV on 9/19/2008 11:08:20 AM - CST
Duplicate names work if you type in a matching name, email, and url. In a future release we will detect duplicates and make sure the user is authenticated.
Gravatar
Posted by Dan on 9/23/2008 1:00:12 PM - CST
Help Please! :)
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.
Gravatar
Posted by Cary on 12/24/2008 11:11:34 PM - CST
Very nice look.
Gravatar
Posted by asdasda on 1/23/2009 12:45:10 AM - CST
This is awesome!
Gravatar
Posted by asdasda on 1/23/2009 12:45:24 AM - CST
Excellent
Gravatar
Posted by RossMonster on 4/22/2009 11:29:59 AM - CST
Good work

Add Comment

Login using
Google Yahoo flickr AOL
and more
Or provide your details
Please enter your name. Please enter a valid email. Please enter a valid website.
Please supply a comment.
5.0 (1)
on 1/7/2009 2:05:38 AM - CST

Recent Entries

© Copyright 2010 Powered by AtomSite 1.3.1.0