如何在Blogger模板中操作字符串。不可能?

  这个问题是关于Blogger模板操作。以任何方式开发/更改或操纵Blogger模板的人都知道它的语法,因此可以提供一些输入。 我在Blogger上写了一个开发博客,我改变了我的博客模板,所以帖子显示HTML
head
标题不同(首先是帖子名称)默认(博客名称优先)。 但。因为我格式化我的内联编程代码字,类似于Stackoverflow(灰色背景单倍间距字体),并且当我在博客文章标题中使用它们时也这样做...我将这些代码字包含在
<code/>
元素内,然后我有CSS设置为此特定元素添加灰色背景并在其上设置单倍间距字体。此格式适用于博客帖子标题及其内容。 但我遇到的问题是我使用的这些
<code/>
标签也会显示在HTML
head
title
中(显示在浏览器窗口标题中)。更重要的是,这些也会在网络搜索结果中显示出来。那更令人讨厌。 默认模板在
title
元素中使用
<data:blog.pageTitle/>
,它删除任何标签,但将所有标题显示为博客名称:博客帖子标题(谷歌搜索结果毫无意义,因为博客文章标题被截断)。这就是为什么我使用
<data:blog.pageName/>
而不是在头部显示博客文章标题,但它仍然有所有标签,我应该以某种方式剥离它们。 查看此博客文章示例。加载它,然后查看仍显示标签的浏览器窗口标题栏。我希望他们走了。 将其添加到
head
元素时,如何从帖子标题中删除标签?     
已邀请:
更新 好的,到目前为止这是我的成果: 在设置 - >标题 - >放一个不错的
&nbsp;
<data:blog.pageTitle/>
作为标题; 根据设计 - >编辑html - >替换theese行
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
  <b:widget id='Header1' locked='true' title='  (Intestazione)' type='Header'/>
</b:section>
用你的自定义标题
<div class="header section" id="header">
  <div class="widget Header" id="Header1">
    <div id="header-inner">
      <div class="titlewrapper">
        <h1 class="title">
          <a href="http://aseptik.blogspot.com/">aSeptik Site</a></h1>
      </div>
      <div class="descriptionwrapper">
        <p class="description">
          <span>
          </span>
        </p>
      </div>
    </div>
  </div>
</div>
<title>
将来自:
jQuery <em>"scroll into view"</em> plugin (with an additional <code>":scrollable"</code> selector filter)
: jQuery "scroll into view" plugin (with an additional ":scrollable" selector filter)
希望这个帮助,演示http://aseptik.blogspot.com/2011/02/jquery-scroll-into-view-plugin-with.html 尝试使用你的
<body>
中的一点点javascript
<script type='text/javascript'>
document.title = document.title.replace(/(&lt;([^&gt;]+)&gt;)/ig,&#39;&#39;);
</script>

</body>
复制和过去因为不转换实体,      演示:http://aseptik.blogspot.com/2011/02/jquery-scroll-into-view-plugin-with.html         虽然,我不确定这是不是   自蜘蛛以来,正确的解决方案   通常避免执行js,而且我   不知道“标题中的html标签”   影响搜索结果。     

要回复问题请先登录注册