dakboard / Cloud-Platform

Feature requests, enhancements and anything you'd like to see in DAKboard!
https://dakboard.com
167 stars 39 forks source link

Review Merrian-Webster for WOTD #1412

Closed cocarrig closed 2 years ago

cocarrig commented 2 years ago

Description: Please review the following feed for potential use to replace OED or display as an alternative option for the built in word of the day in DAKboard: https://www.merriam-webster.com/wotd/feed/rss2

Additional enhancement considerations would include the ability to toggle examples and word history that is provided by this feed as well.

DAKboard user originally shared this link in the following bug case, which we were unable to reproduce wherein html tags were not being displayed: https://github.com/dakboard/Cloud-Platform/issues/1397

djmarcin commented 2 years ago

It is specifically link tags that fail to display for me, italics and paragraph tags are handled properly. Today's word of the day has link tags at the very end.

image

The original RSS feed contains this:

It is related to words such as <em><a href="https://www.merriam-webster.com/dictionary/nation">nation</a></em>, <em><a href="https://www.merriam-webster.com/dictionary/native">native</a></em>, <em><a href="https://www.merriam-webster.com/dictionary/nature">nature</a></em>, and <em><a href="https://www.merriam-webster.com/dictionary/innate">innate</a></em>.
cocarrig commented 2 years ago

Hi @djmarcin

Apologies, you are in fact right on this and some of our filtering to remove RSS adds is interfering with this. Until this official integration is fully completed you can use the following CSS code in your custom screen to disable the removal of these links.

rss .rss-description a, .rss .rss-description a {

display: inline-block;

}

https://dakboard.freshdesk.com/support/solutions/articles/35000178086-applying-custom-styles-to-screens

Dan-Peck commented 2 years ago

Merged in @ f29bd50 and added to the queue for upcoming release to the live site.