Hi
great plugin, thank you.
Is it possible to import to a custom post type?
Best regards
ll.
Cause: Not being able to write .head.html to directory.
file: classes/class-spider.php
line: 446 (approx)
file_put_contents(‘.head.htm’,$head_HTML);
Code suggestion, warn if target location is not writeable (function: is_writable)
Good little plugin. Lots of potential.
Got it working, but I changed it a little bit to use the wp-content folder, which IMO is a better location. I only have the wp-content writeable for security reasons.
file: classes/class-spider.php
line: 446 (approx)
change
file_put_contents('.head.htm',$head_HTML);
to
$upload_dir = wp_upload_dir();
$this->upload_dir = $upload_dir['basedir'] . '/easy-site-importer/';
if(!file_exists($this->upload_dir)){
mkdir($this->upload_dir, 0777);
}
file_put_contents($this->upload_dir . 'head.htm',$head_HTML);
And then (about line 497)
$this->meta[$page]=array_merge(array('Title' => $title[1], 'Scrape' => $scrape, 'Filter' => $actual_HTML, 'Formatted' => $this->proc_HTML, 'Images' => $this->images_copy),get_meta_tags('.head.htm'));
to
$this->meta[$page]=array_merge(array('Title' => $title[1], 'Scrape' => $scrape, 'Filter' => $actual_HTML, 'Formatted' => $this->proc_HTML, 'Images' => $this->images_copy),get_meta_tags($this->upload_dir . 'head.htm'));
]]>
Has anyone had any luck configuring this to work under Vagrant? So far, I have been unable to get the plugin to output anything.
]]>Hi there-
On the [Crawl Settings] page, I entered …
WEBSITE URL:
https://www.imakenews.com/eletra/mod_archive_view.cfm?u=carp
MAX DEPTH:
3
When I hit save, there is an error message:
“Unable to find the URL of the site entered”
Any ideas?
Thanks
-Michael
]]>Hi Alex,
I think your Easy Site Importer is simply amazing.
The best plugin I have seen in a loooong time.
Thank you for it.
I wanted to just drop you a note of a quick fix I made while
attempting to use it on a sample site I was trying to import.
The site uses relative URL’s so for example on the following URL:
https://domain.com/directory/some-page.php
There would be links that look like:
<a href="another-page.php">Facts About Stuff</a>
On line 883 of code in:
/plugins/easy-site-importer/class/class-spider.php
It states:
$formatted_link='/'.$formatted_link;
Which causes this link to become:
https://domain.com/another-page.php
But it needs to become:
https://domain.com/directory/another-page.php
So i fixed this by changing line 883 to:
$formatted_dir = ($path_parts_info['dirname'] == '/' ? '/' : $path_parts_info['dirname'].'/');
$formatted_link=$formatted_dir.$formatted_link;
I’d love to help you whenever I make updates to the codebase, so if I
do I’ll continue to shoot things over via email as I plan to
definitely try and use this amazing tool you have made. If you get a
chance please reply with your email address regarding this plugin, because I tried both from your website and they both bounce.
If you ever want a guinea pig to test out new versions or any feedback
I’d love to help in anyway I can.
Once again thank you so much for creating this amazing tool, it can be
a total life saver for many people.
Parse error: syntax error, unexpected T_FUNCTION in /home/content/82/7662682/html/Folder_Name/Folder_Name2/wp-content/plugins/easy-site-importer/class/class-spider.php on line 1005
getting the above error when I try and load the plugin
]]>can anyone reffer me to a tutorial of using this plug-in?
I haven’t realized yet how to use it.
I want to import some posts from a few websites into my websites, but all I managae to import is just lots of “jibrish”…
An example of a website using this plugin + details how it uses it – will be great.
The plugin looks great and might be able to use this when migrating sites from non WP to WP but I have a question: is there a metatag flag I can add to my own websites to prevent this plugin being used to scrape my sites or those sites of my clients?
]]>There are 6 reported errors/warnings
Notice: Undefined index: error in /htdocs/wp-content/plugins/easy-site-importer/class/class-site-importer-admin.php on line 505
warning – Warning no Start HTML specified
ERROR -Error no valid html or 404 error page
Notice: Undefined index: error in /htdocs/wp-content/plugins/easy-site-importer/class/class-site-importer-admin.php on line 505
warning – Warning no Start HTML specified
ERROR -Error no valid html or 404 error page
ERROR -Warning – Unable to find either the start or end HTML for page
ERROR -Warnning – Meta information does not exist
Cannot set right “Main HTML block”, it does not appear in drop down list.
It is: <article id=”article”> but I only see divs in the drop down.
]]>It appears there is a conflict between Easy Site Importer and Ninja Forms.
When both are active on my multi-site network I get this Notice on the front end of my site:
PHP Notice: Undefined index: feditor in /home/churchwe/public_html/wp-content/plugins/ninja-forms-front-end-editor/includes/display/form/content-filter.php on line 271
]]>In the HTML Filter tab, depending on which HTML blocks I choose for my “Main HTML Block” and “Start of HTML to scrape” I often see HTML artifacts being left behind in the imported HTML.
See this screenshot: https://screencast.com/t/XyKPvhgFHIuX
I am not understanding how to best use the “Main HTML” and “Start HTML” – not sure why there needs to be both of these options.
If you want I can record a video of my whole setup and show you or I an give you access to login to my WP to see it. Just email me directly at [email protected] – thanks.
Thanks,
Patrick
Just FYI, I upped my page limit from 60 to 200 and now when I go to the Import Content tab, I get a bunch of warnings and notices that look like this:
Notice: Undefined variable: page_names in /home/demochur/public_html/wp-content/plugins/easy-site-importer/class/class-site-importer-admin.php on line 682
Warning: in_array() expects parameter 2 to be array, null given in /home/demochur/public_html/wp-content/plugins/easy-site-importer/class/class-site-importer-admin.php on line 682
]]>Hey there, GREAT plugin!
In my initial testing I found two minor issues that would just be awesome if you could enhance for these issues:
1. Setting the Page/Post name. Right now the name of the Page or Post gets set to the filename of the imported file. I would like at least an option to use the H1 found on the page as the Page/Post name. And if so, then remove the <h1></h1>
tag completely from the imported html.
2. If the source file is in a folder, your tag doesn’t setup the same folder structure on the WP site. It would be awesome if you could add this support.
If you have a “pro” version of this plugin I will be your first subscriber ??
Thanks!
Patrick