-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds a paragraph body to each map on the clean feed #744
Adds a paragraph body to each map on the clean feed #744
Conversation
Thanks for opening this pull request! |
Code Climate has analyzed commit 1ec6b27 and detected 0 issues on this pull request. View more on Code Climate. |
app/views/feeds/clean.builder
Outdated
@@ -8,6 +8,7 @@ xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do | |||
xml.description "Recently posted maps at MapKnitter.org, a Public Lab open source research initiative" | |||
|
|||
@maps.each do |map| | |||
map.body = "<p><img src='" map.warpables.first.image.url(:medium) "' alt='" map.name"'/></p>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! However, I think the change needs to happen further down on line 20, modifying xml.description map.description.to_s + " " + map.warpables.first.image.url(:medium) + spamlink
Would you mind making this change? Thanks so much!
hi @claytron5000 any updates on this? |
How does this look? |
Codecov Report
@@ Coverage Diff @@
## main #744 +/- ##
=======================================
Coverage ? 38.35%
=======================================
Files ? 40
Lines ? 1705
Branches ? 0
=======================================
Hits ? 654
Misses ? 1051
Partials ? 0
|
Oh sorry I didn't look at this sooner @claytron5000 |
This PR has been open for a long time and no activity/ reviews requested has not been addressed. We understand you might be busy and engaged on other things. I am closing this for now...please feel free to reopen if you get some time and would like to finish this. Rem to check if its still available before you reopen. Thanks |
Fixes #248 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/mapknitter-reviewers
for help, in a comment belowThis is a pretty rough fix. I was unable to get the site running locally, so I couldn't really replicate the functionality. I suspect this will require more work, though I'm trying to follow the link provided in the issue description.