Tuesday, February 14, 2012 | Register | Login 
Minimize
 Module Support Forums
 
 Forum Forum metaPost Forums metaPost Forums Providers - Ven... Providers - Ven... MetaPost dropping Author Name MetaPost dropping Author Name
Previous Previous
 
Next Next
New Post
 12/22/2009 9:37 AM
usheen
2 posts
No Ranking


MetaPost dropping Author Name
 
Don,

When publishing from WLW using metapost, the author name is left out of the article record ? Any idea why ?
 
New Post
 1/15/2010 8:16 AM
Don Worthley
332 posts
8th Level Poster


Re: MetaPost dropping Author Name
 
Hi Usheen,

That's correct.  The metaPost provider for News Articles doesn't currently support setting the author from within Windows Live writer.  I would need to figure out how to get a list of Author IDs to WLW.  Let me know if you are familiar with a way to solve this problem and I'm happy to consider adding this feature.

Thanks,

Don
 
New Post
 7/7/2010 1:28 AM
Arie van Dalen
3 posts
No Ranking


Re: MetaPost dropping Author Name
 
Hi Don,

When using Live Writer you have to login to the DNN website. Can this login be used to call the UserID from the User table in the SQL database?

Regards,
Arie
 
New Post
 7/30/2010 11:59 AM
Don Worthley
332 posts
8th Level Poster


Re: MetaPost dropping Author Name
 
I guess the code is already doing this.  Is it not working properly?  Here's the code I found in the Create New procedure:

                articleInfo.Title = item.Title;
                articleInfo.ArticleText = HttpUtility.HtmlEncode(item.Content);
                articleInfo.CreatedDate = DateTime.Now;
                articleInfo.AuthorID = userInfo.UserID;
                articleInfo.Summary = HttpUtility.HtmlEncode(item.Summary);
 
Previous Previous
 
Next Next
 Forum Forum metaPost Forums metaPost Forums Providers - Ven... Providers - Ven... MetaPost dropping Author Name MetaPost dropping Author Name