MTの機能であるカスタムフィールドの
一覧を取得する方法のメモです。
記事の場合
<MTEntries> <MTEntryCustomFields> <MTIfNonEmpty tag="EntryCustomFieldValue"> <MTEntryCustomFieldName>: <MTEntryCustomFieldValue> </MTIfNonEmpty> </MTEntryCustomFields> </MTEntries>
カテゴリの場合
<MTCategories> <MTCategoryCustomFields> <MTIfNonEmpty tag="CategoryCustomFieldValue"> <MTCategoryCustomFieldName>: <MTCategoryCustomFieldValue> </MTIfNonEmpty> </MTCategoryCustomFields> </MTCategories>
ウェブページの場合
<MTPages> <MTPageCustomFields> <MTIfNonEmpty tag="EntryCustomFieldValue"> <MTEntryCustomFieldName>: <MTEntryCustomFieldValue> </MTIfNonEmpty> </MTPageCustomFields> </MTPages>
参照URL : MTCustomFields Example | CustomFields | Movalog Plugins: Movable Type plugins by Arvind Satyanarayan