Closed (fixed)
Project:
FileField Podcaster
Version:
6.x-0.5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2008 at 15:38 UTC
Updated:
18 Oct 2008 at 18:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
Rob_Feature commentedWow. Ok, someone like me should probably not be writing patches. But I figured I'd give it a whirl. This, at least, outputs a valid feed. But you should note the itunes:email section doesn't seem to validate correctly when it's un-commented. Validator says it's not a valid tag even though it appears to output correctly.
I'd love to get some feedback on, this, my first patch...
Comment #2
micahw156Rob,
I haven't really looked at ffpc yet, but may need it soon, so I'd like to help get it working. My comments are just on what I see happening in the patch, not actual experience with the module.
Unless the site_mail section gets fixed, I'd take it out for now and create it as a new issue. No sense in adding code that's commented out.
I'm not sure I'm comfortable about simply hard-coding a length from $node->body to populate itunes:subtitle. If subtitle is an optional tag (and I believe it is) then I think it would be better served by its own (optional) text field, but from what I can see about how ffpc works, that wouldn't be a simple thing to do. Maybe I'll look into that some time next week and open a new issue on it if I come up with any reasonably sane ideas. In the meantime, maybe use teaser if it's less than 255 characters?
Also, should strip_tags be used on the subtitle data, or is it safe to leave those in there?
I'm guessing that the only part that really needs to be here to make the feed validate is adding the node URL into the format_rss_item call. That part looks like it should work fine.
Micah
Comment #3
Rob_Feature commentedA couple things @micah:
Make sense? Follow up if I was missing what you were getting at with this stuff.
Comment #4
mfer commented@Rob_Feature I'm impressed with your first patch. It wasn't too shabby.
Due to the major overhaul that I wrote I wasn't able to use the patch but I used the same concepts in the places I moved the functionality to with one exception. I moved the email from the item to the overall feed which is where the spec called for it.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.