Changeset 4626 for trunk/wp-includes/feed.php
- Timestamp:
- 12/07/2006 03:57:23 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/feed.php (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r4454 r4626 6 6 } 7 7 8 8 9 function bloginfo_rss($show = '') { 9 10 echo get_bloginfo_rss($show); 10 11 } 12 11 13 12 14 function get_the_title_rss() { … … 17 19 } 18 20 21 19 22 function the_title_rss() { 20 23 echo get_the_title_rss(); 21 24 } 25 22 26 23 27 function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { … … 43 47 $use_dotdotdot = 0; 44 48 } 45 for ( $i=0; $i<$k; $i++ ) {49 for ( $i=0; $i<$k; $i++ ) 46 50 $excerpt .= $blah[$i].' '; 47 }48 51 $excerpt .= ($use_dotdotdot) ? '...' : ''; 49 52 $content = $excerpt; … … 53 56 } 54 57 58 55 59 function the_excerpt_rss() { 56 60 $output = get_the_excerpt(true); … … 58 62 } 59 63 64 60 65 function permalink_single_rss($file = '') { 61 66 echo get_permalink(); 62 67 } 68 63 69 64 70 function comment_link() { … … 66 72 } 67 73 74 68 75 function get_comment_author_rss() { 69 76 return apply_filters('comment_author_rss', get_comment_author() ); 70 77 } 78 79 71 80 function comment_author_rss() { 72 81 echo get_comment_author_rss(); 73 82 } 83 74 84 75 85 function comment_text_rss() { … … 79 89 } 80 90 91 81 92 function comments_rss_link($link_text = 'Comments RSS', $commentsrssfilename = '') { 82 93 $url = comments_rss($commentsrssfilename); 83 94 echo "<a href='$url'>$link_text</a>"; 84 95 } 96 85 97 86 98 function comments_rss($commentsrssfilename = '') { … … 94 106 return apply_filters('post_comments_feed_link', $url); 95 107 } 108 96 109 97 110 function get_author_rss_link($echo = false, $author_id, $author_nicename) { … … 113 126 } 114 127 128 115 129 function get_category_rss_link($echo = false, $cat_ID, $category_nicename) { 116 130 $permalink_structure = get_option('permalink_structure'); … … 130 144 } 131 145 146 132 147 function get_the_category_rss($type = 'rss') { 133 148 $categories = get_the_category(); … … 143 158 } 144 159 160 145 161 function the_category_rss($type = 'rss') { 146 162 echo get_the_category_rss($type); 147 163 } 164 148 165 149 166 function rss_enclosure() {
Note: See TracChangeset
for help on using the changeset viewer.