Related Post

68 Comments Received

Erica Joy
February 28th, 2007 @16:46  

Works like a charm! Thanks!

josejuan05
March 6th, 2007 @2:31  

I have an xml file that I exported from WordPress. Unfortunately I cannot log in to my WordPress file because it is hosted by my university. Is it possible to use your tool to import the xml file into blogger?

Yichao
March 6th, 2007 @9:17  

I have bad news and good news.
the bad news is the tool can not help importing the xml file.
the good news is you can follow these steps to import the xml file.
1) download wordpress from wordpress.org
2) set up a local wordpress site.
3) import your rss xml file into your local wordpress site.
4) import wordpress to blogger by this tool.

obsession-perfume
March 8th, 2007 @4:19  

The history of perfume oils dates back to ancient Egypt when these fine scented oils were presented to royalty as gifts. In modern times, however, when the word “perfume” is said, most people think of department store fragrances, which consist mainly of the concentrated oil and alcohol solution. Nevertheless, as more and more people are finding out about them, perfume oils are experiencing great popularity. Here are some interesting facts about perfume oils:

Dr. J
March 29th, 2007 @23:47  

Excellent job. It works. Question is: is there any way to import comments too or maybe I’m asking for too much? :)

Yichao
March 31st, 2007 @17:44  

No, it can not import comments.
As looking for a job recently, I have not enough time to implement that feature. so today, I created a project at
http://code.google.com/p/wordpress2blogger

welcome to contribute in implementing that feature.

BB Iverson
April 1st, 2007 @18:33  

After setting up the two accounts, I press on “Read Posts from WordPress” and get:

when reading posts from wordpress, error occurs:
Failed to ready servers response: Connection refused: connect

BB Iverson
April 1st, 2007 @18:42  

I had entered “http://” as part of my WP URL under Account Setting. I removed that and got rid of the aforementioned error. However, I’m now getting the error:

Failed to create input stream: Server returned response code 403 for URL:http://path/to//xmlrpc.php

Notice the two /’s before xmlrpc.php. Is that supposed to be like that?

BB Iverson
April 1st, 2007 @18:46  

Sorry for all the comments. You can delete them if you want. I fixed my problem (again). There’s a plugin called Enforce http://www. Preference that was affecting the path to my xmlrpc.php file. I deactivated it and now no more errors!

Yichao
April 1st, 2007 @19:42  

Thanks. That would be a good tip for the Enforce http://www. Preference plugin users.

Anonymous
April 6th, 2007 @15:24  

Trying to move a blog from a wordpress on my own domain to blogger.com,
i also get “Failed to ready servers response: Connection refused: connect”.
i tried no ‘http://’, tried with it, tried adding a “/” after the domain. still getting the error…

What else can i try?

Anonymous
April 13th, 2007 @23:07  

To be honest then i cannot understand a thing how it works. I am mac user and when i pressed on run.sh just one window opened with following text:
export CP=./lib/blogsync.jar:./lib/ws-commons-util-1.0.1.jar:./lib/xmlrpc-client-3.0.jar:./lib/gdata-client-1.0.jar:./lib/xmlrpc-common-3.0.jar
java -cp $CP org.easter.blogsync.BlogSync

So, what next?

Yichao
April 14th, 2007 @0:03  

to the first anonymous user:
please check the xmlrpc.php file in the wordpress directory is valid.
HTH.

to the 2nd anonymous user:
On your Mac, by default the .sh file may be set to be opened by a text editor.
you should run the run.sh file as a Mac bash shell.
i.e: type “sh run.sh” in your terminal.

Anonymous
April 14th, 2007 @7:14  

Hi!

I have a problem, nothing happends on the import tool, under “LOG” start to import posts , but nothing happends. Whats the reason?

Hope somebody can help me!

Greetings

Mike

Yichao
April 14th, 2007 @9:24  

Hi Mike,
Have you read posts from wordpress first?
if successfully reading the wp posts, please import 1 or 2 posts first for a test.
It may cost lots of time to import many posts for one time.
and there is a flaw in the tool, the log outputs info only when all posts have been imported, not one by one.

Susanna Ng
April 29th, 2007 @23:27  

