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.



BBC Entertainment News

  • March 13, 2010
  • Drug ring link in Haims death
  • Actor Corey Haims death is being linked to a major drug ring which is illegally obtaining prescription drugs, US police say.

  • March 13, 2010
  • Hollies miss Hall of Fame honour
  • The two remaining original members of pop group The Hollies are to miss the groups induction into the Rock n Roll Hall of Fame in New York.

  • March 12, 2010
  • Phil Spector denied fair trial
  • Lawyers for music producer Phil Spector are appealing his murder conviction, claiming he was denied a fair trial.

  • March 13, 2010
  • Take That star checks into rehab
  • Pop star Mark Owen checks into rehab after admitting to a drink problem and cheating on his partner, a spokesman confirms.

  • March 12, 2010
  • Sir David to voice CBBC animation
  • Veteran actor Sir David Jason is to lend his voice to CBBCs first ever in-house animation series, it is announced.


Advertisement



Archives

January 20102 posts
October 20091 posts
May 20091 posts
April 20091 posts
March 20091 posts
December 20081 posts
October 20081 posts
September 20081 posts
August 20082 posts
July 20082 posts
June 20081 posts
April 20082 posts

RSS feeds



Recently Online