Follow SMF on Twitter.
Started by Sebastiii, May 25, 2022, 05:12:12 AM
Quote from: Sebastiii on May 25, 2022, 05:12:12 AMI would like to create a tool that save some page of the forum in "mHTML" format.Why doing this, it's because to have a copy of a specific thread if somehow the forum stop to work.So the idea, would be a tool that connect to the specific thread and start to saved as "mhtml" format each page.The user should put his login/pass and URL link to the specific thread and doing start and the backup will be made.
Quote from: Doug Heffernan on May 25, 2022, 06:14:02 AMUnless I misunderstood, you can not make a backup of topics in this way. Its contents are stored in the database and not files. You can not make a partial backup of a single topic(s), you will have to make a backup of the whole database.
header("Content-Type: application/vnd.ms-word"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("content-disposition: attachment;filname.doc");
Quote from: Sebastiii on May 25, 2022, 11:16:13 AMHi @Kira_ Thanks for your answer, so you mean that I must create a plugin based on your information and add a button to save the topic ?Effectively, a button to backup the topic would be a great idea too
Quote from: Kira_ on May 25, 2022, 11:33:43 AMI didn't quite understand your task.This method allows you to open a page in ms word on the user's device instead of displaying it on the screen. Then you can link it to a button, make a separate plugin, etc.
Quote from: Sebastiii on May 25, 2022, 11:41:54 AMThanks @Aleksi "Lex" Kilpinen (oh mention is not correctly coded, so it seems )
Quote from: Sebastiii on May 25, 2022, 11:45:12 AMI will try to see the result of the ms-word design, "mhtml" don't need to have word