Enter your email at Tomatogram and we will send you big deals on software each week!
30 second tutorial: Post to Blogger from your .Net application
This is a short tutorial that will teach you how to post to a blogger account from your .Net application. The code is in Visual basic.
Sept 1: Use Atomizer
Get Atomizer. Drop Atomizer.dll in the bin folder of your application.
Step 2: Create the Atom instance
atomEndPoint = "https://www.blogger.com/atom/"
generator = New generatorType
generator.url = "http://www.newster.net"
generator.Value = "NewsterToolSample"
generator.version = "1.0"
Dim Atom As Atom
Atom = Atom.Create(New Uri(atomEndPoint), generator, "username", "password")
step 3: Get the services from the Atom instance
Dim services As Array
services = Atom.GetServices()
Dim postURL As New String("")
postURL = service.postURL
Step 4: Post
Atom.PostBlogEntry(postURL, " Title of your article ", "body of your article", "")
Thats it.
Here is a working example and here is the source code for the working example.
I have used the above technique in the first version of Newster.net. For those of you who are not familiar with Newster.net, it’s a news aggregating application. I had shared hosting with Brinkster and it worked just fine. Just drop the Atomizer dll in the bin folder and use the above code.
Sept 1: Use Atomizer
Get Atomizer. Drop Atomizer.dll in the bin folder of your application.
Step 2: Create the Atom instance
atomEndPoint = "https://www.blogger.com/atom/"
generator = New generatorType
generator.url = "http://www.newster.net"
generator.Value = "NewsterToolSample"
generator.version = "1.0"
Dim Atom As Atom
Atom = Atom.Create(New Uri(atomEndPoint), generator, "username", "password")
step 3: Get the services from the Atom instance
Dim services As Array
services = Atom.GetServices()
Dim postURL As New String("")
postURL = service.postURL
Step 4: Post
Atom.PostBlogEntry(postURL, " Title of your article ", "body of your article", "")
Thats it.
Here is a working example and here is the source code for the working example.
I have used the above technique in the first version of Newster.net. For those of you who are not familiar with Newster.net, it’s a news aggregating application. I had shared hosting with Brinkster and it worked just fine. Just drop the Atomizer dll in the bin folder and use the above code.
7 Comments:
This tutorial teaches you how to post to a blogger accout. Is that what you are trying? I have never tried the Atom API to grab contents from a feed (there are ways to do it).
To post use this function:
Atom.PostBlogEntry(postURL, " Title of your article ", "body of your article", "")
the 3rd parameter is the content you want to post.
By The Random Guy, at 5:56 PM
Great tutorial I have a blog for web design leeds and its always handy to quickly post.
By markali52, at 9:23 AM
very nice!
By Buy wow gold, at 1:09 AM
關鍵字廣告,seo,關鍵字,關鍵字行銷,外遇 ,徵信 ,徵信社 ,外遇 ,外遇 ,徵信社 ,徵信 ,徵信 ,外遇 ,Light guide panels,飛梭雷射 ,倉儲設備,plastic packaging,beauty care packaging,colour box printing,prinring supplier,printing manufacturer,color prinring,colour box,color printing,printing service,color printing,
By 咪叩~, at 9:37 PM
LV LV
LV包 LV包
LV包包 LV包包
LV官网 LV官网
LV批发 LV批发
LV专卖店 LV专卖店
LV女包 LV女包
LV女包 LV女包
gucci gucci
gucci官网 gucci官网
gucci包 gucci包
gucci中文官网 gucci中文官网
LV LV
LV包 LV包
LV官方 LV官方
LV專賣店 LV專賣店
LV LV
LV包包 LV包包
LV LV
LV包包 LV包包
LV LV
LV包包 LV包包
LV包 LV包
LV LV
LV包包 LV包包
LV包 LV包
gucci gucci
gucci包包 gucci包包
gucci包 gucci包
gucci gucci
gucci包包 gucci包包
gucci專賣 gucci專賣
coach coach
coach包包 coach包包
coach包包專賣 coach包包專賣
prada prada
prada包包 prada包包
prada專賣 prada專賣
tiffany tiffany
tiffany包包 tiffany包包
tiffany專櫃 tiffany專櫃
tiffany戒指 tiffany戒指
tiffany項鍊 tiffany項鍊
tiffany手鍊 tiffany手鍊
By Anonymous, at 4:55 AM
If you are archers, this is an easy and good way for you to hunt and get some FFXIV GIL. There have huge cheap ffxiv gil in our stock. Make order when you need please. And always, always, ALWAYS! Pick up what the monsters drop; this gets you a nice sum of Buy FFXIV Gil to use on skills and potions and all other necessities needed.
By Anonymous, at 9:21 PM
Appreciaate this blog post
By Ralph Bishop, at 10:44 PM
Post a Comment
<< Home