Importing posts from blogspot

Topics: Controls
Mar 8, 2008 at 11:05 PM
Hi,

I am new to BlogEngine, I installed it locally and was trying to import my posts from blogspot... I used the import option from Admin->settings... the blog importer window is showing up but it always says invalid RSS when validation the RSS URL

The URL I am using for the RSS feeds is http://myblogspotURL.com/atom.xml

Anyone went through that before?

Thanks
Mar 10, 2008 at 9:48 AM
Hi Michael,
sorry for my little english .... i'm italian and i write a "Howto" in italian for import post from blogspot/blogger platform .... i try to explain you a procudere ...
Original post is here: http://computerinformatica.blogspot.com/2008/01/blogenginenet-v13-importazione-da.html

Step 1
What You need:
PowerShell http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx
Aaron Lerch Script (BloggerToBlogLM.zip) http://www.aaronlerch.com/files/blog/BloggerToBlogML.zip
BlogEngine V1.3 Import Tool
Blogger ProfileID (you retrive from "View my profile", is the long number at the end in url)

Step 2
Install PowerShell
Download and unzip BloggerToBlogML.zip in a folder
Open PowerShell and Set the restriction policy by this command:

Set-ExecutionPolicy Unrestricted

after type this command

BloggerToBlogML.ps1 "{profileID}" | out-file example.blogml.xml

the script generate a xml file called example.blogml.xml but you can type any name

at the end of script execution you can restore the restriction policy by this command (the default):

Set-ExecutionPolicy restricted

Now you can use the BE import tool (i prefer execute it in localhost), set source type "BlogML", Path "the path where is xml file", Blog Url "http://localhost/MyBlog", Login "your admin user ID", password "your admin password";

Click "Import" ..... and all post import in blogEngine !!!!

Attention !!! If you have more that one blog in blogger account , the script download the post for all blog, so before use import tool you must edit the xml file by a normal text editor. It's easy ....

Bye
Francesco

PS Sameone can traslate in english the original "HowTo" .... ?
Jan 14, 2010 at 1:56 PM

Translated:

After lengthy research, testing, testing, and evenings of frustrating failures, I finally found the road, and also quite simple to import posts and comments from the blogger.com format BlogML platform.
Meanwhile I would like to thank Aaron LERCH for the script.

What you need.

PowerShell
Aaron LERCH Script (BloggerToBlogLM.zip)
BlogEngine V1.3 import tool
Blogger ProfileID (it can be derived by viewing their profile bloggers and is the number that appears at the end of the URL as from the address bar (see image).)





How do.

First download and install PowerShell, if we already have not, there are special settings to set during the process.
Download and unpack the zip containing the script to run (BloggerToBlogML.ps1) and dll (BlogML.dll).
The PowerShell, for whom unaware it, is a tool that extends far command line features the classic windows shell. Before you run our script we set the shell to be enabled to run as a default this feature is disabled, and then use the following command:

Set-ExecutionPolicy Unrestricted

We then execute the following command:

BloggerToBlogML.ps1 "{profileID}" | out-file computerinformatica.blogml.xml

The script will create an xml file called, in this case, but you can give it the name you want, computerinformatica.blogml.xml, these will contain all posts, comments and categories.
It is time to run the following command:

Set-ExecutionPolicy restricted

Leave from PowerShell using the Exit command

Now called the tool to import your blog, I did locally, seemed more fantastic and set it in the following figure:


Click on "Import" and the game is done. For now I have verified the result very thoroughly, but I think precisely that is satisfactory.

IMPORTANT
If your acount Blogger handle more of a blog, they are all downloaded in the xml file, is very simple but through a test editor removed all references that interest since each blog enclosed between tags there and

Waiting to translate it into a genuine application I hope did what welcome to all those who had my same problems. For doubts or uncertainties don't hesitate to write.

Apr 16, 2015 at 1:17 PM
Hi all,
after some hours of debug, I changed the BloggerToBlogML.ps1 and now I have the xml file. If I try to import, I receive always an import error and I don't have logs.
I tried to import with the app but in this case the validation isn't always wrong.

Any suggestions?
Thanks in advance!