Changeset 2860
- Timestamp:
- 09/08/2005 10:02:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-rdf.php
r2627 r2860 33 33 <items> 34 34 <rdf:Seq> 35 <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>35 <?php while (have_posts()): the_post(); ?> 36 36 <rdf:li rdf:resource="<?php permalink_single_rss() ?>"/> 37 <?php $wp_items[] = $row; $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } }?>37 <?php endwhile; ?> 38 38 </rdf:Seq> 39 39 </items> 40 40 </channel> 41 <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>41 <?php rewind_posts(); while (have_posts()): the_post(); ?> 42 42 <item rdf:about="<?php permalink_single_rss() ?>"> 43 43 <title><?php the_title_rss() ?></title> … … 54 54 <?php do_action('rdf_item'); ?> 55 55 </item> 56 <?php } }?>56 <?php endwhile; ?> 57 57 </rdf:RDF>
Note: See TracChangeset
for help on using the changeset viewer.