<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Migrating from BlogEngine.NET to WordPress 4.0 &#8211; 2014	</title>
	<atom:link href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/feed/" rel="self" type="application/rss+xml" />
	<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/</link>
	<description>Building enterprise solutions by day and games by night</description>
	<lastBuildDate>Sat, 18 Apr 2015 23:01:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.6</generator>
	<item>
		<title>
		By: fabry19dice		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-122</link>

		<dc:creator><![CDATA[fabry19dice]]></dc:creator>
		<pubDate>Sat, 18 Apr 2015 23:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-122</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-118&quot;&gt;Fred Mastropasqua&lt;/a&gt;.

Hi Fred thank for your code.
I copy your Xpath.class.php and work, but when i import my Blog in format ML i have this situation:
First Page:
Assign Authors

To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admins entries.

If a new user is created by WordPress, the password will be set, by default, to &quot;changeme&quot;. Quite suggestive, eh? ;)


if i press SUBMIT i have this error

Second Page:


Warning: Invalid argument supplied for foreach() in C:xamppappswordpresshtdocswp-contentpluginsblogml-wordpress-import-masterblogml-importer.php on line 147

Warning: Invalid argument supplied for foreach() in C:xamppappswordpresshtdocswp-contentpluginsblogml-wordpress-import-masterblogml-importer.php on line 154

All done. Have fun!

