Windows Live Writer URLプラグイン Tip 2

投稿日 : 2008年5月6日 21:08

CreateContentFromUrlメソッドが呼ばれる条件

 Tip 1も参照。URLプラグインを作成するとき、UrlContentSource属性にプラグインの対象とするURLを正規表現で指定します。先の例では、「http://katamari\.jp」と書きました(ドット(.)は\マークでエスケープしてます)。

 ここの部分変えたらURLでないパターンの貼り付け時にも使えるんじゃね? と思えるのですが、できないようです。残念。CreateContentFromUrlメソッドが呼ばれるためには、貼り付けた文字列が少なくとも正規表現で「.+://」となっている必要がありそうです。私が調べてみただけで、SDK文書にそう書いてるわけではないです。

フィードバック

# Windows Live Writer プラグイン作成記事1回目

2008/05/14 23:12 by katamari.wankuma.com
Windows Live Writer プラグイン作成記事1回目

# I not to mention my pals happened to be looking at the good tactics on your web page and quickly I got a terrible suspicion I had not expressed respect to you for those strategies. The people appeared to be as a result very interested to read through t

2018/06/23 17:36 by I not to mention my pals happened to be looking at
I not to mention my pals happened to be looking at the good tactics on your web page and quickly I got a terrible suspicion I had not expressed respect to you for those
strategies. The people appeared to be as a result very interested
to read through them and have in effect absolutely been taking pleasure in those things.
I appreciate you for indeed being considerably helpful and also for obtaining some incredible areas millions
of individuals are really wanting to know about.
Our own honest regret for not saying thanks to earlier.

# Sim! Finalmente alguém escreve sobre serviços de encanamento em curitiba.

2018/07/31 17:55 by Sim! Finalmente alguém escreve sobre servi&#
Sim! Finalmente alguém escreve sobre serviços de
encanamento em curitiba.
コメントの入力
タイトル
名前
Url
コメント