Conversation
|
Cool thing! I'll think about what we can do to make |
lib/gst-kitchen/episode.rb
Outdated
There was a problem hiding this comment.
If I see this correctly, this is almost the same as in Podcast#flattr_auto_submit_link. Maybe we can factor this out into a helper, or something. I'm thinking about including ActiveSupport to get Hash#to_param to make this readable.
|
Well, it's a string with 7 params... So tje duplication isn't hurting so much in my eyes. But moving this out to a new class is fine with me as well... I can extract this out tomorrow when I add the tests |
|
I removed the duplication and added the tests ... Any ideas about the deep link thingy? I have fixed it in my fork for our urls but I think forking the kitchen is not the way to go |
|
Just noticed... We can remove the sanitize gem... I'll do that later |
This adds flattr to the feed ... The necessary infos for the auto URL stuff need to be added to the
podcast.ymlStill to do
PodcastandEpisodePodcast#deep_link_urlsince it only handles GST-Kitchen URLs (@tisba, please let's talk about this)