윈도우 라이브 라이터(window live writer) 플러그인 Dynamic Template 사용법

블로그를 운용할 때 가끔 HTML TAG를 사용하는 경우가 있다.
자주 사용하는 개발자의 경우는 별로 어려움이 없겠지만 간혹 사용하는 경우라면 단순한 HTML TAG라 할지라도 기억이 나지 않아 사용하기가 녹녹치 않다 .
이런 경우 Dynamic Template 를 사용하여 간단한 기능을 미리 예약해 두고 사용하면 편리하다

  1. 설치하기
    링크를 클릭하여 “DynamicTemplate.msi”를 다운로드 받아 설치 한다.물론 window live writer가 먼저 설치 되어야 한다.
    정상적으로 설치가 되고 나면 그림처럼 플러그인이 등록 되어 있을 것이다.

  2. HTML Template 만들기
    위에서 빨간색 부분의 dynamic Template를 누르면    그림과 같이
    Trmplate를 조작 할 수 있는 창이 활성화 된다.
    아직 아무런 내용이 없으므로 새로운 Edit Template를 눌러 새로운 내용을 추가 한다.
    New 를 눌러 새로운 내용을 추가하자.
  3. Button 만들어 보기
    New를 눌러서 새로운 Template를 생성한다.
    임의의 버튼을 만들 예정이므로 “Button”이라고 이름을 붙인다.

    글리고 나서 아래 그림과 같이 Variable Name과 Label을 각각 입력한다

    여기서 주목해야 할 부분은 Template Body에  “<button><%=Caption%></button>”라고 되어 있는 부분이다
    <%=Caption%>은 Variable Name에서 직접 입력 받겠다는 의미다.
    예를 들어 Dynamic Template를 외쪽 그림과 같이 실행 했을 때아래와 같은 버튼이 생성된다.
    동작 관계를 그림으로 보면 이렇다.

Template가 실행 된 후 실제 해당부분에 대한 HTML 문장을 보면
“<button>연습버튼</button>” 라고 되어 있는 것을 볼 수 있다.

  • 예제 HTML 구문 실행

    로 변수를 만들고
    Body
    <
    b>제목:<%=TitleName%><b><br>
    <% string currentTime = DateTime.Now.ToString(“HH:mm:ss”); %>
    <b><%= currentTime.ToUpper() %></b>
    <b><%=User%>가 작성<b>
    로 작 성해서 실행 시켜 보면

    제목:연습
    14:24:42 홍길동가 작성
    와 같은 결과가 만들어 지는 것을 볼 수 있다

“윈도우 라이브 라이터(window live writer) 플러그인 Dynamic Template 사용법”의 41개의 댓글

  1. Fantastic goods from you, man. I have understand your stuff
    previous to and you’re just extremely magnificent. I really like what you have acquired here, certainly like what you’re saying
    and the way in which you say it. You make it enjoyable and you
    still take care of to keep it smart. I cant wait to read
    much more from you. This is actually a terrific site.

  2. My brother suggested I might like this web site.

    He was once entirely right. This submit actually made my day.
    You can not believe simply how much time I had spent
    for this information! Thanks!

  3. After looking over a few of the blog articles on your blog, I really like your way of blogging.
    I book-marked it to my bookmark site list and will be checking back soon. Take a look
    at my website as well and tell me how you feel.

  4. It’s actually a great and helpful piece of information. I’m happy that you simply shared this helpful information with us.
    Please keep us up to date like this. Thank you for sharing.

  5. I just want to say I am all new to weblog and certainly enjoyed you’re web page. Likely I’m likely to bookmark your blog . You amazingly have fabulous stories. Thanks a bunch for revealing your web site.

  6. Obviously I like your web site, but you have to take a look at the spelling on quite a few of your posts. Several of them are rife with spelling problems and I find it very bothersome to inform you. Nevertheless I will surely come again again!

  7. I don’t know if it’s just me or if perhaps everybody else experiencing problems with your blog. It appears as though some of the text on your posts are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them as well? This may be a issue with my web browser because I’ve had this happen previously. Thank you

  8. Great blog post. I learn something a lot more tough on various blogs day-to-day. It will constantly be stimulating to review content from various other writers as well as exercise a little something from their store. I?d choose to use some with the content on my blog site whether you don?t mind. Natually I?ll give you a link on your web blog site. Thanks for sharing.

  9. When I originally commented I clicked the -Alert me when brand-new comments are added- checkbox and also now each time a remark is added I get 4 emails with the exact same remark. Exists any way you can eliminate me from that solution? Thanks!

  10. What i do not understood is in truth how you’re not actually much
    more smartly-favored than you may be right now.
    You are so intelligent. You know therefore significantly in relation to this matter, made me for my part consider it from numerous various
    angles. Its like women and men aren’t involved until it’s something to accomplish with Woman gaga!
    Your individual stuffs outstanding. At all times care for it up!

  11. The following time I check out a blog site, I really hope that it doesn’t dissatisfy me as high as this set. I mean, I understand it was my option to check out, yet I actually believed youd have something interesting to state. All I hear is a bunch of whining regarding something that you can repair if you werent as well active seeking interest.

  12. The following time I review a blog site, I really hope that it doesn’t disappoint me as high as this set. I suggest, I understand it was my option to review, but I actually believed youd have something fascinating to say. All I listen to is a number of yawping concerning something that you can take care of if you werent also active searching for interest.

  13. This is the appropriate blog for anyone who wants to find out about this subject. You understand a lot its almost tough to suggest with you (not that I actually would want?HaHa). You definitely put a new spin on a subject thats been discussed for years. Fantastic things, simply wonderful!

  14. There are absolutely a great deal of information like that to think about. That is a great indicate bring up. I offer the thoughts above as basic ideas however clearly there are concerns like the one you bring up where the most important thing will certainly be working in straightforward good faith. I don?t know if ideal practices have emerged around points like that, but I am sure that your job is plainly recognized as an up for grabs. Both children and also ladies feel the effect of simply a moment?s pleasure, for the remainder of their lives.

  15. I was very pleased to discover this web-site. I intended to many thanks for your time for this fantastic read!! I definitely appreciating every little bit of it and also I have you bookmarked to look into brand-new things you article.

  16. An intriguing conversation is worth remark. I believe that you ought to create a lot more on this topic, it could not be a frowned on topic but normally people are inadequate to speak on such topics. To the next. Thanks

  17. An excellent share, I just provided this onto a colleague that was doing a little analysis on this. And also he actually purchased me morning meal because I found it for him. smile. So let me reword that: Thnx for the reward! But yeah Thnkx for investing the time to discuss this, I feel strongly concerning it and love reading more on this topic. Preferably, as you become proficiency, would certainly you mind updating your blog site with even more details? It is very helpful for me. Big thumb up for this post!

  18. I?m pleased, I should claim. Actually rarely do I come across a blog that?s both informative and entertaining, as well as let me tell you, you have actually hit the nail on the head. Your idea is impressive; the concern is something that not nearly enough people are talking wisely around. I am very happy that I came across this in my search for something connecting to this.

댓글 남기기