MTEntryAtomID
Atom フィードの ID 要素で使用される文字列を表示します。
この ID は自動で生成され、以下の形式で登録されます。
tag:[スペースのドメイン],[記事作成年]:/[スペースパス]/[スペースID].[記事ID]
例:
tag:www.example.com,2025:/blog/1.123
使い方
<$MTHTTPContentType type="application/atom+xml"$><?xml version="1.0" encoding="<$MTPublishCharset$>"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title><$MTBlogName remove_html="1" encode_xml="1"$></title> <link rel="alternate" type="text/html" href="<$MTBlogURL encode_xml="1"$>" /> <link rel="self" type="application/atom+xml" href="<$MTLink template="feed_recent"$>" /> <id>tag:<$MTBlogHost exclude_port="1" encode_xml="1"$>,<$MTTemplateCreatedOn format="%Y-%m-%d"$>:<$MTBlogRelativeURL encode_xml="1"$><$MTBlogID$></id> <updated><MTEntries blog_ids="children" include_with_website="1" lastn="1"><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></MTEntries></updated> <MTIf tag="BlogDescription"><subtitle><$MTBlogDescription remove_html="1" encode_xml="1"$></subtitle></MTIf> <generator uri="https://www.powercms.jp/"><$MTProductName version="1"$></generator> <MTEntries blog_ids="children" include_with_website="1" lastn="15"> <entry> <title><$MTEntryTitle remove_html="1" encode_xml="1"$> - <$MTEntryBlogName$></title> <link rel="alternate" type="text/html" href="<$MTEntryPermalink encode_xml="1"$>" /> <id><$MTEntryAtomID$></id> <published><$MTEntryDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></published> <updated><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></updated> <summary><$MTEntryExcerpt remove_html="1" encode_xml="1"$></summary> <author> <name><$MTEntryAuthorDisplayName encode_xml="1"$></name> <MTIf tag="EntryAuthorURL"><uri><$MTEntryAuthorURL encode_xml="1"$></uri></MTIf> </author> <MTEntryCategories> <category term="<$MTCategoryLabel encode_xml="1"$>" scheme="https://www.powercms.jp/ns/types#category" /> </MTEntryCategories> <MTEntryIfTagged><MTEntryTags><category term="<$MTTagName normalize="1" encode_xml="1"$>" label="<$MTTagName encode_xml="1"$>" scheme="https://www.powercms.jp/ns/types#tag" /> </MTEntryTags></MTEntryIfTagged> <content type="html" xml:lang="<$MTBlogLanguage ietf="1"$>" xml:base="<$MTBlogURL encode_xml="1"$>"> <MTEntryIfUseFieldBlockBuilder> <$MTEntryBodyBlockHTML encode_xml="1"$> <MTElse> <$MTEntryBody encode_xml="1"$> <$MTEntryMore encode_xml="1"$> </MTEntryIfUseFieldBlockBuilder> </content> </entry> </MTEntries> </feed>
MTEntryAtomID と関連のあるテンプレートタグ (99)
- MTActionsEntry
- MTAssetID
- MTAuthorEntriesCount
- MTAuthorEntryCount
- MTAuthorHasEntry
- MTAuthorID
- MTBlogEntryCount
- MTBlogID
- MTBlogTemplateSetID
- MTBuildTemplateID
- MTCalendarIfEntries
- MTCalendarIfNoEntries
- MTCategoryID
- MTCommentBlogID
- MTCommentEntry
- MTCommentEntryID
- MTCommenterID
- MTCommentID
- MTCommentParentID
- MTDateFooter
- MTDateHeader
- MTEntries
- MTEntriesCount
- MTEntriesFooter
- MTEntriesHeader
- MTEntriesWithSubCategories
- MTEntryAdditionalCategories
- MTEntryAssets
- MTEntryAtomID
- MTEntryAuthor
- MTEntryAuthorDisplayName
- MTEntryAuthorEmail
- MTEntryAuthorID
- MTEntryAuthorLink
- MTEntryAuthorNickname
- MTEntryAuthorURL
- MTEntryAuthorUsername
- MTEntryAuthorUserpic
- MTEntryAuthorUserpicAsset
- MTEntryAuthorUserpicURL
- MTEntryBasename
- MTEntryBlogDescription
- MTEntryBlogID
- MTEntryBlogName
- MTEntryBlogURL
- MTEntryBody
- MTEntryCategories
- MTEntryCategory
- MTEntryClass
- MTEntryClassLabel
- MTEntryCommentCount
- MTEntryCreatedDate
- MTEntryCustomFieldDescription
- MTEntryCustomFieldName
- MTEntryCustomFields
- MTEntryCustomFieldValue
- MTEntryDate
- MTEntryEditLink
- MTEntryExcerpt
- MTEntryFlag
- MTEntryID
- MTEntryIfAllowComments
- MTEntryIfAllowPings
- MTEntryIfCategory
- MTEntryIfCommentsOpen
- MTEntryIfExtended
- MTEntryIfTagged
- MTEntryKeywords
- MTEntryLink
- MTEntryModifiedDate
- MTEntryMore
- MTEntryNext
- MTEntryPermalink
- MTEntryPrevious
- MTEntryPrimaryCategory
- MTEntryRank
- MTEntryScore
- MTEntryScoreAvg
- MTEntryScoreCount
- MTEntryScoreHigh
- MTEntryScoreLow
- MTEntryStatus
- MTEntryTags
- MTEntryTitle
- MTEntryTrackbackCount
- MTEntryTrackbackData
- MTEntryTrackbackID
- MTEntryTrackbackLink
- MTFeedEntries
- MTFeedEntryLink
- MTFeedEntryTitle
- MTFolderID
- MTIfCommenterIsEntryAuthor
- MTPageID
- MTPingEntry
- MTPingID
- MTSearchTemplateID
- MTTagID
- MTWebsiteEntryCount