robert_t_taylor
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Easy Site Importer] Running Easy Site Importer Under VagrantI finally got this working by:
- Defining a temp folder in the wp-config.php file:
/** Define a temp directory */ define('WP_TEMP_DIR', '/vagrant/wp-content/temp'); - Prepending the file write in class-spider.php with the temp folder location:
file_put_contents(get_temp_dir().'/head.htm',$head_HTML);
Hope that helps someone else. Let me know if you have any other thoughts.
Forum: Plugins
In reply to: [Easy Site Importer] Unable to find the URL of the site enteredHave you been able to get this to work? Have you tried another example site? I haven’t been able to get the plugin to output any “Scraped HTML sample” code at all.
Hope you’ve had better luck in the past 24 hours?
So, rather than removing filtering completely, I have simply added the string “hellip” to the filter:
$short_caption = preg_replace("/[^A-Za-z0-9?! ] + (hellip) /","", $short_caption);This replaces “hellip” with an empty string, which allows the ellipsis to return. In addition, it fixed an issue we were having with the “#” character being removed from embedded hashtags.
- Defining a temp folder in the wp-config.php file:
Viewing 3 replies - 1 through 3 (of 3 total)