How to export all topics/posts as a plain formated text?

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
Post Reply
User avatar
postcd
Registered User
Posts: 83
Joined: Sun Oct 14, 2007 3:42 pm
Contact:

How to export all topics/posts as a plain formated text?

Post by postcd » Thu Sep 15, 2016 10:47 pm

Hello,

i would like to archive my forum so the result are static files containing only html tags for the text formating, hyperlink tags. posts separated by for example: -----------------------------------------

it should serve as some kind of archive after main site is dead.

when mirroring site with wget, httrack, it is hard for me to trim the source code so it do not contains unnecessary elements like login forms, replybuttons etc.
I have Health Forum and also webmaster Hosting Forum. Interested in making money? Try money maker forum.

User avatar
CarpCharacin
Registered User
Posts: 473
Joined: Sat Dec 06, 2014 1:59 pm
Location: Salt Lake City, Utah
Name: James Stewart
Contact:

Re: How to export all topics/posts as a plain formated text?

Post by CarpCharacin » Fri Sep 16, 2016 12:07 am

If you go to print view of the topic, and copy the source, that is similar to what you want. That is just an idea. I am not sure how you would export an entire site in print view.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66574
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How to export all topics/posts as a plain formated text?

Post by Lumpy Burgertushie » Fri Sep 16, 2016 1:14 am

If I remember how httrack works, it just converts everything to plain html. you would not be able to post or reply etc. because there is no php or database involved any longer.

I think that is going to be the best way to get what you want.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
AmigoJack
Registered User
Posts: 5605
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: How to export all topics/posts as a plain formated text?

Post by AmigoJack » Fri Sep 16, 2016 6:19 am

postcd wrote:when mirroring site with wget, httrack, it is hard for me to trim the source code so it do not contains unnecessary elements like login forms, replybuttons etc.
Find an editor which searches and replaces in multiple files. Even without regular expressions you should come pretty close in eliminating all that text.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

Post Reply

Return to “phpBB Discussion”