Make WordPress Core


Ignore:
Timestamp:
12/07/2006 03:57:23 AM (19 years ago)
Author:
markjaquith
Message:

Bunch of whitespace and coding standardization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r4454 r4626  
    66}
    77
     8
    89function bloginfo_rss($show = '') {
    910    echo get_bloginfo_rss($show);
    1011}
     12
    1113
    1214function get_the_title_rss() {
     
    1719}
    1820
     21
    1922function the_title_rss() {
    2023    echo get_the_title_rss();
    2124}
     25
    2226
    2327function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
     
    4347            $use_dotdotdot = 0;
    4448        }
    45         for ( $i=0; $i<$k; $i++ ) {
     49        for ( $i=0; $i<$k; $i++ )
    4650            $excerpt .= $blah[$i].' ';
    47         }
    4851        $excerpt .= ($use_dotdotdot) ? '...' : '';
    4952        $content = $excerpt;
     
    5356}
    5457
     58
    5559function the_excerpt_rss() {
    5660    $output = get_the_excerpt(true);
     
    5862}
    5963
     64
    6065function permalink_single_rss($file = '') {
    6166    echo get_permalink();
    6267}
     68
    6369
    6470function comment_link() {
     
    6672}
    6773
     74
    6875function get_comment_author_rss() {
    6976    return apply_filters('comment_author_rss', get_comment_author() );
    7077}
     78
     79
    7180function comment_author_rss() {
    7281    echo get_comment_author_rss();
    7382}
     83
    7484
    7585function comment_text_rss() {
     
    7989}
    8090
     91
    8192function comments_rss_link($link_text = 'Comments RSS', $commentsrssfilename = '') {
    8293    $url = comments_rss($commentsrssfilename);
    8394    echo "<a href='$url'>$link_text</a>";
    8495}
     96
    8597
    8698function comments_rss($commentsrssfilename = '') {
     
    94106    return apply_filters('post_comments_feed_link', $url);
    95107}
     108
    96109
    97110function get_author_rss_link($echo = false, $author_id, $author_nicename) {
     
    113126}
    114127
     128
    115129function get_category_rss_link($echo = false, $cat_ID, $category_nicename) {
    116130    $permalink_structure = get_option('permalink_structure');
     
    130144}
    131145
     146
    132147function get_the_category_rss($type = 'rss') {
    133148    $categories = get_the_category();
     
    143158}
    144159
     160
    145161function the_category_rss($type = 'rss') {
    146162    echo get_the_category_rss($type);
    147163}
     164
    148165
    149166function rss_enclosure() {
Note: See TracChangeset for help on using the changeset viewer.