no install option for site-importer

Permalink Browser Info Environment
IMPORTING YOUR WORDPRESS BLOG

1. download the problog_importer from GitHub.
2. unzip and remove "-master" from the folder name.
(problog_importer-master)

3. upload/move to your sites "packages" folder and install.

but when I go to install it the package is not there?

Type: Discussion
Status: In Progress
rayjohn66
View Replies:
rayjohn66 replied on at Permalink Reply
rayjohn66
so I had to remove the "-master" from the package name. That did it. Thanks to pvernaglia for the tip. On to the next step.
rayjohn66 replied on at Permalink Reply
rayjohn66
Good grief, I can't even read, but if I screwed it up someone else might also :)
FatTony1952 replied on at Permalink Reply
FatTony1952
Anyone have a sample of the xml structure needed for import?

I'm importing posts from another system that isn't listed in the dropdown in the package. I will most likely have to add columns to my xml to fake a C5 XML or a FeedBurner.
RadiantWeb replied on at Permalink Reply
RadiantWeb
I would take a standard XML rss feed from the C5 page_list block and then make your import XML match that format.

Then use the C5 XML importer.

ChadStrat
FatTony1952 replied on at Permalink Reply
FatTony1952
Thanks, Chad.

I do get an error when I run the uploader:

Warning: simplexml_load_file(): I/O warning : failed to load external entity "/home/user/public_html/new/grow/new/grow/files/9713/8612/8537/myxmlsheet.xml" in /home/user/public_html/new/grow/packages/problog_importer/controllers/dashboard/problog/site_importer/controller.php on line 32
0

and this is the line it's referring to:

$xmlObject = simplexml_load_file($path,'SimpleXMLElement');


I assum it's not finding the file. The line that refers to:

new/grow/new/grow/files

Should be:

new/grow/files
FatTony1952 replied on at Permalink Reply
FatTony1952
It's definitely duplicating the root path of my file. I'm not sure how to fix it.
rayjohn66 replied on at Permalink Reply
rayjohn66
Im am getting the same error, I tried it months ago on another site but gave up and did it by hand. The current site import is too big for that, so any help or suggestions would be really appreciated.

Here is the error I get, and the file is here. Do you think hardcoding the file path would help?

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "/home/cleinman/public_html/~cleinman/files/7213/8646/5277/theasus_al.xml" in /home/cleinman/public_html/packages/problog_importer/controllers/dashboard/problog/site_importer/controller.php on line 32
0
FatTony1952 replied on at Permalink Reply
FatTony1952
rayjohn,

A direct path to the file worked, but I now have a different issue. I've tried importing as both Wordpress and C5 XML and though both of them give me blog pages, they don't put in any of the posts' details page contents.

I'm wondering what the xml tag should be for the posts' content.

EDIT:

My XML is structured:

<item>
<title>My post title</title>
<pubDate>12/1/2013</pubDate>
<description>Page description here</description>
<content>Blog post content/full story</content>
</item>
FatTony1952 replied on at Permalink Reply
FatTony1952
Also, I have to have this done by Wed. :/
rayjohn66 replied on at Permalink Reply
rayjohn66
I got the file to load as well but I have not been able to get it to import at all. First I had errors at line 52106, so I edited the file to get that section out. When I retried it, no error but just got stuck. No pages built in the site map.

Does the import make up users also or do they have to be built separate? I mean a post is from a user, or do they all appear to be from admin...

I wondered as well about my xml file... it's a beast. I really need a sample.xml to see if it's the file or not. I tried one on the github site but that did not work AT ALL.
rayjohn66 replied on at Permalink Reply
rayjohn66
Oh course mine is not working but this is a grep from my xml for post_content

<column name="post_content_filtered"></column>
<column name="post_content"></column>
<column name="post_content_filtered"></column>
<column name="post_content"></column>
<column name="post_content_filtered"></column>
<column name="post_content">&nbsp;
<column name="post_content_filtered"></column>
<column name="post_content"></column>
FatTony1952 replied on at Permalink Reply
FatTony1952
Where did you get that sample from?
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Warning: simplexml_load_file(): I/O warning : failed to load external entity "/Applications/MAMP/htdocs/rhythm/rhythm/files/4613/9489/8038/rhythmforlife.wordpress.2014-03-15-1.xml" in /Applications/MAMP/htdocs/rhythm/packages/problog_importer/controllers/dashboard/problog/site_importer/controller.php on line 32
0

I am receiving this same error and wondered if my problem was also the direct link to the file. I am running a MAMP server on my iMac and the error throws a relative link to my computer, not to the server. How do I go about specifying a direct link in this case?
rayjohn66 replied on at Permalink Reply
rayjohn66
I got the file to load by replacing the $path with the absolute file path in the controller.php file... try putting in the path the Warning gave you.

I never had any success getting this to run but the file did load.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
That actually worked! Thanks a million! And they were actually imported, too.
rayjohn66 replied on at Permalink Reply
rayjohn66
Awesome! There were so many categories and tags that I would have go over and add them anyway.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Apparently, it brought in the categories and tags as well...
rayjohn66 replied on at Permalink Reply
rayjohn66
Wow, good to know.
rayjohn66 replied on at Permalink Reply
rayjohn66
How did you export the xml, all the tables, just the posts? (that's what I tried) Maybe I'm just setting that up wrong.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Yes I exported just the posts, what version of WordPress are you using? I am using the latest, 3.8.1?
FatTony1952 replied on at Permalink Reply
FatTony1952
When I exported my posts from WP I had to update to the latest version. I exported everything and edited my XML file to exclude what I didn't need.

I did a wildcard search in Dreamweaver to edit on a large scale since I had hundreds of posts in my XML file. The wildcard search info can be found herehttp://www.trentmueller.com/blog/search-and-replace-wildcard-charac...

I imported my file with categories and it actually added those categories to my new C5 blog engine. Helped out tremendously to have them.
rayjohn66 replied on at Permalink Reply
rayjohn66
Thanks Guys, that may be the problem. I am now working with the administrator of the WP site. I let you know how it works out.
ahein624 replied on at Permalink Reply
ahein624
I am having the same issue, though my PHP is apparently weak as I can't get it to work. Any advice?

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.