trackback_rdf [ WordPress Function ]
trackback_rdf ( $deprecated = '' )
| Parameters: |
|
| Defined at: |
|
Generates and displays the RDF for the trackback information of current post.
Deprecated in 3.0.0, and restored in 3.0.1.
Source
<?php
function trackback_rdf( $deprecated = '' ) {
if ( !empty( $deprecated ) )
_deprecated_argument( __FUNCTION__, '2.5' );
if ( false !== stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') )
return;
echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description rdf:about="';
the_permalink();
echo '"'."\n";
echo ' dc:identifier="';
the_permalink();
echo '"'."\n";
echo ' dc:title="'.str_replace('--', '--', wptexturize(strip_tags(get_the_title()))).'"'."\n";
echo ' trackback:ping="'.get_trackback_url().'"'." />\n";
echo '</rdf:RDF>';
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/trackback rdf « WordPress Codex
Outputs the trackback RDF information for a post. This tag must be within The Loop. This information is not displayed in a browser. Its use is partly intended for ...
codex.wordpress.org - WordPress › Support » trackback_rdf is it necessary ?
trackback_rdf is it necessary ? (5 posts). Marcomail Member ... http://codex. wordpress.org/Template_Tags/trackback_rdf. alekso. Member Posted 2 years ago # ...
wordpress.org - WordPress › Support » trackback_rdf() not working
It seems, that the function trackback_rdf() does not produce any output. When I view my blog's HTML-source with my browser (firefox), the line where the rdf ...
wordpress.org - WordPress RDF Source Makeover : Perishable Press
Feb 22, 2006 ... Next, open the file wp-includes/comment-functions.php and find the function trackback_rdf , which is located about halfway down the page on ...
perishablepress.com
Kullanýcý Tartýþmalarý [ wordpress.org ]
- Peter Westwood on "Fatal error after Upgrade"
- insthink on "Fatal error after Upgrade"
- habakuk on "trackback_rdf() not working"
- Erunafailaro on "trackback_rdf() not working"
- Sirthinks on "trackback_rdf() not working"
- Sirthinks on "trackback_rdf() not working"
- habakuk on "trackback_rdf() not working"
- Erunafailaro on "trackback_rdf() not working"