elementor / wp2static-addon-advanced-crawling

Advanced Crawling Add-on for WP2Static
https://wp2static.com
The Unlicense
10 stars 13 forks source link

When activating addon WP2Static exports nothing #20

Open oriolarcas opened 3 years ago

oriolarcas commented 3 years ago

Hi,

When I run WP2Static 7.1.6 without any addons, it exports static files while crawling. However, when this addon is activated, the website is crawled but nothing is exported, when post-processing or other later stages it just says "no static data" or "No deployment add-ons are enabled, skipping deployment".

I have a Wordpress 5.8 with Bedrock/Laradock.

Great job with these plugins, by the way.

leonstafford commented 3 years ago

Thanks @oriolarcas. @john-shaffer should know best for this advanced crawling addon. Some of this is making its way back into the core WP2Static plugin at the moment. I haven't tested this enough to comment, sorry!

There's also this issue recently reported, which I think leaves the crawl process in an unusable state, worth watching out for:

https://github.com/leonstafford/wp2static/issues/830

Are you blocked by this currently, or able to continue without using the Advanced Crawling Addon?

john-shaffer commented 3 years ago

Are you sure it's 7.1.6 and not 7.1.7? I've only seen that behavior with 7.1.7.

What features do you need from this addon? I have been moving functionality from here into the core plugin, and probably won't be updating this addon anymore. Maybe we can get the features you need into WP2Static core and resolve your issue that way.

Great job with these plugins, by the way.

Thank you!

oriolarcas commented 3 years ago

Hi @john-shaffer,

Yes, it's 7.1.6 (it's the one in Composer). It's not really mandatory, but things like the chunk size, the exclusion filters, etc., can be nice (in particular, I have a site with 20.000 URLs and the exclusion filters allow me to do fast tests without waiting for hours).

john-shaffer commented 3 years ago

I have a PR for directory and file exclusions at https://github.com/leonstafford/wp2static/pull/833. "Crawling only changed files" will come later.

What was the chunk size useful for? It was intended to facilitate detecting and recovering from failures, but core WP2Static is actually much better at that now than this addon is.