It’s very nice! Can I somehow limit the number of characters in an excerpt?
There is a site setting in discourse topic_excerpt_maxlength . IIRC this will only apply to new topics - if you want to apply the change to existing topics you will need to ‘rebake’ them.
Thanks, How i can ‘rebake’ them?
This command don’t help me:
$ cd /var/discourse
$ ./launcher enter app
$ rake posts:rebake
What happened? Did it show an error?
Change in site settings:
No erros:
# cd /var/discourse
# ./launcher enter app
# rake posts:rebake
Rebaking post markdown for 'default'
4805 / 4805 (100.0%)
4805 posts done!
And the excerpts are still more than 100 characters? Is the change working for new topics?
Don’t working for new topics too
How to solve this problem? Any ideas?
Is this the right setting? I noticed my excerpts are as long as 300 characters, which is the default setting for post excerpt maxlength.
Non sono riuscito a far funzionare questa modifica.
Vorrei cambiare la lunghezza dell’anteprima dell’estratto quando qualcuno sul mio forum incolla un link a un altro argomento del mio forum. In pratica, la lunghezza di questo (solo per i post all’interno del mio forum):
Attualmente l’anteprima è molto lunga (400 caratteri). Ho provato a modificare sia l’impostazione “post_excerpt_maxlength” sia quella “topic_excerpt_maxlength”, ma nessuna delle due ha fatto la differenza in questo caso, nemmeno per i nuovi argomenti creati dopo la modifica delle impostazioni.
Come posso regolare questa impostazione per rendere le anteprime più brevi quando collego un altro post del mio forum?
Stesso problema qui. È già stato risolto per gli argomenti precedenti? ![]()
Non riesco a farlo funzionare: https://forum.fit.nl/
Voglio limitare la lunghezza dell’estratto a 20 parole, ad esempio.
Penso che sia necessario rifare i post affinché tali impostazioni si applichino a quelli precedenti.

