Software / code / prosody-modules
File
mod_pubsub_summary/README.md @ 6320:ebcf612da2b1
mod_http_oauth2: Use numeric for loop instead of ipairs
Pedantic attempted optimization, reducing function calls.
I didn't even measure, only vaguely recall that this is faster in PUC Lua.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 03 Jul 2025 12:14:53 +0200 |
| parent | 5140:ce11c217704a |
line wrap: on
line source
Module that generates a nicer text version of Atom feeds, meant for use with [mod_pubsub_feeds] and [mod_pubsub_text_interface]. It extracts title, content and links from entries, does a crude conversion of HTML to [XEP-0393: Message Styling] and formats a text version like this: > \***Example Post Title**\* > > Lorem ipsum dolor sit amet. > > https://blog.example.com/example-post