Hi this is a wonderful feature for discourse but can we limit the number of times it appears overall in a single thread topic? If we have a discussion post asking shopify vs woocommerce then the entire thread will be occupied by the hyperlinks whenever someone mentions any of these. ![]()
We can definitely add a theme setting for this, PR welcome. I think a default limit of 3 auto links per word makes sense as a good initial default.
This feature has already been discussed couple posts above…tl;dr probably not so easy to implement.
Is there any way to disable linkify in a specific category? In my case I have a blog category which contains content from a wordpress installation. Hence I don’t want linkify to be active there.
Sure, that shouldn’t be hard I think. I can have a look. If there’s more people intereted in this feature, I’ll submit a PR with a new theme settings. If not, I can just post a code snippet that you can include into your theme manually. I’ll try to have a look next week.
Hey @sam
are there any news on this? I tried to search if there are any plans to improve the management of “lists” in theme settings but could not find anything
This is already implemented. What you see in linkify settings IS the new list management. ![]()
Thx for the note, that clarifies it ![]()
That “new” list already a great improvement!
Yet for large lists it’s still a bit of a hassle
I think an import/export feature for a simple CSV would make make a huge improvement there
Or simply pointing to a CSV URL which is pulled let’s say every 24h. or by manually by clicking a button
È possibile aggiungere un’opzione per inserire una sola volta in un argomento o in una risposta?
Mostra ogni parola chiave nell’argomento.
Se vuoi che appaia solo una volta per post, puoi inserire la tua parola collegata come espressioni regolari, ad esempio:
/PAROLA/,URL
Far sì che appaia solo una volta per argomento è complesso; vedi la discussione sopra.
Grazie. Ora funziona.
Voglio sbarazzarmi di FA4, ma finora linkify ne dipende. C’è un modo per aggiungere un’icona SVG prima del link?
Avevo una parola autolinkata su Discourse, ma ho deciso di rimuoverla perché appariva ogni volta che veniva menzionato Discourse, creando un eccesso di collegamenti in un singolo argomento. A volte, i collegamenti non pertinenti sono peggiori dell’assenza totale di link.
Tuttavia, ho un ottimo caso d’uso per questo componente, ad esempio per autolinkare i numeri ISBN a una pagina di descrizione del libro su inventaire.io:
/isbn:([0-9]{13})/,https://inventaire.io/entity/isbn:$1
Cosa intendi? Il tema Linkify non dipende dalle icone FA.
Lo so. Ma sto usando FA4 per aggiungere un’icona al link generato da linkify. Con FA5 non ho idea di come farlo.
Aggiungere un tooltip per il link sarebbe un miglioramento semplice?
In modo da poter inserire questo come input:
parola chiave, link, tooltip
Forse ciò che cerchi è il plugin abbrify?
Non sono sicuro di come interagiscano tra loro; potrebbe essere necessaria una piccola personalizzazione per farli funzionare. Posso aiutarti con questo se serve.
Attualmente l’ho risolto modificando lo script con una riga in più. Ora allega l’URL di destinazione come titolo del link. Funziona davvero bene.
Ho un elenco piuttosto lungo di voci nelle impostazioni di linkify. Esiste un modo per esportare l’intero elenco? Quando si preme il pulsante di esportazione, viene esportata solo l’elenco predefinita.
Ciao @jrgong
Puoi ottenerlo tutto tramite una query del plugin Data Explorer ![]()