soderlind / read-offline

Read Offline allows you to download or print posts and pages. You can download the post as PDF, ePub and mobi
https://wordpress.org/plugins/read-offline/
31 stars 10 forks source link

clean saved files generated during plugin error #44

Closed padrecedano closed 8 years ago

padrecedano commented 9 years ago

Hi,

When the plugin have errors, the files downloaded during the error remains saved with these errors.

For example, the last error was not paragraphs, now is solved, but if i try to read this post: http://www.deiverbum.org/mt-14_13-21 in PDF, i have the date 08-03 and the PDF have paragrahps error.

Who i can refresh these PDF, ePub, mobi generated during the plugin error?

Thanks.

soderlind commented 9 years ago

In 0.3.0 I added caching. I "cache" the plugins as media attachment. The media attachment will be updated if you modify a post. If the media attachment doesn't exist, it will be created (i.e. you can delete the media attachment that causes troubles)

padrecedano commented 9 years ago

Thanks.

But i don’t understand.

The pdf, epub, mobi are created one time when someone click to create these elements? If it’s true… what happen if i modify the content of my posts and after modification any one click to create pdf, epub etc after modification, what content is take, the old content or after modification is created a new pdf, epub, mobi…?

Thanks.

El 20/8/2015, a las 2:04, Per Søderlind notifications@github.com escribió:

In 0.3.0 I added caching. I "cache" the plugins as media attachment. The media attachment will be updated if you modify a post. If the media attachment doesn't exist, it will be created (i.e. you can delete the media attachment that causes troubles)

— Reply to this email directly or view it on GitHub https://github.com/soderlind/read-offline/issues/44#issuecomment-132902653.

soderlind commented 9 years ago

If you modify your content, the pdf,epub and mobi is recreated with the new content.

soderlind commented 8 years ago

Fixed. Please test the latest release.