Google Sitemap Parser

A plugin for WordPress 2+
Version 1.0

This is the latest version of the sitemap parser plugin. It is replacing the original. We will Still provide a download link for the original at this time found at the bottom of this page. We strongly encourage all users of any previous version to upgrade to the new version. As with the original the purpose is to output all the links from your sitemap.xml that is generated by using the Google Sitemap Generator Plugin for WordPress. Now the plugin offers paginated results for links so we do not have hundreds of links on our sitemap page. This could prove very undesirable after making a considerable amount of posts.

Check out the sitemap link on this site to see what it looks like in action.

Before you install:
You should be using search engine friendly urls with wordpress for this plugin to function as it is intended. You would do this by setting your permalinks to something such as date and name based otherwise you are defeating the purpose of a sitemap. By using the permalink structure /%year%/%monthnum%/%day%/%postname%/ you give your viewers names of articles and pages to search for as apposed to a bunch of meaningless numbers. The names are what you would find as the page or posts postslug.

Changes: After almost 1000 downloads of this plugin and our own use on multiple hosts we have not heard of any serious issues untill the other day we were contacted about the plugin cuasing a huge overage in traffic for a site it had been installed on. Although this is the only occurance of this type of thing we are noting that a change MAY need to be made to the code as noted below you will see the line for “SMAPFILE” is crossed out and has been replaced with a full file path in place of the url.

Installation:
1.) Open the file named asylum-et-sitemap.php and edit the lines around line 37 to line 40. You will see
/* These settings should be set before activating the plugin */
define(’SURL’,'http://www.your domain.com’); // Your web address.
define(’SMAPFILE’,'/sitemap.xml’); //The path to your sitemap.xml file
define(’SMAPFILE’,'/home/path/webroot/sitemap.xml’); //The path to your sitemap.xml file
define(’SLINK_COUNT’,20); // The number of links to output on each page so we do not have a large amount of links on the same page.
define(’SURI’,'/sitemap/’); // This is the name of the page that you created and used the <!–sitemap–> tag in. Some installs require this to be other than /sitemap/

Note: do not just copy and paste the <div><!–sitemap–></div> tags from this page. That will not work. This is encoded on the page to show you what the
Code should look like. If you are looking to copy and paste then you should open the
README file in notepad or other text editor where you will find the installation instructions as well.

Search for Browse links to all pages or blog posts located on (Your Site Name) in the file and edit that to suit your needs as well as any other text that is shown.

Once you edit these lines to suit your needs you may proceed to step 2.

2.) Upload the a-et_sitemap directory to wp-content/plugins/
3.) login to wp-admin and go to create a page then create a page named sitemap and then select to edit the code. The visual editor will add tags and we do not want that. So now we add <div><!–sitemap–></div> to the page content.
4.) Now we go to plugins tab in wp-admin and activate Google Sitemap Parser

Un-Install:
1.) Remove the sitemap page you created
2.) Delete the plugin directory named a-et_sitemap

Thats it.





Advertisement



BBC Entertainment News

  • July 30, 2010
  • Balding complains over sex jibe
  • Sports presenter Clare Balding makes an official complaint to the Press Complaints Commission over an article which mocked her sexuality.

  • July 30, 2010
  • DeGeneres leaving American Idol
  • Comedienne and chat show host Ellen DeGeneres is leaving American Idol after one season on the judging panel.

  • July 30, 2010
  • Ben Shephard says goodbye to GMTV
  • Ben Shephard bids farewell to GMTV after 10 years telling viewers Im going to miss all of you, every single one of you.

  • July 30, 2010
  • Awards double for Valentine band
  • Welsh rock band Bullet For My Valentine scoop two prizes at this years Kerrang Awards, including best British group for the third year running.

  • July 30, 2010
  • Holden to star in Shrek musical
  • Britains Got Talent judge Amanda Holden lands a starring role in Shrek The Musical, which is coming to Londons West End next year.


RSS feeds



Recently Online