Can't find substitution for tag [post.lastUpdated.iso8601] 해결하기

{
  "@context": "http://schema.org",
  "@type": "BlogPosting",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://www.beomsang.com/2023/08/buy-save-google-blog-custom-domain-unable-to-verify-permissions-for-this-domain-to-solve.html"
  },
  "headline": "구글 블로그 맞춤 도메인 구입, 저장하기, 이 도메인에 대한 권한을 확인할 수 없습니다. 해결하기.","description": "","datePublished": "2023-08-02T00:30:00+09:00",
  "dateModified": "<!--Can't find substitution for tag [post.lastUpdated.iso8601]-->","image": {
          "@type": "ImageObject","url": "",
            "height": 300,
            "width": 300},"publisher": {
          "@type": "Organization",
          "name": "Blogger",
          "logo": {
          "@type": "ImageObject",
          "url": "",
          "width": 300,
          "height": 300
          }
          },"author": {
    "@type": "Person",
    "name": "<!--Can't find substitution for tag [post.author.name.jsonEscaped]-->"
  }
}

Can't find substitution for tag [post.lastUpdated.iso8601] 해결하기

Can't find substitution for tag [post.lastUpdated.iso8601] 오류는 구글 블로그에서 포스트를 가져올 때 발생합니다. 발생하는 이유는 사용하고 있는 구글 섹션 및 위젯의 버전과 관련이 있습니다.

Can't find substitution for tag [post.lastUpdated.iso8601] 해결하기

현재 구글 블로그에 적용된 테마 (컨템포 테마)의 최신 버전은 `2`로 제공이 되고 있답니다. 그런데, 블로그 테마 중 예전에 만들어진 `버전 1`을 사용하면서, `버전 2`의 속성을 사용하려고 시도할 때 오류가 발생합니다. 예를 들면 다음과 같은 포스트 메타데이터 제이슨을 사용하는 경우입니다.

<b:includable id='postMeta' var='post'>
                      <b:include data='post' name='postMetadataJSON'/>
                    </b:includable>
                    <b:includable id='postMetadataJSONImage'>
                      &quot;image&quot;: {
                      &quot;@type&quot;: &quot;ImageObject&quot;,
                      <b:if cond='data:post.featuredImage.isResizable'>
                        &quot;url&quot;: &quot;<b:eval expr='resizeImage(data:post.featuredImage, 1200, &quot;1200:630&quot;)'/>&quot;,
                        &quot;height&quot;: 630,
                        &quot;width&quot;: 1200
                        <b:else/>
                        &quot;url&quot;: &quot;https://blogger.googleusercontent.com/img/b/U2hvZWJveA/AVvXsEgfMvYAhAbdHksiBA24JKmb2Tav6K0GviwztID3Cq4VpV96HaJfy0viIu8z1SSw_G9n5FQHZWSRao61M3e58ImahqBtr7LiOUS6m_w59IvDYwjmMcbq3fKW4JSbacqkbxTo8B90dWp0Cese92xfLMPe_tg11g/w1200/&quot;,
                        &quot;height&quot;: 348,
                        &quot;width&quot;: 1200
                      </b:if>
                      },
                    </b:includable>
                    <b:includable id='postMetadataJSONPublisher'>
                      &quot;publisher&quot;: {
                      &quot;@type&quot;: &quot;Organization&quot;,
                      &quot;name&quot;: &quot;Blogger&quot;,
                      &quot;logo&quot;: {
                      &quot;@type&quot;: &quot;ImageObject&quot;,
                      &quot;url&quot;: &quot;https://blogger.googleusercontent.com/img/b/U2hvZWJveA/AVvXsEgfMvYAhAbdHksiBA24JKmb2Tav6K0GviwztID3Cq4VpV96HaJfy0viIu8z1SSw_G9n5FQHZWSRao61M3e58ImahqBtr7LiOUS6m_w59IvDYwjmMcbq3fKW4JSbacqkbxTo8B90dWp0Cese92xfLMPe_tg11g/h60/&quot;,
                      &quot;width&quot;: 206,
                      &quot;height&quot;: 60
                      }
                      },
                    </b:includable>

해결 방법은 버전2를 사용하거나, 사용할 수 없는 제이슨 값 들을 정리하는 것인데, 버전2로 하실 것을 권장합니다.

댓글