MetaWeblog

Spread the word: Enterprise blogging, MetaWeblog, and XML-RPCとかで紹介されているように、XML-RPC APIをベタに使っていく方法と、rome: ROME: RSS/Atom syndication and publishing toolsのようなライブラリを使う方法とあります。ただ、ROMEでは、TWiki . Javawsxml . RomeProponoRelease10といったものも必要ですが、チュートリアルがTWiki . Javawsxml . Rome05Tutorialsぐらいしかありません。

ついでに、RubyでXML-RPCを使うときの資料もあったのでメモ。
(cache) 雫: はじめてのXML-RPC in Ruby

MTOSテンプレートの置換

MTOSのテンプレートについて置換が必要になったので、SQLについて確認。文字列を連結したり、置換したりできるので、便利便利。

update mt_template set
template_name=CONCAT(‘prefix_’, template_name) where
template_blog_id=1 and template_id in (1, 2, 3);

update mt_template set
template_name=REPLACE(template_name, ‘prefix_’, ”),
template_type=’widget’
where template_blog_id=1 and template_id in (1, 2, 3);