hi there, thx for the good work! however, i’m also getting error:

the wordpress url is invalid
no protocol: xxxx.wordpress.com/xmlrpc.php

i’m using free wordpress and i don’t know where to find the xmlrpc.php file.. sorry i’m very much tech illiterate :)

Yichao
April 30th, 2007 @0:13  

add “http://” to your wordpress address, and try again.

Susanna Ng
April 30th, 2007 @4:07  

hi yichao, i did just that but this time i have another message:

failed to read servers response: connection refused: connect

i read your previous answer above but i don’t know what is xmlrpc.php :P

Yichao
April 30th, 2007 @14:56  

Hi Susanna,
remove “xmlrpc.php” from your wordpress url and try again.
the url looks like:http://xxx.wordpress.com

for “http://xxx.wordpress.com/xmlrpc.php “,
this url provides some functions to read from or post to your wordpress.
and the blogsync tool uses these functions to sync between wordpress and blogger.

Heather
May 11th, 2007 @18:23  

When trying to run this program under Linux, I get the following error:

Exception in thread “main” java.lang.NoSuchMethodError: method org.easter.blogsync.SyncFrame.setMinimumSize with signature (Ljava.awt.Dimension;)V was not found.
at org.easter.blogsync.SyncFrame.initialize(SyncFrame.java:382)
at org.easter.blogsync.SyncFrame.init(SyncFrame.java:96)
at org.easter.blogsync.BlogSync.main(BlogSync.java:21)

maybe I’m missing some classes? Here is my classpath:

echo $CLASSPATH
:/usr/lib/jvm/jre-1.4.2/lib:/usr/lib/jvm/java-1.4.2/lib:/home/hbuch/downloads/blogsync/lib

It’s been a while since I’ve used Java, so maybe I’m doing something wrong. Any help would be appreciated.

Thanks,

Heather Buch

Yichao
May 11th, 2007 @21:41  

please try jdk 1.5.
the method setMinimumSize() comes since jre 1.5, so the tool does not work against jre 1.4.x.

Heather
May 19th, 2007 @10:21  

Hi again Zhang,

OK, jdk 1.5 worked (needed both lib and java binary to be 1.5).

Now I can see the java GUI, however, when I click “Read Posts from Wordpress”, after filling out all settings, I get this error: Fatal Error] :1:1: Content is not allowed in prolog.

so, what does it mean? I’m getting closer….

Heather

Yichao
May 19th, 2007 @22:43  
Anonymous
June 13th, 2007 @22:35  

This is another tool I use it to import my WordPress to BlogSpot:
http://groups.google.com/group/blogtransmit-discussion-group

Anonymous
July 28th, 2007 @21:36  

this tool does not connect to my blogger account. Pls. help.

Anonymous
July 28th, 2007 @23:15  

I am getting error: cannot log into blogger account, Invalid credentials. Though its able to read the posts from WP. Pls. heeelp!

Yichao
July 29th, 2007 @9:24  

can you login successfully with your username/password on the blogger website?

I tried it with the version 0.3, and it works fine.
you can find it on
http://code.google.com/p/blogsync-java/downloads/list

Anonymous
July 30th, 2007 @13:11  

when reading posts from wordpress, error occurs:
Failed to ready servers response: Connection refused: connect

How do I fix that? :(

Yichao
July 30th, 2007 @19:12  

can you login successfully with your username/password on the wordpress website?

or you can export wordpress to a rss xml file first, and then import to blogger from the xml file.
try it with the version 0.3 from http://code.google.com/p/blogsync-java/downloads/list

Yichao
August 1st, 2007 @9:08  

If you still have the error, pls provide some more details, see error.log in your blogsync directory.

snee
August 13th, 2007 @16:47  

This is a superb tool - worked fine!

Many thanks :)

jen o
September 4th, 2007 @3:52  

hi yichao! i hope you can help me. i don’t know what “set java in your path” means. i’m on a mac. is it something in terminal?

after i do that, then i think i’ll need to do what you told someone else… to make the run.sh file not open in text editor.

THEN hopefully i’ll be on my way! thank you in advance. :)
jen

Yichao
September 4th, 2007 @14:41  

