Some RSS feed channel images are rendered too large in External feeds block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
1.5 |
Fix Released
|
Medium
|
Robert Lyon | ||
1.6 |
Fix Released
|
Medium
|
Robert Lyon | ||
1.7 |
Fix Released
|
Medium
|
Robert Lyon |
Bug Description
Some RSS/Atom feeds provide an over-large channel image/logo which disrupts display of the External Feed block in a Mahara Page.
See e.g. this feed link from the BBC
http://
Obviously this is an issue with the feed source rather than Mahara per se. However, the suggested solution is to set CSS max-width style attribute and max-height style attributes to the channel image.
Will simply need, say, an appropriate CSS class added to htdocs > blocktype > externalfeed > theme > raw > feed.tpl and related .css entry
The RSS 2.0 spec defines a max-width of 144px (default 88px) and max-height of 400px (default 31px). So, these would be reasonable values.
http://
Thanks
Geoff
Mahara version 1.7.2 running on CentOS 6
Database: MySQL
Using recent versions of Firefox, Chrome or Opera on Windows 7 or Fedora 19
Changed in mahara: | |
milestone: | none → 1.8.0rc1 |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | 1.8rc1 → 1.8.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Hello Geoff,
Thank you for the report. I'll ask our designer to look into this and see if she can simply change the CSS or if dev work is needed.
Cheers
Kristina