差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

themes:custom-header-output [2013/10/21 06:55]
127.0.0.1 外部编辑
themes:custom-header-output [2013/12/16 06:55] (当前版本)
joyqi
行 9: 行 9:
  
 <code html> <code html>
-<meta name=\\\"​description\\\" content=\\\"Just So So ...\\\" /> +<meta name="​description"​ content="​Just So So ..." /> 
-<meta name=\\\"​keywords\\\" content=\\\"​typecho,​php,​blog\\\" /> +<meta name="​keywords"​ content="​typecho,​php,​blog"​ /> 
-<meta name=\\\"​generator\\\" content=\\\"​Typecho 0.8/10.8.15\\\" /> +<meta name="​generator"​ content="​Typecho 0.8/​10.8.15"​ /> 
-<meta name=\\\"​template\\\" content=\\\"​default\\\" /> +<meta name="​template"​ content="​default"​ /> 
-<link rel=\\\"​pingback\\\" href=\\\"​.../​action/​xmlrpc\\\" /> +<link rel="​pingback"​ href="​.../​action/​xmlrpc"​ /> 
-<link rel=\\\"​EditURI\\\" type=\\\"​application/​rsd+xml\\\" title=\\\"RSD\\\" href=\\\"​.../​action/​xmlrpc?​rsd\\\" /> +<link rel="​EditURI"​ type="​application/​rsd+xml"​ title="​RSD"​ href="​.../​action/​xmlrpc?​rsd"​ /> 
-<link rel=\\\"​wlwmanifest\\\" type=\\\"​application/​wlwmanifest+xml\\\" href=\\\"​.../​action/​xmlrpc?​wlw\\\" /> +<link rel="​wlwmanifest"​ type="​application/​wlwmanifest+xml"​ href="​.../​action/​xmlrpc?​wlw"​ /> 
-<link rel=\\\"​alternate\\\" type=\\\"​application/​rss+xml\\\" title=\\\"RSS 2.0\\\" href=\\\"​.../​feed/​\\\" /> +<link rel="​alternate"​ type="​application/​rss+xml"​ title="​RSS 2.0" href="​.../​feed/"​ /> 
-<link rel=\\\"​alternate\\\" type=\\\"​application/​rdf+xml\\\" title=\\\"RSS 1.0\\\" href=\\\"​.../​feed/​rss/​\\\" /> +<link rel="​alternate"​ type="​application/​rdf+xml"​ title="​RSS 1.0" href="​.../​feed/​rss/"​ /> 
-<link rel=\\\"​alternate\\\" type=\\\"​application/​atom+xml\\\" title=\\\"ATOM 1.0\\\" href=\\\"​.../​feed/​atom/​\\\" /></​code>​+<link rel="​alternate"​ type="​application/​atom+xml"​ title="​ATOM 1.0" href="​.../​feed/​atom/"​ /></​code>​
  
 ===== 操作函数 ===== ===== 操作函数 =====
行 28: 行 28:
 加上你要设置的参数即可,比如: 加上你要设置的参数即可,比如:
  
-<code php><?​php $this->​header(\\\'​keywords=&​generator=&​template=&​pingback=&​xmlrpc=&​wlw=\\\'); ?></​code>​+<code php><?​php $this->​header('​keywords=&​generator=&​template=&​pingback=&​xmlrpc=&​wlw='​);​ ?></​code>​
  
 以上代码即可过滤关键词、程序、模板名称、文章引用、离线写作等信息的输出,具体效果如下。 以上代码即可过滤关键词、程序、模板名称、文章引用、离线写作等信息的输出,具体效果如下。
  
 <code html> <code html>
-<meta name=\\\"​description\\\" content=\\\"...\\\" /> +<meta name="​description"​ content="​..."​ /> 
-<link rel=\\\"​alternate\\\" type=\\\"​applicationrss+xml\\\" title=\\\"RSS 2.0\\\" href=\\\"​.../​feed/​\\\" /> +<link rel="​alternate"​ type="​applicationrss+xml"​ title="​RSS 2.0" href="​.../​feed/"​ /> 
-<link rel=\\\"​alternate\\\" type=\\\"​application/​rdf+xml\\\" title=\\\"RSS 1.0\\\" href=\\\"​.../​feed/​rss/​\\\" /> +<link rel="​alternate"​ type="​application/​rdf+xml"​ title="​RSS 1.0" href="​.../​feed/​rss/"​ /> 
-<link rel=\\\"​alternate\\\" type=\\\"​application/​atom+xml\\\" title=\\\"ATOM 1.0\\\" href=\\\"​.../​feed/​atom/​\\\" /></​code>​+<link rel="​alternate"​ type="​application/​atom+xml"​ title="​ATOM 1.0" href="​.../​feed/​atom/"​ /></​code>​
  
 ===== 操作参数及方法说明 ===== ===== 操作参数及方法说明 =====
打印/导出