Changeset 495623
- Timestamp:
- 01/26/2012 02:34:47 PM (14 years ago)
- Location:
- simple-google-sitemap-xml/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
simple-google-sitemap-xml.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-google-sitemap-xml/trunk/readme.txt
r492224 r495623 4 4 Requires at least: 2.0 5 5 Tested up to: 3.3.1 6 Stable tag: 1.4. 26 Stable tag: 1.4.3 7 7 8 8 Simple Google Sitemap XML generates a valid Google XML sitemap. … … 72 72 = 1.4.2 = 73 73 * Fixed a small bug 74 75 = 1.4.3 = 76 * Fixed a bug where Google Webmaster Tools complained about a duplicate entry in the XML file -
simple-google-sitemap-xml/trunk/simple-google-sitemap-xml.php
r492224 r495623 2 2 /* 3 3 Plugin Name: Simple Google Sitemap XML 4 Version: 1.4. 24 Version: 1.4.3 5 5 Plugin URI: http://itx-technologies.com/blog/simple-google-sitemap-xml-for-wordpress 6 6 Description: Generates a valid Google XML sitemap with a very simple admin interface … … 64 64 65 65 66 // XML's header 66 67 $xmlcontent = '<?xml version="1.0" encoding="UTF-8"?>'."\n"; 67 68 $xmlcontent .= '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'."\n"; 68 $xmlcontent .= "69 <url>70 <loc>".get_option( 'siteurl' )."/</loc>";71 if ($gsxml_last_ch == 'Enable') {72 $xmlcontent .= "<lastmod>".date('Y-m-d')."</lastmod>";73 }74 75 // verify that priority + change frequency have been enabled76 if ($gsxml_pri_freq == 'Enable') {77 $xmlcontent .= "<changefreq>".$home_f."</changefreq>78 <priority>".$home_p."</priority>";79 }80 $xmlcontent .= "</url>\n";81 69 82 70 // Query for the posts
Note: See TracChangeset
for help on using the changeset viewer.