petscii-bbs
petscii-bbs copied to clipboard
Wordpress proxy wall of text
Is there a way to get the Wordpress proxy to listen to paragraph breaks or <BR> commands when displaying texts so that paragraphs with breaks show up without the entire text becoming a wall of text?
I've tried pulling BR| from this line without success: .replaceAll("(?is)^[\s\n\r]+|^\s*(</?(br|div|figure|iframe|img|p|h[0-9])[^>]>\s)+", EMPTY)
Please link here the page with that problem, I will try to get on it
https://github.com/sblendorio/petscii-bbs/blob/master/src/main/java/eu/sblendorio/bbs/tenants/WordpressProxy.java
I meant the wordpress post in the site that has wall of text :)
Ah, misunderstood. Hackaday is a good example. My own BBS News is also running on Wordpress. Both of them create walls of text inside the BBS.
www.hackaday.com, and www.c64.xyz -- Edit: Both of these are linked inside my own BBS @ bbs.c64.xyz port 6400
Jeff
On Tue, Apr 28, 2020 at 8:31 AM Francesco Sblendorio < [email protected]> wrote:
I meant the wordpress post in the site that has wall of text :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sblendorio/petscii-bbs/issues/38#issuecomment-620575312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJB3EWYBXWNMPD6LB5WHSBLRO3EAXANCNFSM4MSKY6WA .
Made the following changes to WordpressProxy.java (see remarks on 3 lines) Solves the problem. No more wall of text.