[MovableType]カスタムフィールドの一覧を取得

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


This entry was posted in: CMS. Bookmark the ➜ permalink.

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)