Support » Fixing WordPress » the_excerpt_rss vs. the_content_rss?

  • I’ve noticed that the usage of these 2 functions varies in the rss/rdf/atom .php scripts. One, I think wp-rss.php uses both. What is the primary difference between these?
    One problem that I encountered is that the_excerpt_rss doesn’t properly strip Textile2/Textile2-new formatting for the summaries in wp-rss2.php. So, the summaries in my RSS feeds didn’t look quite right. I changed the call from the_excerpt_rss to the_content_rss (that’s used in wp-atom.php) and that correctly strips the Textile formatting, you may want to look into that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • They are two different data fields, and could have completely different text in them. There IS a difference between the two calls then, depending on what content you want sent out….
    -d
    CHAITGEAR

    Thread Starter bturner

    (@bturner)

    Can you explain how in one case (the_content_rss) strips the Textile formatting correctly, while the_excerpt_rss does not? They both seem to pass the same parameter to strip tags, but the latter doesn’t strip everything.
    I also noticed that a trackback I sent also had the Textile formatting embedded (not stripped), so that the excerpt sent looked a little funny.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘the_excerpt_rss vs. the_content_rss?’ is closed to new replies.