Ticket #3063 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

Blogger Import failing with Blogger Beta

Reported by: benn333 Assigned to: anonymous
Priority: normal Milestone:
Component: Administration Version:
Severity: major Keywords:
Cc:

Description

Goolge has moved to Google logins with the new Blogger beta. Unfortunately, if someone has upgraded their Blogger account and attempts to import their blog into WordPress they are unable to log in. (It has also been reported here.) The message is "Login failed. Please re-enter your username and password." I have tested this on both my fresh install on my own server and my current free WordPress account with the same result. Can anyone help update this script? I have a bit of PHP experience, and am willing to contribute what I can.

Change History

08/24/06 01:26:38 changed by darkfate

Can you use the RSS importer to import the Atom feed? I'm pretty sure not.

08/26/06 23:31:46 changed by benn333

Yeah, the RSS importer won't work for the Atom feed, though adding an Atom import isn't a bad idea.

08/27/06 14:06:57 changed by darkfate

Yea, but I think that Atom is a lot less popular than RSS. Also, I think that the atom feed is a little customized, so I think just reworking the blogger importer should be the course we go.

08/27/06 20:51:10 changed by skeltoac

That importer took at least a week to build. The way it works is quite insane and I knew that it would be killed as soon as they updated Blogger. Sorry.

An Atom importer won't include comments (right?) so we'd be back to square one if we went that route. Seems there'll be an API we can use to query all the data right out of Google. Not sure when or how... anybody got a finger on that pulse?

08/28/06 13:07:32 changed by benn333

I dug up and read through some of Google's documentation on the new Google accounts: http://code.google.com/apis/gdata/blogger.html#Migrated http://code.google.com/apis/accounts/AuthForWebApps.html

It looks like blogger.php could be updated with a check if the blog to import is running the old or beta version of Blogger. If the beta is discovered, blogger.php could request a session token. The user will have to be redirected to a Google page to authenticate that it is their account. Once that's done, they can be redirected back to their blog with a Token for further use.

This is as far as I've looked so far. It's possible that the current blogger.php code for pulling down the posts/comments will still work once authentication is passed. I suppose we can cross that bridge once we come to it. (I believe you're right that Atom doesn't include comments.)

08/28/06 18:19:43 changed by skeltoac

That's not exactly what I had in mind. The current method of WordPress logging in as the user, changing the template, publishing, then scraping HTML needs to be deprecated. There is supposed to be an API to connect with the database behind the blog.

02/22/07 19:57:15 changed by foolswisdom

  • status changed from new to closed.
  • resolution set to duplicate.

Closing as dup of #3719.