KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
690 stars 57 forks source link

Certain html tags are excluded from RSS feed's description #437

Open TohidN opened 1 month ago

TohidN commented 1 month ago

Description In RSS file's description tags, anchors are included, however tags such as toggle lists, numbered lists and horizontal ruler are striped. Visit lib/rss.xml file and checkout content of <description> tags or follow rss feed. You will see that certain elements such as list are missing and content of math blocks are completely removed.

Describe the solution you'd like option for:

KosmosisDire commented 1 month ago

Many RSS readers do not support html at all and don't parse html content. Thus I want the description to be as close to plain text as possible. I did a lot of experimentation to make sure the RSS description was as readable as possible in multiple environments.

Including the full html for the file isn't really possible, again RSS feeds do not support many html features and if the full html was included it would look completely broken in almost every RSS reader.

The first option you described is basically what I am doing right now but I am keeping the most common tags that are either almost always supported or don't add much clutter if they are not supported, or are particularly important for RSS feeds that do support it