Giter Club home page Giter Club logo

google-blog-converters-appengine's Introduction

Welcome to Blog Converters.

This project contains a number of converters to and from different Blog
services.  The code is written in Python with scripts to execute the
conversionseither on the command-line scripts or hosted on Google App Engine.
This projectis open source and distributed under the Apache license.  Please
feel free to add to or modify this source and propose changes or new converters.

This project makes extensive use of the Google GData API.  For notes on
installing python that is suitable for this API, see:

  http://gdata-python-client.googlecode.com/svn/trunk/INSTALL.txt


The directory structure for this project:

  bin/               - Runnable scripts
  lib/               - Project dependencies
    googleappengine/ - External reference to the Google App Engine
                       source.  Useful for running hosted converters.
    gdata/           - Google's Data API for communication to various Google
                       services.
    atom/            - Library for native Atom parsing/creation in Python 
  src/               - Source for the converters
  samples/           - Sample export files for various formats.  
  

There are a number of scripts in the bin/ directory that demonstrate the 
various conversions available.  For instance:

  bin/wordpress2blogger.sh samples/wordpress-sample.wxr

will emit a Blogger export file that can be used to upload the Wordpress blog
contents to Blogger.  Similarly:

  bin/blogger2wordpress.sh samples/blogger-sample.xml

will convert from a Blogger export file to a Wordpress export file.  There also
exist batch files in the bin/ directory for those working in a Windows
environment.

To run a demonstration of a Google App Engine hosted conversion, run the
command:

  bin/run-appengine.sh [-p <port>] blogger2wordpress

or
  
  bin/run-appengine.sh [-p <port>] wordpress2blogger

will execute the hosted version of the converters.  Just direct a browser to
http://localhost:port and you will see a page that takes an export file,
converts the uploaded file and provides a converted file for download.  The
default port with the -p flag is not used is 8080.

Note that these converters are also hosted directly on Google App Engine with
the latest code checked into this projects SVN directory.  The hostname for
these converters uses the same name as the directories found in the src/
directory.  

See:

  http://blogger2wordpress.appspot.com/
  http://wordpress2blogger.appspot.com/
  http://livejournal2blogger.appspot.com/

for examples of these converters hosted on Google App Engine.  Note that there
is a huge caveat to using these hosted services at the moment in that there is 
a limit to the size of a downloaded file on appspot.com of 1 MB of data.  Thus,
these hosted applications should only be used for reference or for the
conversion of small blog export files.

Enjoy!

-JJ. 
jlueck @ gmail.com
 of the
Data Liberation Front 

google-blog-converters-appengine's People

Stargazers

 avatar  avatar

Watchers

 avatar

google-blog-converters-appengine's Issues

Sorry, the import failed due to a server error. The error code is bX-qm5h6h ?

What steps will reproduce the problem?
1. i was converted wordpress to blogger
2. when trying to import my blog i got that error

What is the expected output? What do you see instead?
i expected to impot my blog but i got this error (Sorry, the import failed
due to a server error. The error code is bX-qm5h6h )

