Strip html tags from Archived posts

Comments on the new forum software, and technical questions about the forum software.
User avatar
2k Poster
Posts: 331
Joined: August 12th, 2016, 11:19 am

Strip html tags from Archived posts

Post by JohnAd » September 8th, 2016, 3:18 am

There is some gold in the archived forums but they are pretty hard to read though all the html tags.

If somebody can send me a dump of the archived posts I'd be happy to try and write something to convert them to more normal phpBB posts or help with cleaning them up.


User avatar
Pie Man
5k Poster
Posts: 566
Joined: May 12th, 2016, 9:35 am
Location: UK

Re: Strip html tags from Archived posts

Post by Pie Man » September 8th, 2016, 5:57 am

I am not sure but the censored words option may be able to help.

If you can set different words with a different replacement then you could replace <br /><br /> with a CR, that would clear up a fair amount of the posts, then you could look for other common patterns.

Of course if it's only a single replacement then you would just have a lot of *** DELETE - SPAM *** (cooking room) replacement text.
Piers 50m 73Kg 175cm DF 116 (was 110 to 20/08/16) MHR 167

User avatar
Posts: 5289
Joined: March 16th, 2006, 3:28 pm
Location: Basingstoke, UK

Re: Strip html tags from Archived posts

Post by Citroen » September 8th, 2016, 6:08 am

It ain't going to happen.