Make WordPress Core

Changeset 18 for trunk/b2rdf.php


Ignore:
Timestamp:
05/06/2003 10:16:07 PM (24 years ago)
Author:
mikelittle
Message:

Added rss_use_excerpt flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2rdf.php

    r3 r18  
    4646        <dc:creator><?php the_author() ?> (mailto:<?php the_author_email() ?>)</dc:creator>
    4747        <dc:subject><?php the_category_rss() ?></dc:subject>
     48<?php if ($rss_use_excerpt) {
     49?>
     50        <description><?php the_excerpt_rss($rss_excerpt_length, 2) ?></description>
     51<?php
     52} else { // use content
     53?>
    4854        <description><?php the_content_rss('', 0, '', $rss_excerpt_length, 2) ?></description>
     55<?php
     56} // end else use content
     57?>
    4958        <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
    5059</item>
Note: See TracChangeset for help on using the changeset viewer.