Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63215

Strip or format HTML tags in RSS feed titles in Remote RSS block

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-63215-master
    • Hide

      It turns out Google Alerts RSS feeds are a good example

      1. Test either in Boost or Clean theme.
      2. Create a Google alert (https://www.google.com/alerts), wait for the E-Mail to arrive.
      3. In the E-Mail, copy the RSS feed Link.
      4. In your course, as a teacher, turn editing on.
      5. Add a block: Remote RSS Feed.
      6. Cog → Configure Remote RSS Feed block.
      7. Add/edit feed.
      8. Add a new feed, paste the copied URL, click "Add a new feed".
      9. In Block Settings, highlight the feeds title in the text field beneath "Choose the feeds which you would like to make available in this block:", Save changes.
      10. Cross check the RSS items do not have any <b> </b> tags.
      Show
      It turns out Google Alerts RSS feeds are a good example Test either in Boost or Clean theme. Create a Google alert ( https://www.google.com/alerts ), wait for the E-Mail to arrive. In the E-Mail, copy the RSS feed Link. In your course, as a teacher, turn editing on. Add a block: Remote RSS Feed. Cog → Configure Remote RSS Feed block. Add/edit feed. Add a new feed, paste the copied URL, click "Add a new feed". In Block Settings, highlight the feeds title in the text field beneath "Choose the feeds which you would like to make available in this block:", Save changes. Cross check the RSS items do not have any <b> </b> tags.

      RSS feed titles that have HTML are just rendering the HTML as text. This content should either be stripped out or formatted so it is rendered as HTML and the tags are not visible as text.

            meltonml Michelle Melton
            meltonml Michelle Melton
            Luca Bösch Luca Bösch
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.