Using if then else and expression

"'Sammy Brecker' via Blogger Developer Group" <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
Given this code:

      <b:if cond='data:blog.pageType == &quot;item&quot;'>
        <h3 class='post-title entry-title *itempage'* itemprop='name'>
          <b:if cond='data:post.link or (data:post.url and data:blog.url != 
data:post.url)'>
            <a expr:href='data:post.link ? data:post.link : 
data:post.url'><data:post.title/></a>
          <b:else/>
            <data:post.title/>
          </b:if>
        </h3>
      <b:else/>
        <h3 class='post-title entry-title' itemprop='name'>
          <b:if cond='data:post.link or (data:post.url and data:blog.url != 
data:post.url)'>
            <a expr:href='data:post.link ? data:post.link : 
data:post.url'><data:post.title/></a>
          <b:else/>
            <data:post.title/>
          </b:if>
        </h3>
            </b:if> 

Is there a specialist who can do this in a shorter way like in this pseudo 
code?

        <h3 <b:if cond='data:blog.pageType == &quot;item&quot;'> THEN set 
class="post-title entry-title *itempage*" ELSE set class"post-title 
entry-title"' itemprop='name'>
          <b:if cond='data:post.link or (data:post.url and data:blog.url != 
data:post.url)'>
            <a expr:href='data:post.link ? data:post.link : 
data:post.url'><data:post.title/></a>
          <b:else/>
            <data:post.title/>
          </b:if>
        </h3>

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.