Beispiel #1
0
    <div class="channelgroup"><h3><?php 
        if (is_syndicated()) {
            ?>
 
    <span class="datum"><?php 
            the_time('Y-m-d');
            ?>
 av <?php 
            the_author_nickname();
            ?>
</span><br />
    <a href="<?php 
            the_syndication_source_link();
            ?>
"><?php 
            the_syndication_source();
            ?>
</a>
    <?php 
        }
        ?>
</h3>
  <div class="entrygroup" id="<?php 
        the_permalink();
        ?>
"><h4>
    <a href="<?php 
        the_permalink();
        ?>
" rel="bookmark"><?php 
        the_title();
function feedwordpress_item_feed_data()
{
    // In a post context....
    if (is_syndicated()) {
        ?>
<source>
	<title><?php 
        the_syndication_source();
        ?>
</title>
	<link rel="alternate" type="text/html" href="<?php 
        the_syndication_source_link();
        ?>
" />
	<link rel="self" href="<?php 
        the_syndication_feed();
        ?>
" />
<?php 
        $id = get_syndication_feed_guid();
        if (strlen($id) > 0) {
            ?>
	<id><?php 
            print $id;
            ?>
</id>
<?php 
        }
        $updated = get_feed_meta('feed/updated');
        if (strlen($updated) > 0) {
            ?>
	<updated><?php 
            print $updated;
            ?>
</updated>
<?php 
        }
        ?>
</source>
<?php 
    }
}