Ask a questionAsk a question
 

AnswerBlog theme info extracting for the plugin

Answers

  • Friday, September 18, 2009 6:19 AMScott LovegroveMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Unfortunately not, however, it might still be possible to get some of the information. You could have your plugin read the registry and find the blog's GUID, then go to %appdata%\Windows Live Writer\blogtemplates\<GUID>\ and in there you will have the blog template that got downloaded.
    SL - Windows Live Platform MVP
    If my post has answered your question, please mark it as an answer.

All Replies

  • Friday, September 18, 2009 6:19 AMScott LovegroveMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Unfortunately not, however, it might still be possible to get some of the information. You could have your plugin read the registry and find the blog's GUID, then go to %appdata%\Windows Live Writer\blogtemplates\<GUID>\ and in there you will have the blog template that got downloaded.
    SL - Windows Live Platform MVP
    If my post has answered your question, please mark it as an answer.
  • Tuesday, November 03, 2009 7:48 AMAussie_Craig_Developer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You cab get the Background Color.

    public

     

     

    override string GenerateEditorHtml(ISmartContent content, IPublishingContext publishingContext)
    {
    Color? a = publishingContext.BodyBackgroundColor;

    Also on the:

    public

     

     

    override string GeneratePublishHtml(ISmartContent content, IPublishingContext publishingContext)

    Something, not all of what you were looking for.