StevenJoynt / HumHub-RSS-Reader

A HumHub module which imports an RSS News Feed as Posts in the Stream of a Space.
GNU General Public License v3.0
8 stars 3 forks source link

Improve handling of HTML tags into Markdown #6

Open StevenJoynt opened 3 years ago

StevenJoynt commented 3 years ago

add support for HTML tags:

StevenJoynt commented 3 years ago

Investigate using an existing library to convert html to markdown. It doesn't need to be fast - we're using it in a background job.

Investigate

ArchBlood commented 2 years ago

@StevenJoynt why not create a convertor similar to the following? Wouldn't this be a better solution than relying on a third-party extension and much easier to maintain?

https://github.com/humhub/humhub/blob/master/protected/humhub/modules/content/widgets/richtext/converter/RichTextToHtmlConverter.php https://github.com/humhub/humhub/blob/master/protected/humhub/modules/content/widgets/richtext/converter/RichTextToMarkdownConverter.php