using System.Collections.Generic;
using System.Linq;
using System.Net;
+using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Linq;
var reXml = WsseAtomConnection.Post(
string.Format("http://d.hatena.ne.jp/{0}/atom/blog", this.userName),
CreatePostEntryXml(title, content, updated),
+ Encoding.UTF8,
this.userName,
this.password);
return new BlogEntry(reXml.Root)
var reXml = WsseAtomConnection.Put(
string.Format("http://d.hatena.ne.jp/{0}/atom/blog/{1}", this.userName, dateId),
CreatePostEntryXml(title, content, updated),
+ Encoding.UTF8,
this.userName,
this.password);
return new BlogEntry(reXml.Root)
var reXml = WsseAtomConnection.Post(
string.Format("http://d.hatena.ne.jp/{0}/atom/draft", this.userName),
CreatePostEntryXml(title, content, updated),
+ Encoding.UTF8,
this.userName,
this.password);
return new BlogEntry(reXml.Root)
var reXml = WsseAtomConnection.Put(
string.Format("http://d.hatena.ne.jp/{0}/atom/draft/{1}", this.userName, id),
CreatePostEntryXml(title, content, updated),
+ Encoding.UTF8,
this.userName,
this.password);
return new BlogEntry(reXml.Root)