WordPress: Template Tags/trackback rdf:修订间差异
(新页面: == Description == Outputs the trackback RDF information for a post. This tag must be within WordPress:The Loop. This info...) |
无编辑摘要 |
||
第1行: | 第1行: | ||
== Description == | == Description == | ||
== 描述 == | |||
Outputs the [[WordPress:Glossary#Trackback|trackback]] [[WordPress:Glossary#RDF|RDF]] information for a post. This tag must be within [[WordPress:The Loop]]. | Outputs the [[WordPress:Glossary#Trackback|trackback]] [[WordPress:Glossary#RDF|RDF]] information for a post. This tag must be within [[WordPress:The Loop]]. | ||
输出一篇文章的[[WordPress:Glossary#Trackback|trackback]] [[WordPress:Glossary#RDF|RDF]]。必须在[[WordPress:The Loop|The Loop]]内使用这个标签。 | |||
This information is not displayed in a browser. Its use is partly intended for auto-detection of the trackback [[WordPress:Glossary#URI and URL|URI]] to a post, which can be "trackbacked" by some blogging and RDF tools. Include this tag in your template if you want to enable auto-discovery of the trackback URI for a post. Without it, people who wish to send a trackback to one of your posts will have to manually search for the trackback URI. | This information is not displayed in a browser. Its use is partly intended for auto-detection of the trackback [[WordPress:Glossary#URI and URL|URI]] to a post, which can be "trackbacked" by some blogging and RDF tools. Include this tag in your template if you want to enable auto-discovery of the trackback URI for a post. Without it, people who wish to send a trackback to one of your posts will have to manually search for the trackback URI. | ||
这个信息不在浏览器中显示。这个信息部分用来自动侦查一篇文章的trackback [[WordPress:Glossary#URI and URL|URI]],可以由一些写博客和RDF工具"trackbacked"。如果你想要自动发现一篇文章的trackback URI,你可以将这个标签包含在你的模板中。没有这个标签,人们如果想要向你的某篇文章发送trackback,就要动手搜索trackback URI。 | |||
== Usage == | == Usage == | ||
== 用法 == | |||
%%% <?php trackback_rdf(); ?> %%% | |||
%%% <?php trackback_rdf(); ?> %%% | %%% <?php trackback_rdf(); ?> %%% | ||
== Example == | == Example == | ||
== 例子 == | |||
Displays the RDF information before the end of [[WordPress:The Loop]]. You should wrap the tag in an [[WordPress:Glossary#HTML|HTML]] comment tag, to avoid issues with validation. | Displays the RDF information before the end of [[WordPress:The Loop]]. You should wrap the tag in an [[WordPress:Glossary#HTML|HTML]] comment tag, to avoid issues with validation. | ||
在[[WordPress:The Loop|The Loop]]结束之前,显示RDF信息。你应该在一个[[WordPress:Glossary#HTML|HTML]]评论标签中包含这个标签,以避免确认问题。 | |||
<!-- | <!-- | ||
<?php trackback_rdf(); ?> | |||
--> | |||
<?php endforeach; else: ?> | |||
<!-- | |||
<?php trackback_rdf(); ?> | <?php trackback_rdf(); ?> | ||
--> | --> | ||
第20行: | 第40行: | ||
== Parameters == | == Parameters == | ||
== 参数 == | |||
This tag has no parameters. | This tag has no parameters. | ||
这个标签没有参数。 | |||
== Related == | |||
== | == 相关的 == | ||
{{Tag Trackback Tags}} | {{Tag Trackback Tags}} | ||
{{No Param Tag Footer}} | {{No Param Tag Footer}} | ||
{{标签Trackback 标签}} | |||
{{没有Param标签页底文字}} |
2008年7月11日 (五) 14:21的版本
Description
描述
Outputs the trackback RDF information for a post. This tag must be within WordPress:The Loop.
输出一篇文章的trackback RDF。必须在The Loop内使用这个标签。
This information is not displayed in a browser. Its use is partly intended for auto-detection of the trackback URI to a post, which can be "trackbacked" by some blogging and RDF tools. Include this tag in your template if you want to enable auto-discovery of the trackback URI for a post. Without it, people who wish to send a trackback to one of your posts will have to manually search for the trackback URI.
这个信息不在浏览器中显示。这个信息部分用来自动侦查一篇文章的trackback URI,可以由一些写博客和RDF工具"trackbacked"。如果你想要自动发现一篇文章的trackback URI,你可以将这个标签包含在你的模板中。没有这个标签,人们如果想要向你的某篇文章发送trackback,就要动手搜索trackback URI。
Usage
用法
%%% <?php trackback_rdf(); ?> %%%
%%% <?php trackback_rdf(); ?> %%%
Example
例子
Displays the RDF information before the end of WordPress:The Loop. You should wrap the tag in an HTML comment tag, to avoid issues with validation.
在The Loop结束之前,显示RDF信息。你应该在一个HTML评论标签中包含这个标签,以避免确认问题。
<!-- <?php trackback_rdf(); ?> --> <?php endforeach; else: ?>
<!--
<?php trackback_rdf(); ?> --> <?php endforeach; else: ?>
Parameters
参数
This tag has no parameters. 这个标签没有参数。