Hi jen
Have you installed jdk1.5.0 or later on your Mac OS X?
If not, upgrade from apple.com

jen o
September 4th, 2007 @15:02  

i have the latest java update from apple. it says J2SE 5.0 (1.5.0).

Yichao
September 4th, 2007 @15:40  

hi jen,
open terminal,
$java -version
if it says jdk1.5.0
it should be working fine, isn’t it?
if sucks, what does it prompt in terminal?

jen o
September 5th, 2007 @6:10  

do you mean to type in “$java -version” in terminal?

the terminal prompt is this:

Last login: Tue Sep 4 15:07:26 on ttyp1
Welcome to Darwin!
Jen-####-Computer:~ jen####$

Yichao
September 5th, 2007 @8:56  

Hi jen,
I mean:
after ‘$’ in the terminal, type “java -version” and press Enter, what does it prompt?

it should look like:
java version “1.5.0″
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

jen o
September 5th, 2007 @11:11  

yes! it says this:

java version “1.5.0_07″
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

Yichao
September 5th, 2007 @11:18  

Hi jen,
Good!
and then in the terminal, type “sh run.sh” to run blogsync

jen o
September 5th, 2007 @11:48  

it says this:
run.sh: run.sh: No such file or directory

but it’s in the blogsync folder on my desktop! do i need to put it somewhere special?

oh, thank you so much for your patience and help!

Yichao
September 5th, 2007 @12:10  

Hi jen,
you should cd into your blogsync directory first.
says your run.sh is in “/home/jen/blogsync” directory.
in terminal,type:
$cd /home/jen/blogsync
$sh run.sh

or
$sh /home/jen/blogsync/run.sh

jen o
September 5th, 2007 @12:58  

YES! that worked!

now i am having an error that other people have had:

when reading posts from wordpress, error occurs: Failed to create input stream: http://localhost/wordpress/xmlrpc.php

i have wordpress installed in my own domain, my xmlrpc.php file is in http://mydomain.com/blog. how can i tell blogsync where it is?

thank you so much. i’m getting closer!

Yichao
September 5th, 2007 @14:02  

Hi jen,
press Accounts button on blogsync,
adjust the settings and save as default.

jen o
September 5th, 2007 @14:24  

adjust what settings? i put in all my wordpress and blogger information, and that gave me the error.

Yichao
September 5th, 2007 @14:31  

Hi jen
check settings.properties in blogsync.
Is it correct?
if not, adjust it with a text editor.
for example:
change wp.url=http\://localhost/wordpress
to
wp.url=http\://mydomain.com/blog
and some other settings.

jen o
September 5th, 2007 @14:39  

ok, i opened settings.properties in text editor and everything is correct. i’m so confused!

Yichao
September 5th, 2007 @14:47  

hi jen
pls send me error.log in the blogsync.

EscRiBiTioNiSt®
September 7th, 2007 @10:44  

Is this software applicable with WordPress.com? I tried to move WP posts to Blogger, but always found some errors..

Thanks.

Yichao
September 7th, 2007 @10:49  
EscRiBiTioNiSt®
September 7th, 2007 @21:30  

Thank you for the reply.

However, when I click ‘run’ for Windows, there was nothing happened. The BlogSync window does not show up unlike when I clicked on ‘run’ from the earlier versions.

Yichao
September 8th, 2007 @12:52  
andrian martin dominic
September 30th, 2007 @20:04  

I have this problem

“when publishing post to blogger error occurs: bad request”

any idea whats wrong?

Yichao
September 30th, 2007 @21:24  

Are you using the latest version from http://code.google.com/p/blogsync-java/downloads/list

the faq on
http://code.google.com/p/blogsync-java/w/list
or send me your error.log if you like

vin
October 13th, 2007 @19:50  

Hi,

I am trying to implement automatic posting of links from del.icio.us to Blogger and it asks for :

“out_url is the full URL of the XML-RPC interface for your blog, which probably ends in something like mt-xmlrpc.cgi”

Can you help me to get the full URL of the XML-RPC interface for Blogger blogs?

Thanks in advance,

Yichao
October 15th, 2007 @9:13  