147  Line in file contains this
    foreach ($_POST[&#039;user&#039;] as $key =&#062; $line) {
            $newname = trim(stripslashes($line));
            if ($newname == &#039;&#039;)
                $newname = &#039;left_blank&#039;; //passing author names from step 1 to step 2 is accomplished by using POST. left_blank denotes an empty entry in the form.
            array_push($formnames, &quot;$newname&quot;);
        } // $formnames is the array with the form entered names

 152       foreach ($_POST[&#039;userselect&#039;] as $user =&#062; $key) {
            $selected = trim(stripslashes($key));
            array_push($selectnames, &quot;$selected&quot;);
        }


What can i do? What means?
Thanks
Fabry]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-118">Fred Mastropasqua</a>.</p>
<p>Hi Fred thank for your code.<br />
I copy your Xpath.class.php and work, but when i import my Blog in format ML i have this situation:<br />
First Page:<br />
Assign Authors</p>
<p>To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admins entries.</p>
<p>If a new user is created by WordPress, the password will be set, by default, to &#8220;changeme&#8221;. Quite suggestive, eh? ;)</p>
<p>if i press SUBMIT i have this error</p>
<p>Second Page:</p>
<p>Warning: Invalid argument supplied for foreach() in C:xamppappswordpresshtdocswp-contentpluginsblogml-wordpress-import-masterblogml-importer.php on line 147</p>
<p>Warning: Invalid argument supplied for foreach() in C:xamppappswordpresshtdocswp-contentpluginsblogml-wordpress-import-masterblogml-importer.php on line 154</p>
<p>All done. Have fun!</p>
<p>147  Line in file contains this<br />
    foreach ($_POST[&#8216;user&#8217;] as $key =&gt; $line) {<br />
            $newname = trim(stripslashes($line));<br />
            if ($newname == &#8221;)<br />
                $newname = &#8216;left_blank&#8217;; //passing author names from step 1 to step 2 is accomplished by using POST. left_blank denotes an empty entry in the form.<br />
            array_push($formnames, &#8220;$newname&#8221;);<br />
        } // $formnames is the array with the form entered names</p>
<p> 152       foreach ($_POST[&#8216;userselect&#8217;] as $user =&gt; $key) {<br />
            $selected = trim(stripslashes($key));<br />
            array_push($selectnames, &#8220;$selected&#8221;);<br />
        }</p>
<p>What can i do? What means?<br />
Thanks<br />
Fabry</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: fabry19dice		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-121</link>

		<dc:creator><![CDATA[fabry19dice]]></dc:creator>
		<pubDate>Sat, 18 Apr 2015 22:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-121</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-119&quot;&gt;Fred Mastropasqua&lt;/a&gt;.

Thanks Fred, I will try.. in this days]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-119">Fred Mastropasqua</a>.</p>
<p>Thanks Fred, I will try.. in this days</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mads		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-120</link>

		<dc:creator><![CDATA[Mads]]></dc:creator>
		<pubDate>Thu, 09 Apr 2015 11:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-120</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-119&quot;&gt;Fred Mastropasqua&lt;/a&gt;.

Thats awesome Fred!
Of cause I haven&#039;t tested it, as I&#039;m already on Wordpress now, but lets hope someone in the future will benefit of that.


Thanks for sharing Fred!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-119">Fred Mastropasqua</a>.</p>
<p>Thats awesome Fred!<br />
Of cause I haven&#8217;t tested it, as I&#8217;m already on WordPress now, but lets hope someone in the future will benefit of that.</p>
<p>Thanks for sharing Fred!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Fred Mastropasqua		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-118</link>

		<dc:creator><![CDATA[Fred Mastropasqua]]></dc:creator>
		<pubDate>Sun, 29 Mar 2015 04:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-118</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-110&quot;&gt;fabry19dice&lt;/a&gt;.

To fix the break error on Xpath.class.php, replace it with this https://raw.githubusercontent.com/hugokernel/Php.XPath/master/XPath.class.php]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-110">fabry19dice</a>.</p>
<p>To fix the break error on Xpath.class.php, replace it with this <a href="https://raw.githubusercontent.com/hugokernel/Php.XPath/master/XPath.class.php" rel="nofollow ugc">https://raw.githubusercontent.com/hugokernel/Php.XPath/master/XPath.class.php</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Fred Mastropasqua		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-119</link>

		<dc:creator><![CDATA[Fred Mastropasqua]]></dc:creator>
		<pubDate>Sun, 29 Mar 2015 04:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-119</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-113&quot;&gt;Mads&lt;/a&gt;.

Use this instead https://raw.githubusercontent.com/hugokernel/Php.XPath/master/XPath.class.php]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-113">Mads</a>.</p>
<p>Use this instead <a href="https://raw.githubusercontent.com/hugokernel/Php.XPath/master/XPath.class.php" rel="nofollow ugc">https://raw.githubusercontent.com/hugokernel/Php.XPath/master/XPath.class.php</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mads		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-113</link>

		<dc:creator><![CDATA[Mads]]></dc:creator>
		<pubDate>Mon, 08 Dec 2014 08:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-113</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-112&quot;&gt;fabry19dice&lt;/a&gt;.

Ok, then I&#039;m sadly out of suggestions, as I&#039;m not an PHP expert...


Hope you find a solution and I would be happy if you posted here the solution that works for you :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-112">fabry19dice</a>.</p>
<p>Ok, then I&#8217;m sadly out of suggestions, as I&#8217;m not an PHP expert&#8230;</p>
<p>Hope you find a solution and I would be happy if you posted here the solution that works for you :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: fabry19dice		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-112</link>

		<dc:creator><![CDATA[fabry19dice]]></dc:creator>
		<pubDate>Sat, 06 Dec 2014 20:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-112</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-111&quot;&gt;Mads&lt;/a&gt;.

Thanks for your reply Mads.
i have only 2 spam comments. I use Disqus. 

My BlogML.xml is 30MB. I changed values of upload_max_filesize in php.ini of Apache  with 100MB and add this line in config.php of WordPress in Wamp: 
/**increased the memory limit to 64M*/
define(&#039;WP_MEMORY_LIMIT&#039;, &#039;96M&#039;);
define( &#039;WP_MAX_MEMORY_LIMIT&#039;, &#039;256M&#039;);

But nothing. I don&#039;t understand what means Reason: No Memorry..

Fabry]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-111">Mads</a>.</p>
<p>Thanks for your reply Mads.<br />
i have only 2 spam comments. I use Disqus. </p>
<p>My BlogML.xml is 30MB. I changed values of upload_max_filesize in php.ini of Apache  with 100MB and add this line in config.php of WordPress in Wamp:<br />
/**increased the memory limit to 64M*/<br />
define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;96M&#8217;);<br />
define( &#8216;WP_MAX_MEMORY_LIMIT&#8217;, &#8216;256M&#8217;);</p>
<p>But nothing. I don&#8217;t understand what means Reason: No Memorry..</p>
<p>Fabry</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mads		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-111</link>

		<dc:creator><![CDATA[Mads]]></dc:creator>
		<pubDate>Sat, 06 Dec 2014 19:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-111</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-110&quot;&gt;fabry19dice&lt;/a&gt;.

Hi Fabrizio

I can&#039;t remember the extact error message I got, but it were similar to yours and were related to the size of my BlogML file. 
Therefore I made it smaller by deleting spam comments. 

See step 4 in my guide. 

Let&#039;s hope this helps :)

//Mads]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-110">fabry19dice</a>.</p>
<p>Hi Fabrizio</p>
<p>I can&#8217;t remember the extact error message I got, but it were similar to yours and were related to the size of my BlogML file.<br />
Therefore I made it smaller by deleting spam comments. </p>
<p>See step 4 in my guide. </p>
<p>Let&#8217;s hope this helps :)</p>
<p>//Mads</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: fabry19dice		</title>
		<link>https://laumania.net/2014/10/16/migrating-blogengine-net-wordpress-4-0-2014/#comment-110</link>

		<dc:creator><![CDATA[fabry19dice]]></dc:creator>
		<pubDate>Sat, 06 Dec 2014 19:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://laumania.net.linux71.unoeuro-server.com/?p=166#comment-110</guid>

					<description><![CDATA[Thank you for your post it&#039;s very interesting, but i&#039;m following your instructions and when i try to import my BlogML.xml i receive this error
XPath error in XPath.class.php:1727 In importFromString(): XML error in given string on line 205274  column 8. Reason:No memory

I use wordpress 4.0.1 and Wamp and PHP 5.5.12.
Can you Help me??
Thanks
Fabrizio]]></description>
			<content:encoded><![CDATA[<p>Thank you for your post it&#8217;s very interesting, but i&#8217;m following your instructions and when i try to import my BlogML.xml i receive this error<br />
XPath error in XPath.class.php:1727 In importFromString(): XML error in given string on line 205274  column 8. Reason:No memory</p>
<p>I use wordpress 4.0.1 and Wamp and PHP 5.5.12.<br />
Can you Help me??<br />
Thanks<br />
Fabrizio</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
