Wordpress + BlogJet - Problems and Solutions
I found that the “group posting” (Blog -> Group Posting) feature in BlogJet has one problem: if the post includes images and you are posting from your localhost PC to both a localhost blog and to a public Internet blog, then the public Internet blog might NOT display the pictures, because their URLs - their src tag - might point to the localhost machine!
For example, I was “group posting” to arturmarques.com and to a http server on my Intranet (named “X”).
The <img src=”something”> HTML would always mention X, no matter the server.
I had to edit the many posts who had wrong URLs for the images. This huge error was hard to spot, because I did most browsing tests from the X machine, meaning that the images were still showing, because they were available from the Intranet. Only when testing from outside the Intranet, I realized my mistake.
When fixing the mistake, I found another BlogJet annoyance: each closing bracket was being forward’slashed.
For example <tag bla bla> was being transformed in <tag bla bla />. This caused no HTML parsing errors, but did not correspond to the post’s original HTML, so I also edited the affected posts, only to discover that the HTML that gets posted by BlogJet is NOT exactly what the user types - again, the slash phenomenon happens, although it doesn’t break the pages.
Because of multiple edits, I had posts with several slashes like “<tag bla bla bla / / />” – this one corresponds to a twice edited post (one slash on creation; one extra slash per edit).
Doing the text find/replace operation to transform, for example, “/ / / />” in “>” was NOT easy!
My default text editor (NoteTab Light 4.95) didn’t detect the right character set, so when doing a simple copy paste from BlogJet’s HTML view, the Portuguese characters got all messed up.
Because of this, I started using EditPad Light. This free editor allows to easily change the document’s character set.
I found that BlogJet’s HTML is UTF-8. So, setting EditPad to UTF-8, allows direct copy/paste from BlogJet even for non english characters.
Quite a ride. I am sorry if you visited the website and found (only) the “ALT” description for pictures… It is fixed – I hope.
Monday 14 Aug 2006 | am | sw, wordpress stuff