WordPress 2.3-friendly version of my export script

| 5 Comments
Grab it here. Bugs? Leave me a detailed description of what went wrong, including error messages.

 

5 Comments

Good job!!!

I'd like to suggest following code to put out EXTENDED BODY and EXCERPT part, instead of lines 44 to 46 of your code.


$extpos = stripos($post[4], "");
if ($extpos != false) {
print substr($post[4], 0, $extpos);
print "\n-----\n";
print "EXTENDED BODY:\n";
print substr($post[4], $extpos);
} else {
print $post[4];
}
print "\n-----\n";
print "EXCERPT:\n";

Hi, MikeT, thanks for this script.
I suggest using "$table_prefix" on line 23.

Well done! Thanks!

Ok, i've found a bug imho.

After runnig the script in a german Wordpress installation (locally) each entry with an german umlaut breaks after the first umlaut.

For example (in German):

Original:
Hallo ich bin müde und so weiter

Output:
Hallo ich bin m


All the chars after the first umlaut within an single entry are gone.

If you have further questions please drop me a line.

Categories were jammed and tags were missing.
No error message reported.

Leave a comment

About this Entry

This page contains a single entry by MikeT published on October 17, 2007 9:37 PM.

WordPress 2.3 and my export script was the previous entry in this blog.

Instructions on how to run the export script is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.