Posts Tagged ‘XML’

thydzik’s WordPress Tool – a WordPress error and link extractor

Friday, June 25th, 2010

Here is a simple tool that might be useful to others, it does two main things;

  1. Parses your post’s content as XML and spits out any possible errors, and
  2. Extracts all external links, which can be exported as an Excel Tab delimited file.

Post’s content errors

Each post’s content is wrapped with XML dummy tags and then passed with Microsoft’s XML parser. A feature of this parser is to check the XML structure when reading and output any errors. The WordPress Tool simply displays this raw output for each post. I have found it does do a good job of ‘typo’ errors, but depending on the content it may be erroneous, especially if you have code snippets and such.

Post’s external links

This was the main reason for designing this tool, I needed to extract all the links and confirm they met my ‘lowercase word hyphen word’ standard. You can export the links as a Tab delimited file, simply open it up in Excel.

How to use

  1. Download a WordPress eXtended RSS export of your blog. Go to Tools -> Export of your Admin page.
  2. Run thydzik’s WordPress Tool.
  3. Click ‘Select File’ and browse to the downloaded xml file.
  4. A report of links will automatically be generated, click the Errors radio button to see the error report.
  5. On either the Links or Errors option, click Export to export to a tab delimited file for Excel (note post content is not included in the file).

Screenshots

thydzik's WordPress Tool - Post content error example

thydzik's WordPress Tool - Post content links example

Download

Download thydzik’s WordPress Tool

thydzik Google Map version 1.4.6.1

Friday, March 13th, 2009

Latest offering has cleaned up JavaScript, improved error handling, improved RoboGEO handling of XML, but main features are.

  • Icons now support letters ‘A’ to ‘Z’.
  • Non clickable markers if no ‘html’ element is present.

In the below example Marker Z is not clickable.

Download the latest from the WordPress repository.

thydzikGoogleMap v1.3

Friday, June 13th, 2008

I have finally managed to get WordPress to update the version number. This problem was due to not updating the version number in the PHP file as well as the readme.txt.

Version 1.3 fixes a problem with thydzikGoogleMap not displaying correctly when a WordPress blog isn’t located in the domain folder.

I have seen a few users, using thydzikGoogleMap to display a single point or no points at all, thydzikGoogleMap isn’t really for this as it is not worth creating an XML file just for the single point. Plus I believe you can now simply embed a Google map with some simple code.

However, if you want full customization; including lines, numbered points, HTML in a point’s detail, then thydzikGoogleMap is exactly for you.

Comments and suggestions very welcome.

Download thydzikGoogleMap v1.3

thydzikGoogleMap v1.1

Thursday, April 10th, 2008

thydzikGoogleMap v1.1 has been released with major updates:

  • cross-domain XML files can be used as the map data, see example below.
  • due to WordPress plugin repository automatically zipping plugins, the main plugin folder is changed. Anyone upgrading from v1.0, requires deletion of old folder.
  • Lots of code improvements, was a bug with displaying the default marker style.
  • Works with RoboGeo produced XML files.

The below example shows cross-domain support, I am using the XML file found in my second blog

http://sonyaandtravis.com/../china2007.xml

Download here