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.


Pie Man
5k Poster
Posts: 569
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 53m was 73Kg 175cm to 2019 now 78kg
500m 1:34 (HW 2020) 2k 7:09.5 (2017 LWT) 10k 39:58.9 (2016 LWT) HM 1:28:26.9 (2017 LWT)

User avatar
Posts: 6748
Joined: March 16th, 2006, 3:28 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: Strip html tags from Archived posts

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

It ain't going to happen.