CoreFiles by mySites.guru
wp-locations.php37 lines, 1,005 bytes, from wordpress-0.72-beta-1.zip
Raw History Compare with 0.71-gold
md5
3a014fc7c7bd817fd270088e180199c8
sha1
42c23b07634a41c854915edc9fe5d78d159f5ff9
sha256
2b32bc79c00fe5c708dcc84c060337c8e23fbad3971bb91f9bf89a4a85b167a4
<?php $blog = 1; // enter your blog's ID
header('Content-type: text/xml');
include('blog.header.php');
?><?php echo "<?xml version=\"1.0\"?".">\n"; ?>
<travels>
<?php
$start = count($posts)-1;
for ($i = $start; $i >= 0; $i--) {
    $post = $posts[$i];
    start_b2();
    if ((get_Lon() != null) && (get_Lon > -360) && (get_Lon() < 360 )) {
?>
    <location arrival="<?php the_date_xml() ?>">
        <name><?php the_title_rss() ?></name>
        <latitude><?php print_Lat() ?></latitude>
        <longitude><?php print_Lon() ?></longitude>
<?php
        if ($rss_use_excerpt) {
?>
        <note><?php the_content_rss('', 0, '', $rss_excerpt_length, $rss_encoded_html) ?>
        </note>
<?php
        } else { // use content
?>
        <note><?php the_excerpt_rss('', 0, '', $rss_excerpt_length, $rss_encoded_html) ?></note>
<?php
        } // end else use content
?>
        <url><?php permalink_single_rss() ?></url>
    </location>
<?php
    } // end if lon valid
?>
<?php
} // end loop
?>
</travels>

The same content is in 2 releases, WordPress 0.72-beta-1 to 0.72-RC1. See them all, or every version of this file.