Make WordPress Core

Changeset 2182


Ignore:
Timestamp:
02/01/2005 02:03:21 AM (19 years ago)
Author:
saxmatt
Message:

Updating OPML feed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-links-opml.php

    r2063 r2182  
    1919    }
    2020}
    21 ?><?php echo "<?xml version=\"1.0\"?".">\n"; ?>
     21?><?php echo '<?xml version="1.0"?'.">\n"; ?>
    2222<!-- generator="wordpress/<?php echo $wp_version ?>" -->
    2323<opml version="1.0">
     
    2727    </head>
    2828    <body>
    29 <?php $sql = "SELECT $wpdb->links.link_url, link_rss, $wpdb->links.link_name, $wpdb->links.link_category, $wpdb->linkcategories.cat_name
     29<?php $sql = "SELECT $wpdb->links.link_url, link_rss, $wpdb->links.link_name, $wpdb->links.link_category, $wpdb->linkcategories.cat_name, link_updated
    3030FROM $wpdb->links
    3131 LEFT JOIN $wpdb->linkcategories on $wpdb->links.link_category = $wpdb->linkcategories.cat_id
     
    4949        } // end if new category
    5050?>
    51             <outline title="<?php echo wp_specialchars($result->link_name); ?>" type="link" xmlUrl="<?php echo $result->link_rss; ?>" htmlUrl="<?php echo(wp_specialchars($result->link_url)) ?>"/>
     51            <outline title="<?php echo wp_specialchars($result->link_name); ?>" type="link" xmlUrl="<?php echo wp_specialchars($result->link_rss); ?>" htmlUrl="<?php echo wp_specialchars($result->link_url); ?>" updated="<?php if ('0000-00-00 00:00:00' != $result->link_updated) echo $result->link_updated; ?>" />
    5252<?php
    5353        } // end foreach
Note: See TracChangeset for help on using the changeset viewer.