Quantcast
Channel: PlugBlog Discussions Rss Feed
Browsing all 22 articles
Browse latest View live

New Post: Get user blogs array?

I guess the "get-category-function" work the same way with the array so maybe I can use something like this I just came up with:  Category[] returnMe = new Category[3]; returnMe[1].categoryid = "1";...

View Article



New Post: Create new categories?

I just read on http://msdn.microsoft.com/en-us/library/bb463260.aspx about "supportsNewCategories" for the manifest file.I didnt see this method in the xmlrpc.ashx.cs so can I add it myself somehow?

View Article

New Post: Upload photos?

The metaweblog should support fileupload but when I try to upload a picture I get a error message telling me that my blog isn't supporting fileuploading.I have this options added to my manifest.xml...

View Article

New Post: Upload photos?

Ah now I got it. The code was sending an exception so the function never returned anything. But now it returns an empty string so atleast I dont get the error no more.But how do I get info about the...

View Article

New Post: Get user blogs array?

Here is my userblog[] method:[XmlRpcMethod("blogger.getUsersBlogs")]public UserBlog[] getUsersBlogs(string appKey, string username, string password) {#region BTgetUsersBlogs List<UserBlog>...

View Article


New Post: Get user blogs array?

did you try this: return returnMe;nyqa wrote:I guess the "get-category-function" work the same way with the array so maybe I can use something like this I just came up with:  Category[] returnMe = new...

View Article

New Post: Create new categories?

yes, you should add it your self, if you say in your wlw that your blog does not support something you do not need to implement it (there is an exception, not sure but i thing that wlw allways calls...

View Article

New Post: Upload photos?

when your user adds an image to wlw he can resize it in wlw, then wlw makes two uploads (original and thumbnail). If you really wish you can resize your file when you save it on your server, you should...

View Article


New Post: Upload photos?

ah right. I just noticed that. But how do I get access to the file and save it on my webserver?Do i need to use the "File.WriteAllBytes" method?

View Article


New Post: Upload photos?

you can save it however you like it, i used file.writeallbytes because i find it most convenient

View Article

New Post: Upload photos?

Ah yeah but how do I use that method? I tried it but I dont really know how to use it.

View Article

New Post: Upload photos?

string fileUrl = HttpContext.Current.Request.PhysicalApplicationPath + @"somedir\filename.jpg"; File.WriteAllBytes(fileUrl, mediaObject.bits);

View Article

New Post: Upload photos?

I guess that saves the file in a folder in WLM but how do I then save it on my webserver?Thanks for you help.  edit: I tried your code but it didnt work. What is the @ character doing? Do i need to...

View Article


New Post: Upload photos?

Just so I could see what PhysicalApplicationPath looked like I used this code for sending it to a string: string testing = HttpContext.Current.Request.PhysicalApplicationPath.ToString();But with this...

View Article

New Post: Upload photos?

my code saves file to your server.this error you get might be because embeding is not approved in wlwmanifest ?

View Article


New Post: Upload photos?

oh... lol sorry... I thought that the "applicationdir" was the local directory of WLW. :PThen I get it. :)supportsEmbeds is enabled and that code isn't saving anything it just puts a value inside the...

View Article

New Post: Get user blogs array?

Yeah I did but that didn't work. Just gave me an error.I got all my categories saved in a database so I need to loop them through and create and array from them.Any idea how to post the return?

View Article


New Post: Get user blogs array?

This code didn't give me any error: public Category[] getCategories(string blogid, string username, string password) {#region MSWLWgetCategories Category[] returnMe;return returnMe;#endregion }But how...

View Article

New Post: Upload photos?

@ sing is for literal string definition.is there any error when you upload images?

View Article

New Post: Get user blogs array?

what was the error?to return list of categories please refer to above UserBlog[] method, where you can see how to return array of n elements.

View Article
Browsing all 22 articles
Browse latest View live




Latest Images