What version of the product are you using? On what operating system?
i`m using windows 7 

Please provide any additional information below.
please any one can help me!

Original issue reported on code.google.com by [email protected] on 2 Dec 2009 at 4:38

Attachments:

error converting wordpress to blogger

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Error encountered during conversion.

Traceback (most recent call last):
File
"/base/data/home/apps/wordpress2blogger/1.335546315461473184/wordpress2blogger.p
y",
line 42, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.335546315461473184/wp2b.py",
line 138, in Translate
xml.sax.parseString(doc, self)
File "/base/python_dist/lib/python2.5/xml/sax/__init__.py", line 49, in
parseString
parser.parse(inpsrc)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107, in
parse
xmlreader.IncrementalParser.parse(self, source)
File "/base/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 211, in
feed
self._err_handler.fatalError(exc)
File "/base/python_dist/lib/python2.5/xml/sax/handler.py", line 38, in
fatalError
raise exception
SAXParseException: :635:110: not well-formed (invalid token)

What version of the product are you using? On what operating system?


Please provide any additional information below.
Error encountered during conversion.

Traceback (most recent call last):
File
"/base/data/home/apps/wordpress2blogger/1.335546315461473184/wordpress2blogger.p
y",
line 42, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.335546315461473184/wp2b.py",
line 138, in Translate
xml.sax.parseString(doc, self)
File "/base/python_dist/lib/python2.5/xml/sax/__init__.py", line 49, in
parseString
parser.parse(inpsrc)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107, in
parse
xmlreader.IncrementalParser.parse(self, source)
File "/base/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 211, in
feed
self._err_handler.fatalError(exc)
File "/base/python_dist/lib/python2.5/xml/sax/handler.py", line 38, in
fatalError
raise exception
SAXParseException: :635:110: not well-formed (invalid token)


Original issue reported on code.google.com by [email protected] on 19 Aug 2009 at 7:05

Error encountered during conversion.

i export template from wordpress and when i try to convert it to blogger i
receive this message

Error encountered during conversion.

Traceback (most recent call last):
File
"/base/data/home/apps/wordpress2blogger/1.335546315461473184/wordpress2blogger.p
y",
line 42, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.335546315461473184/wp2b.py",
line 138, in Translate
xml.sax.parseString(doc, self)
File "/base/python_dist/lib/python2.5/xml/sax/__init__.py", line 49, in
parseString
parser.parse(inpsrc)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107, in
parse
xmlreader.IncrementalParser.parse(self, source)
File "/base/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 211, in
feed
self._err_handler.fatalError(exc)
File "/base/python_dist/lib/python2.5/xml/sax/handler.py", line 38, in
fatalError
raise exception
SAXParseException: :135:114: not well-formed (invalid token)

I m not good with and codes ,so please let me know what i can do to solve
this ?

Original issue reported on code.google.com by [email protected] on 7 Sep 2009 at 1:56

Wordpress2blogger error strings

What steps will reproduce the problem?
1. downloaded my xml from wordpress
2. attempted to convert
3. ended up with the following error 
Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 1964, column 116

?docid=-4624716458454864401&hl=en&fs=true" style="width:400p


What is the expected output? What do you see instead?
Nothing it won't work


What version of the product are you using? On what operating system?
most recent converter http://wordpress2blogger.appspot.com/


Please provide any additional information below.
My site is a video site I can import it into another wordpress site but cannot 
convert it to import 
into blogger

Original issue reported on code.google.com by nyctunedin on 13 Sep 2009 at 9:14

Attachments:

movabletype2blogger has problem on japanese

What steps will reproduce the problem?
1. Use Japanese on MovableType.
2. MovableType export file.
3. Do MovableType2Blogger.
4. Do import converted file at Blogger.

Sorry,I'm not good at English.

Patch for this problem

file:mt2b.py
line:299-300

 original:
   def _Encode(self, content):
     return unicode(content, errors='ignore')

 patched:
   def _Encode(self, content):
     return content.encode("utf_8")



Original issue reported on code.google.com by [email protected] on 10 Jan 2009 at 4:08

Movable Type to Blogger - Error encountered during conversion.

What steps will reproduce the problem?
1. File selected to import from Movable Type
2. "Convert" Button Selected
3. Error encountered.

What is the expected output? 
Correct file type

What do you see instead?
"Error encountered during conversion.

Traceback (most recent call last):
File
"/base/data/home/apps/movabletype2blogger/1.330678566209479651/movabletype2blogg
er.py",
line 44, in post
translator.Translate(StringIO.StringIO(input), self.response.out)
File
"/base/data/home/apps/movabletype2blogger/1.330678566209479651/mt2b.py",
line 211, in Translate
post_entry.title = atom.Title(text=self._Encode(value))
AttributeError: 'NoneType' object has no attribute 'title' "

What version of the product are you using? On what operating system?
http://movabletype2blogger.appspot.com/ 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Oct 2009 at 2:03

Import into blogger from wordpress.com hosted blog fails...

What steps will reproduce the problem?
1. Export from wordpress.com output into a xml file
2. convert using either the appengine version or installed python version 
(they both produce the same output)
3. import into the blogger interface

What is the expected output? What do you see instead?
There is a server error that shows up. I see the following error message
Sorry, the import failed due to a server error. The error code is bX-qm5h6h

What version of the product are you using? On what operating system?
Mac OS X and also the appengine version. Your latest version

Please provide any additional information below.
None

Original issue reported on code.google.com by [email protected] on 14 Dec 2009 at 1:46

b2wp.py - IndexError: list index out of range

What steps will reproduce the problem?
1. Execute the blogger2wordpress.sh script with the XML as parameter
2. Wait
3. The result is an error

What is the expected output? What do you see instead?
The WXR Wordpress export file. Nothing.


What version of the product are you using? On what operating system?

1.0.r54
opensuse 11.1
Kernel 2.6.27.7-9-pae
Python 2.6

This error occurs both in my system and in
http://blogger2wordpress.appspot.com/


Please provide any additional information below.

The XML file is attached.

In my machine:

$./blogger2wordpress.sh blog-01-13-2009.xml 

Traceback (most recent call last):
  File "./../src/blogger2wordpress/b2wp.py", line 237, in <module>
    print translator.Translate()
  File "./../src/blogger2wordpress/b2wp.py", line 99, in Translate
    entry.FindExtensions('in-reply-to')[0].attributes['ref'])
IndexError: list index out of range


In the appspot:

Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
500, in __call__
    handler.post(*groups)
  File
"/base/data/home/apps/blogger2wordpress/1.330676546996634919/blogger2wordpress.p
y",
line 37, in post
    output = translator.Translate()
  File
"/base/data/home/apps/blogger2wordpress/1.330676546996634919/b2wp.py", line
99, in Translate
    entry.FindExtensions('in-reply-to')[0].attributes['ref'])
IndexError: list index out of range

Original issue reported on code.google.com by [email protected] on 14 Jan 2009 at 3:32

Attachments:

AttributeError: Binary instance has no attribute 'split'

What steps will reproduce the problem?
1. ./livejournal2blogger.sh -u float_dublin -p ***

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "./../src/livejournal2blogger/lj2b.py", line 465, in <module>
    translator.Translate(sys.stdout)
  File "./../src/livejournal2blogger/lj2b.py", line 198, in Translate
    posts = self._GetPosts()
  File "./../src/livejournal2blogger/lj2b.py", line 239, in _GetPosts
    posts.append(self._TranslatePost(event['events'][0]))
  File "./../src/livejournal2blogger/lj2b.py", line 273, in _TranslatePost
    tags = taglist.split(',')
AttributeError: Binary instance has no attribute 'split'

What version of the product are you using? On what operating system?
ubuntu hardy
Linux hvan 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008 i686 GNU/Linux
Python 2.5.2

Tried trunk
Repository Root: http://google-blog-converters-appengine.googlecode.com
Revision: 49

Please provide any additional information below.
seems to be same problem as 'AttributeError: Binary instance has no
attribute 'replace''
http://code.google.com/p/google-blog-converters-appengine/issues/detail?id=4

Original issue reported on code.google.com by [email protected] on 13 Jan 2009 at 7:02

blogger2wordpress appends my posts to some stranger's blog

What steps will reproduce the problem?
1. go to http://blogger2wordpress.appspot.com/ and upload a Blogger export
file (see attached example)
2. click on Convert

What is the expected output? What do you see instead?
I expect to see a Wordpress XML file with my two posts. Instead I see a
huge file with someone else's posts and images and then my two posts at the
bottom.

What version of the product are you using? On what operating system?
This is the online converter. Running Firefox 3.5.7 on MacOS 10.6.2.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Feb 2010 at 3:55

Attachments:

lj2b breaks unicode string while generating snippet

lj2b may break the string in the middle of UTF-8 character and it breaks
string->unicode conversion during stringifying the feed.

One of the possible solutions is to split string at words boundary and take
first N words, it's implemented in the patch.

Also, LJ returns following subject for http://darkk.livejournal.com/31547.html:
<member>
  <name>subject</name>
  <value>

<int>54308428790203478762340052723346983453487023489987231275412390872348475</in
t>
  </value>
</member>

so I had to add the second hunk (yes, it's ugly and totally hackish).

Original issue reported on code.google.com by mathemonkey on 14 Jan 2009 at 9:02

Attachments:

MovableType2Blogger conversions sometimes fail to upload into Blogger

What steps will reproduce the problem?
1. Use a MovableType export file with more than 50 posts.
2. Convert the MovableType export file to a Blogger export file.
3. Attempt to upload the Blogger export file to Blogger.

What is the expected output? What do you see instead?

The expected output is seeing the posts be imported properly.  What I see
instead is an error code on the progress page.



Original issue reported on code.google.com by [email protected] on 8 Jan 2009 at 8:19

upload file exceeds 10m

What steps will reproduce the problem?

I want to move my blog from wordpress to blogger,the xml file is 12 * 1024 
* 1024 byte, seems the dev_appserver.py file constrains the uploaded file 
in 10m.

Do we have any solutions in this case, 

log:
ERROR    2009-11-21 06:28:14,530 dev_appserver.py:2967] HTTP request was 
too large: 17532085.  The limit is: 10485760.

What version of the product are you using? On what operating system?

latest version.

Please provide any additional information below.

i'm new fish of google app, hope could get help here, thank you in advance.


Original issue reported on code.google.com by [email protected] on 21 Nov 2009 at 9:06

Error encountered during conversion in https://livejournal2blogger.appspot.com/

What steps will reproduce the problem?
1. i'm put user and password in https://livejournal2blogger.appspot.com/
2. push Login
3. have error

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.
Error encountered during conversion.

Traceback (most recent call last):
File
"/base/data/home/apps/livejournal2blogger/1.330658731847903481/livejournal2blogg
er.py",
line 40, in post
translator.Translate(self.response.out)
File
"/base/data/home/apps/livejournal2blogger/1.330658731847903481/lj2b.py",
line 198, in Translate
posts = self._GetPosts()
File
"/base/data/home/apps/livejournal2blogger/1.330658731847903481/lj2b.py",
line 238, in _GetPosts
'auth_response': challenge_response})
File "/base/python_dist/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/base/python_dist/lib/python2.5/xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File
"/base/data/home/apps/livejournal2blogger/1.330658731847903481/gaexmlrpclib.py",
line 45, in request
result = self.__parse_response(response.content)
File
"/base/data/home/apps/livejournal2blogger/1.330658731847903481/gaexmlrpclib.py",
line 52, in __parse_response
return u.close()
File "/base/python_dist/lib/python2.5/xmlrpclib.py", line 787, in close
raise Fault(**self._stack[0])
Fault:

Original issue reported on code.google.com by [email protected] on 13 Jan 2009 at 9:01

Serendipity?

www.s9y.org

Any chance to there might be a converter for s9Y?  Thanks!



Original issue reported on code.google.com by [email protected] on 13 Jan 2009 at 11:23

Wordpress2Blogger: Comments NOT imported

I tried importing a Unicode based Hindi blog
1. The conversion utility at http://wordpress2blogger.appspot.com worked fine
2. The import failed first time (sorry I didn't save the error message) but
succeeded when I retried. Second time it displayed the comment being
imported for a slight duration but since the file was very small it
immediately finished importing.
3. All posts, categories imported with correct encoding but with author set
as myself. None of the comments (written in Hindi) were imported. Status of
a draft post was kept intact, which was cool.

Original blog: http://samayiki.com
Test Import blog: http://samayiki.blogspot.com

Wordpress Export/Blogger converted file attached.

Original issue reported on code.google.com by [email protected] on 16 Jan 2009 at 9:59

Attachments:

lj2b IndexError: list index out of range (related to comments)

This happened when using the bin/livejournal2blogger.sh script after it 
has run for a while.

Traceback (most recent call last):
  File "bin/../src/livejournal2blogger/lj2b.py", line 480, in <module>
    translator.Translate(sys.stdout)
  File "bin/../src/livejournal2blogger/lj2b.py", line 202, in Translate
    comments = self._GetComments()
  File "bin/../src/livejournal2blogger/lj2b.py", line 325, in _GetComments
    comments.append(self._TranslateComment(comment, user_map))
  File "bin/../src/livejournal2blogger/lj2b.py", line 348, in 
_TranslateComment
    self._GetText(xml_comment.getElementsByTagName('body')[0]))
IndexError: list index out of range


Original issue reported on code.google.com by [email protected] on 17 Jan 2009 at 6:58

wordpress 2 blogger--mac problem?

What steps will reproduce the problem?
1. Downloaded xml file from Wordpress 
2. Upload from my Mac
3. blogger program freezes or says problem importing file?

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Is this a Mac problem? OS 10.5.6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 May 2009 at 1:25

erro

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Error encountered during conversion.

Traceback (most recent call last):
File "/base/data/home/apps/wordpress2blogger/1.330678570306190233/wordpress
2blogger.py", line 42, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.330678570306190233/wp2b.py",
 line 138, in Translate
xml.sax.parseString(doc, self)
File "/base/python_dist/lib/python2.5/xml/sax/__init__.py", line 49, in 
parseString
parser.parse(inpsrc)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107, 
in parse
xmlreader.IncrementalParser.parse(self, source)
File "/base/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 123, in 
parse
self.feed(buffer)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 211, 
in feed
self._err_handler.fatalError(exc)
File "/base/python_dist/lib/python2.5/xml/sax/handler.py", line 38, in 
fatalError
raise exception
SAXParseException: :2855:26: not well-formed (invalid token)


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Apr 2009 at 6:58

Use OpenID for authentication to LiveJournal instead of username/password

It would be really great to see an OpenID mechanism for authenticating to
the XML-RPC service within LiveJournal.

This would really help the livejournal2blogger conversion as OpenID is a
lot more specific authentication of a user and requires a login at
LiveJournal instead of the hosted application.

As far as I know, there's nothing in the LiveJournal documentation that
reflect that you can use OpenID instead of username/password to
authenticate a user of their XML-RPC service.

Original issue reported on code.google.com by [email protected] on 14 Jan 2009 at 3:25

File fails to upload to Blogger

What steps will reproduce the problem?
1. export from wordpress
2. use wordpress2blogger.appspot to get blogger-export.xml file
3. import new blogger xml file

What is the expected output? What do you see instead?
blogger says: "there were problems importing the file."

What version of the product are you using? On what operating system?
http://wordpress2blogger.appspot.com   /   windows 7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Feb 2010 at 1:20

lj2blogger runtime error

What steps will reproduce the problem?
1. [root@localhost bin]# ./livejournal2blogger.sh -u *** -p ***
2.
3.

What is the expected output? What do you see instead?

File "./../src/livejournal2blogger/lj2b.py", line 144
  class GaeUrlFetcher():
                        ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?

cent-os 5.2, python 2.4


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Jan 2009 at 12:15

lj2b fail

livejournal2blogger.appspot.com returns following subject for http://
mikolase.livejournal.com/

Error encountered during conversion.

Traceback (most recent call last):
File "/base/data/home/apps/livejournal2blogger/1.330726062253012566/
livejournal2blogger.py", line 42, in post
translator.Translate(self.response.out)
File "/base/data/home/apps/livejournal2blogger/1.330726062253012566/
lj2b.py", line 198, in Translate
posts = self._GetPosts()
File "/base/data/home/apps/livejournal2blogger/1.330726062253012566/
lj2b.py", line 238, in _GetPosts
'auth_response': challenge_response})
File "/base/python_dist/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/base/python_dist/lib/python2.5/xmlrpclib.py", line 1437, in 
__request
verbose=self.__verbose
File "/base/data/home/apps/livejournal2blogger/1.330726062253012566/
gaexmlrpclib.py", line 35, in request
raise xmlrpclib.ProtocolError(host + handler, 500, msg, {})
ProtocolError: <ProtocolError for livejournal.com/interface/xmlrpc: 500 
Failed to fetch http://livejournal.com/interface/xmlrpc>

Original issue reported on code.google.com by [email protected] on 16 Jan 2009 at 8:31

error :S

Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
503, in __call__
    handler.post(*groups)
  File
"/base/data/home/apps/blogger2wordpress/1.330699343967538652/blogger2wordpress.p
y",
line 36, in post
    translator = b2wp.Blogger2Wordpress(input)
  File
"/base/data/home/apps/blogger2wordpress/1.330699343967538652/b2wp.py", line
66, in __init__
    self.doc = doc.decode('utf-8', 'replace').encode('utf-8')
MemoryError

Original issue reported on code.google.com by [email protected] on 26 Jul 2009 at 8:18

Multiple author (team) blogs do not contain correct authorship when importing into Blogger.

What steps will reproduce the problem?
1. Use a blog converter for a multi-author blog from WordPress,
MovableType, LiveJournal
2. Convert the blog to the Blogger export format
3. Upload the blog to Blogger

What is the expected output? What do you see instead?

The expected output is that each post should have the correct author. 
Instead, all posts are attributed to the user who uploaded the blog file.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 8 Jan 2009 at 8:17

xml.sax._exceptions.SAXParseException: <unknown>:6251:323: not well-formed (invalid token)

What steps will reproduce the problem?
1. Export XML from wordpress.com
2. run wordpress2blogger.sh
3.

What is the expected output? What do you see instead? Expected a converted
file for blogger. Instead had the application crash


What version of the product are you using? On what operating system?
Running latest version (downloaded as
google-blog-converters-1.0-r64.tar.gz) under ubuntu 9.04 with python
version 2.6.2c1


Please provide any additional information below.
I exported from wordpress.com to local XML file. Downloaded the latest
version of google-blog-converters-appengine and ran the python script from
command line

Original issue reported on code.google.com by [email protected] on 12 Apr 2009 at 6:32

Wordpress2blogger error occured during conversion

What steps will reproduce the problem?
1. I exported my blog from wordpress and saved it on my computer
2. I try to convert my wordpress blog by using wordpress2blogger
3. An error occurs each time I try it 

What is the expected output? What do you see instead?

This comes up every time I try to convert my wordpress blog:

Error encountered during conversion.

Traceback (most recent call last):
File
"/base/data/home/apps/wordpress2blogger/1.333667862976265450/wordpress2blogger.p
y",
line 42, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.333667862976265450/wp2b.py",
line 140, in Translate
xml.sax.parseString(doc, self)
File "/base/python_dist/lib/python2.5/xml/sax/__init__.py", line 49, in
parseString
parser.parse(inpsrc)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107, in
parse
xmlreader.IncrementalParser.parse(self, source)
File "/base/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 211, in
feed
self._err_handler.fatalError(exc)
File "/base/python_dist/lib/python2.5/xml/sax/handler.py", line 38, in
fatalError
raise exception
SAXParseException: :4043:381: not well-formed (invalid token)


What version of the product are you using? On what operating system?

I have windows vista

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 May 2009 at 5:13

Wordpress2Blogger ignoring timezones on posts/comments.

What steps will reproduce the problem?
1. Use wordpress2blogger conversion on any sample Wordpress export file
using a non-GMT timezone.
2. Convert the export using wordpress2blogger
3. Import the converted file to Blogger.

What is the expected output? What do you see instead?

Note that the Blogger timestamps on posts do not contain the appropriate
time zone.






Original issue reported on code.google.com by [email protected] on 18 Jan 2009 at 10:01

lj2b does not respect threaded comments

I don't know if Atom format supports threaded comments, but this
information is lost during conversion.

E.g. I have two comments in a thread
(http://darkk.livejournal.com/47327.html?thread=161247#t161247):

<comment id="629" jitemid="184" posterid="11430783">
  <body>Однако!</body>
  <date>2009-01-05T23:17:18Z</date>
</comment>
<comment id="630" jitemid="184" posterid="53346" parentid="629">
  <body>Пожелания? Предложения? Патчи? Ж-)</body>
  <date>2009-01-05T23:22:10Z</date>
</comment>

So parentid="629" is not written to blogger.xml.

Is it possible to fix that or is it unreasonable?

Original issue reported on code.google.com by mathemonkey on 14 Jan 2009 at 9:11

Wordpress to blogger only first two posts imported

What steps will reproduce the problem?
1. export from wordpress
2. convert
3. import to blogger

What is the expected output? What do you see instead?
expected to see all posts, only first two appeared.  Deleted all comments 
and tried again - same result.

What version of the product are you using? On what operating system?
Vista

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 May 2009 at 12:54

Attachments:

"IndexError: list index out of range"

What steps will reproduce the problem?
1. ./livejournal2blogger.sh -u float_dublin -p ***

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "./../src/livejournal2blogger/lj2b.py", line 468, in <module>
    translator.Translate(sys.stdout)
  File "./../src/livejournal2blogger/lj2b.py", line 202, in Translate
    comments = self._GetComments()
  File "./../src/livejournal2blogger/lj2b.py", line 319, in _GetComments
    comments.append(self._TranslateComment(comment, user_map))
  File "./../src/livejournal2blogger/lj2b.py", line 350, in _TranslateComment
    subject = self._GetText(xml_comment.getElementsByTagName('subject')[0])
IndexError: list index out of range

What version of the product are you using? On what operating system?
ubuntu hardy
Linux hvan 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008 i686 GNU/Linux
Python 2.5.2

Tried trunk
Repository Root: http://google-blog-converters-appengine.googlecode.com
Revision: 60

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 14 Jan 2009 at 9:10

lj2blogger error is not letting me export my lj posts into my new blogger account... please help!

What steps will reproduce the problem?
1. I put in my lj username...
2. I put in my lj password...
3. then i get the error below...

Error encountered during conversion.

Traceback (most recent call last):
File 
"/base/data/home/apps/livejournal2blogger/1.332439564362858069/livejournal2blogg
er.py", line 42, in post
translator.Translate(self.response.out)
File "/base/data/home/apps/livejournal2blogger/1.332439564362858069/lj2b.py", 
line 199, in Translate
posts = self._GetPosts()
File "/base/data/home/apps/livejournal2blogger/1.332439564362858069/lj2b.py", 
line 239, in _GetPosts
'auth_response': challenge_response})
File "/base/python_dist/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/base/python_dist/lib/python2.5/xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File 
"/base/data/home/apps/livejournal2blogger/1.332439564362858069/gaexmlrpclib.py",
 line 35, in request
raise xmlrpclib.ProtocolError(host + handler, 500, msg, {})
ProtocolError: <ProtocolError for livejournal.com/interface/xmlrpc: 500 Failed 
to fetch 
http://livejournal.com/interface/xmlrpc>


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Jun 2009 at 4:50

Wordpress2Blogger Converts o.k., but won't import into Blogger

What steps will reproduce the problem?
1. export from WP
2. Convert using appspot utility
3. Try to import into blogger

What is the expected output? What do you see instead?  All I get from
Blogger is "There were problems importing the file."  No details


What version of the product are you using? On what operating system?

appspot : Windows Vista


Please provide any additional information below.
I have done this before using Windows XP, and even once using Vista, and it
worked.  I'm not computer savvy enough to use the script here.

Original issue reported on code.google.com by [email protected] on 31 Jan 2010 at 5:46

deleted comments cause exception in lj2b

lj2b crashes as soon as it finds deleted comment or comment without subject.

I tested latest trunk (r59)

Deleted comment looks like:
    <comment id="100" jitemid="41" posterid="53346" state="D"/>

Attached patch allows to export deleted comment as an empty one.

Original issue reported on code.google.com by mathemonkey on 14 Jan 2009 at 8:46

Attachments:

wp2b: Comments are truncated and incomplete

What steps will reproduce the problem?
1. Use wp2b on a blog (or portion fo a blog) with comments
2.
3.

What is the expected output? What do you see instead?
All the comments imported entirely. Instead mine are incomplete (at first
sight comments with embedded links are missing)and all are truncated after
the first line or so)

What version of the product are you using? On what operating system?
the python 25, downloaded around of the 15may2009. Vista business

My XML is validated by the W3C walidator. I suspect though that it is not
entirely as per WP "rules", I exported it from an exotic blog platform and
converted it to WP via anotehr script. I provide both in an out for your
information...

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 May 2009 at 2:39

Attachments:

Sorry, the import failed due to a server error. The error code is bX-c1i7rc

What steps will reproduce the problem?
1. Export wordpress xml
2. Used wordpress2blogger converstion tool
3. import feature on blogger

What is the expected output? What do you see instead?
uploaded blogs.  
Sorry, the import failed due to a server error. The error code is bX-c1i7rc

What version of the product are you using? On what operating system?

XP Sp2

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 4:59

500 Error on b2wp

What steps will reproduce the problem?
1. Select Blogger .xml file
2. Clicked Import

What is the expected output? What do you see instead?
It sat there for a while then gave me a 500 error.

What version of the product are you using? On what operating system?
Using hosted verision on http://blogger2wordpress.appspot.com/

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Feb 2010 at 3:49

Attachments:

wordpress2blogger gives me "not valid XML" error

What steps will reproduce the problem?
1. Get the tarball of r-79
2. cd bin
3. ./wordpress2blogger wordpress.2009-12-20.xml

What is the expected output? What do you see instead?
I'm expecting an XML of the converted blog to the standard output, but
instead I get this error Input WordPress document is not valid XML!!

Error appears around line 725, column 25

<wp:comment_author_url>http://CVirus.Foolab.org</wp:comment_
------------------------^


I attached the xml file.

Original issue reported on code.google.com by [email protected] on 23 Dec 2009 at 8:01

Attachments:

Wordpress > Blogger results in duplicate entries

What steps will reproduce the problem?
1. I followed the instructions and tried it 5 times. What I found worked 
was if I clicked create new blog (BLOGGER) (I already had one to begin 
with), imported it, then exported the blog from the temp one, and then 
imported into the good one, all was well.

2. But if I would just import into my existing, duplicate. I do have 342 
entries and the XML had no duplicates. Just found it odd.

This was all via: http://wordpress2blogger.appspot.com/

I was going to run this on my own webserver tonight until we had a water 
main issue and the servers had to be powered off. I'll try and run this on 
my box this weekend and see if it duplicates there as well.

Original issue reported on code.google.com by [email protected] on 30 Jan 2009 at 9:44

wordpress to blogger>> Error encountered during conversion.<br/><br/>Input&nbsp;

What steps will reproduce the problem?
1. exported wordpress xml
2. http://wordpress2blogger.appspot.com/ ( give this my file) it return
blogger xml)
3. when i open this in notepad, first line says error (importing this in
blogger gives error, page tries and then vanished

What is the expected output? What do you see instead?
ideally blogger import should successful, but its not right because i can
blogger xml generated at second step, is not right, ( i m attaching both
wp.xml and bg.xml for testing

i m using linux x64(ubuntu) with firefox 3.5.
also wordpress, 2.8.x >> actual setup on my own domain but as traffic is
getting more, i can't afford it, i have to move to blogger. so i setup a
copy of that on local LAMP and wordpress.com , export from everywhere and
tried but somehow not working 

Please provide any additional information below.
for quite sometime, i wanted to move but wasn't able to find switching
tool. last week, searches showed me "blogsync" i tried. it worked 50%.
because it imports then while uploading to blogger, it gives error. i tried
contacting developer, but no response.
this week searching, i finally found google tool app engine. now this one
also not working. hopefully will be fixed soon.
regards, lala ([email protected])

Original issue reported on code.google.com by [email protected] on 24 Nov 2009 at 7:47

Attachments:

Broken link to the open source project

What steps will reproduce the problem?
1. Open https://livejournal2blogger.appspot.com/
2. Click the "code.google.com" link to visit the open source project site

What is the expected output? What do you see instead?
The link points to http://code.google.com/p/gconverters-appengine/ which
returns a 403 Forbidden error. It should point to
http://code.google.com/p/google-blog-converters-appengine/ instead.

Please provide any additional information below.
I didn't check other .appspot.com sites which may be affected, too.

Original issue reported on code.google.com by alexkon on 13 Jan 2009 at 7:57

Include Blogger permalinks as custom fields

Can you please include the blogger permalink (everything after the TLD or
Blogspot portion) as a custom field of blogger_permalink for the
blogger2wordpress script?

The reason is that every plugin that is used to maintain Blogger permalinks
after import refer to this custom field. Without it, there will be massive
SEO problems for people who hosted their blogs on their main domain.

Thanks

Original issue reported on code.google.com by [email protected] on 16 Jan 2009 at 5:56

File Size exceeded

What steps will reproduce the problem?
I have an 11.5mb Blogger export

After trying to load the file on:
http://blogger2wordpress.appspot.com/

I get:
Error: Request Entity Too Large
Your client issued a request that was too large. 

Original issue reported on code.google.com by [email protected] on 16 Apr 2009 at 3:57

"AttributeError: 'int' object has no attribute 'decode'"

What steps will reproduce the problem?
1. ./livejournal2blogger.sh -u float_dublin -p ***

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "./../src/livejournal2blogger/lj2b.py", line 472, in <module>
    translator.Translate(sys.stdout)
  File "./../src/livejournal2blogger/lj2b.py", line 206, in Translate
    outfile.write(str(feed))
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 334, in __str__
    return self.ToString()
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 331, in ToString
    return ElementTree.tostring(self._ToElementTree(),
encoding=string_encoding)
  File "./../src/livejournal2blogger/lj2b.py", line 61, in _ToElementTree
    tree = gdata.GDataFeed._ToElementTree(self)
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 326, in _ToElementTree
    self._AddMembersToElementTree(new_tree)
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 286, in _AddMembersToElementTree
    instance._BecomeChildElement(tree)
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 314, in _BecomeChildElement
    self._AddMembersToElementTree(new_child)
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 288, in _AddMembersToElementTree
    member._BecomeChildElement(tree)
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 314, in _BecomeChildElement
    self._AddMembersToElementTree(new_child)
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 299, in _AddMembersToElementTree
    ExtensionContainer._AddMembersToElementTree(self, tree)
  File
"/home/float-dublin/Desktop/google-blog-converters-appengine-read-only/lib/atom/
__init__.py",
line 185, in _AddMembersToElementTree
    tree.text = self.text.decode(MEMBER_STRING_ENCODING)
AttributeError: 'int' object has no attribute 'decode'


What version of the product are you using? On what operating system?
ubuntu hardy
Linux hvan 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008 i686 GNU/Linux
Python 2.5.2

Tried trunk
Repository Root: http://google-blog-converters-appengine.googlecode.com
Revision: 62

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Jan 2009 at 6:33

wp2.8 to blogger conversion works, but import fails,

What steps will reproduce the problem?
1. export small blog from Wordpress 2.8.
2. convert resulting xml file using http://wordpress2blogger.appspot.com/ 
3. import resulting xml file into a new Blogger blog

What is the expected output? What do you see instead?
I get various error msgs, hangs, timeouts, "There were problems...", etc.

What version of the product are you using? On what operating system?
I did this yesterday afternoon (Jun 25)

Please provide any additional information below.
attached or the files from Wordpress and the online app

thanks

Original issue reported on code.google.com by [email protected] on 26 Jun 2009 at 8:50

Attachments:

AttributeError: Binary instance has no attribute 'replace'

What steps will reproduce the problem?
1. ./livejournal2blogger.sh -u russian-knight -p ***
2.
3.

What is the expected output? What do you see instead?

I see:

Traceback (most recent call last):
  File "./../src/livejournal2blogger/lj2b.py", line 461, in <module>
    translator.Translate(sys.stdout)
  File "./../src/livejournal2blogger/lj2b.py", line 198, in Translate
    posts = self._GetPosts()
  File "./../src/livejournal2blogger/lj2b.py", line 239, in _GetPosts
    posts.append(self._TranslatePost(event['events'][0]))
  File "./../src/livejournal2blogger/lj2b.py", line 255, in _TranslatePost
    content_type='html', text=self._TranslateContent(lj_event['event']))
  File "./../src/livejournal2blogger/lj2b.py", line 354, in _TranslateContent
    return content.replace('\r\n', '<br/>')
AttributeError: Binary instance has no attribute 'replace'

What version of the product are you using? On what operating system?

Ubuntu 8.10 64bit
Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17)


Original issue reported on code.google.com by mkevac on 10 Jan 2009 at 1:57

Simpephpblog import

What steps will reproduce the problem?
1. Open a simplephpblog website (http://simplephpblog.com/)
2. Export the XML
3. Try to import into blogger

What is the expected output? What do you see instead?

Blog should be imported, but the import functionality fails due to an
unknown error.

What version of the product are you using? On what operating system?

simplephpblog 0.5.1 on Linux

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Jun 2009 at 2:12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.