function print_DegreeConfluence_Url() { if (!get_settings('use_geo_positions')) { return; } if (longitude_invalid()) { return; } echo "http://confluence.org/confluence.php?lat=" . get_Lat() . "&lon=" . get_Lon(); }
function smarty_get_Lon() { return get_Lon(); }
error_reporting(E_ERROR); init_param('GET', 'num', 'integer'); if (test_param('num')) { $GLOBALS['showposts'] = get_param('num'); } require 'wp-blog-header.php'; header('Content-type: text/xml'); echo '<?xml version="1.0" encoding="' . wp_get_rss_charset() . '"?' . '>'; ?> <travels> <?php $_start = count($GLOBALS['posts']) - 1; for ($_i = $_start; $_i >= 0; $_i--) { $GLOBALS['post'] = $GLOBALS['posts'][$_i]; start_wp(); if (get_Lon() != "" && 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(true); ?> </latitude> <longitude><?php print_Lon(true);
<?php $blog = 1; // enter your blog's ID header('Content-type: text/xml'); include 'wp-blog-header.php'; echo "<?xml version=\"1.0\" encoding=\"{$blog_charset}\"?" . ">\n"; ?> <travels> <?php $start = count($posts) - 1; for ($i = $start; $i >= 0; $i--) { $post = $posts[$i]; start_wp(); 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(); ?>