Hi vin,
“The Blogger 1.0 API is no longer supported and must not be used for new client development. Please use our GData API instead.”
documented on
http://www.blogger.com/developers/api/1_docs/

so I suggest using GData API instead of xmlrpc.

burning flame
October 24th, 2007 @5:23  

Thanks a lot. This realy helped. I was able to move my post from November 2006 till March 2007, when it suddenly stopped. I get the messages as it is read and posted successfully but it doesn’t appear in my new blog. Can anyone help?

Thanks in advance!

Yichao
October 24th, 2007 @9:28  

Hi burning flame,
I guess that’s due to Google blogger’s limitation, you can only import at most 50 entries within one day. after that, It seems been imported but not without errors.
please try it after 24 hours.

more faq on
http://code.google.com/p/blogsync-java/wiki/BlogsyncFAQ

burning flame
October 25th, 2007 @3:18  

@Yichao

Yes, you were right. I continued today and moved all the post until August. Tomorrow I will finish, I guess. I was really enjoing this programme. Thanks again!

pinksundrops
December 28th, 2007 @7:58  

Yichao, I am also a Mac user. Forgive my ignorance, but what is the terminal and where can I find it to type in sh run:sh?

pinksundrops
December 28th, 2007 @8:07  

Well I’ve kind of figured out the terminal. But when I type in the path then sh run.sh this is the message I get:

Exception in thread “main” java.lang.NoClassDefFoundError: org/easter/blogsync/BlogSync

Yichao
December 28th, 2007 @9:27  

@pinksundrops
check this
http://code.google.com/p/blogsync-java/wiki/BlogsyncFAQ
the answer to
why do I get Exception in thread “main” java.lang.NoClassDefFoundError: org/easter/blogsync/BlogSync?

if you are on Mac or unix, please make sure you have read permission on blogsync/build/blogsync.jar file if not, open a terminal and type:
chmod 744 /path/to/your/blogsync/build/blogsync.jar

Goktug
January 27th, 2008 @4:36  

First of all, I was looking forward a tool like this to move from wordpress to blogspot, thank you Yichao…

Here are a few comments for improvement and a question:
1.I think the tool needs to be shut down and re-opened after each settings change or any WP post readings. At least I made it work like that :)
2.When entering the WP address, DO NOT put a “/” at the end of the blog address or the tool makes double slashes which is a problem.
3.When I try to import my posts from my own WP blog, it only imports each blog partially until the “< .!--more--.>” part :( So most of my blogs contain that and the tool fails to import all of my posts. Is it possible to overcome this problem without fixing my all posts?

Hope to hear good news… :)

Thank you

A
January 27th, 2008 @13:45  

hi can anybody tell how to convert wordpress template to blogspot?
really wanna know that :(
10x

Elia
February 4th, 2008 @7:38  

I was able to log into wordpress and download my blogs but I can’t connect to blogger to upload: “cannot log into blogger account: Invalid Credentials” error the first entry and then “unauthorized” each subsequent entry.

I have blogsync-with-gui and have the settings correct (username/password logs me in on blogger site and blogID is from Posting tab). Any suggestions? Thanks for the help in advance.

Yichao
February 4th, 2008 @9:57  

@Goktug
I have no time to change the source code recently. Sorry about that.

@a
I have no idea about that.
Google it.

@Elia
Please disable “Import Comment” function. Try again. Good Luck.
This function can not be used now. It is not developed by public Google API.

Elia
February 4th, 2008 @10:43  

Thank you for responding. I looked through the files in the directory and ran the app but don’t see an option to disable “Import Comment.” I would appreciate it if you could point out to me where to find that?

Yichao
February 4th, 2008 @12:36  

@Elia
Are you using v0.3 from
http://code.google.com/p/blogsync-java/downloads/list

it means uncheck the “import comment” checkbox

Elia
February 4th, 2008 @22:46  

Yes, thank you. I was using blogsync-with-gui.tar.gz, which didn’t have that option. I switched to blogsync-0.3. It is able to access WordPress blog, download posts but still cannot upload to Blogger. Same error message as before: Invalid Credentials and Unauthorized. I double-checked login and password and id and made sure import comments was not checked. Any further ideas?

Leave A Reply

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again