Skip to content

Commit

Permalink
・TRIGGER_PHRASEが正しく機能していなかったバグ修正
Browse files Browse the repository at this point in the history
・URLを変更

git-svn-id: svn://svn.magicvox.net/var/svn/mt-plugins/YahooKeywordSuggest/trunk@62 adbff654-c4ea-448a-8ae3-cad037306009
  • Loading branch information
piroli committed Apr 15, 2008
1 parent c9d38fb commit 8ba5f7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/YahooKeywordSuggest/YahooKeywordSuggest.pl
Expand Up @@ -3,7 +3,7 @@ package MT::Plugin::OMV::YahooKeywordSuggest;
# YahooKeywordSuggest - Suggest the suitable keywords with Yahoo! web service
# @see http://developer.yahoo.co.jp/jlp/MAService/V1/parse.html
# Copyright (c) 2008 Piroli YUKARINOMIYA (MagicVox)
# @see http://www.magicvox.net/archive/2008/04141429/
# @see http://www.magicvox.net/archive/2008/04151715/

use strict;
use MT;
Expand Down Expand Up @@ -34,7 +34,7 @@ package MT::Plugin::OMV::YahooKeywordSuggest;
key => $MYNAME,
author_name => 'Piroli YUKARINOMIYA',
author_link => 'http://www.magicvox.net/',
doc_link => 'http://www.magicvox.net/archive/2008/04141429/',
doc_link => 'http://www.magicvox.net/archive/2008/04151715/',
description => <<PERLHEREDOC,
Suggest the suitable keywords of the entry with the morphological analysis of Yahoo! web service
PERLHEREDOC
Expand Down Expand Up @@ -84,7 +84,7 @@ sub _tmpl_system_config {
MT::Page->add_callback( 'pre_save', 9, $plugin, \&_cb_object_pre_save );
sub _cb_object_pre_save {
my( $cb, $obj ) = @_;
$obj->keywords || '' eq TRIGGER_PHRASE
$obj->keywords eq TRIGGER_PHRASE
or return;# do nothing

### Yahoo! application ID
Expand Down

0 comments on commit 8ba5f7e

Please sign in to comment.