Topic RSS
Mark,
Check line 107 in podcast.php. On enclosure url="?php should be url="<?php
Check or remove line 108. The duration does not validate xml and won't feed right if it does not pass a mm:ss or m:ss, or ss as its format. It goes back to the sb_mp3_length routine which may not work if it falls out.
I will look into it greater sometime this weekend. But for those that have .42.2 you should update those lines if you want to display your feed.
I am having good feeds to itunes and normal feeds. I did add my extra itunes data (image, personalize descriptions)
William,
Line 107 is fine as far as I can see:
I'm not sure of the problem you're describing with line 108, either. Did you have a specific issue?
Mark
The file I downloaded is missing the opening < for the ?php code within the enclosure tag (see excertpt below). As for the itunes:duration tag. I check with feedvalidator and it flag that line as invalid. I double check and just try to click on the other subscribe line in the loaded site and it does not load up the feed. If you remove it or just put in minutes and seconds (i.e. 7.30) then the feed works. Also the feed validator then works. Another note, it does not seen to matter to itunes if the tag is there or not, it still gets the file length when it loads the file.
<enclosure url="?php echo sb_podcast_file_url($media_name, $me
Looking at it some more, unless I am missing something the sb_mp3_length rountine calls get_metadata which seems only be in the mp3length file which is not load if you have PHP 4 (like me). So this rountine does not execute correctly which is why I believe I am getting the feed error in the itunes:duration tag. Again I am no expert, just chasing the code around.
Strange behavior. I am having my dreamweaver doing strange things. It appears it was stripping the bracket. I took a look at podcast.php by loading it into notepad and the code is correct. So I guess this issue is resolved. I still would like to see a way to include a separate file or template to allow adding additional xml data or greater detail. At this point I must edit podcast.php after every update so that I can keep my itunes feed correct. Not impossible but just a small nuisance. I will explore a fix to this request.
Her is the folowing itune and other tags that I add or modifiy:
<Title> – The website name does not necessary match what I want for the feed title, itunes recommends using something that people can identifiy with
<Copyright> I like to tie this to our site privacy policy
<itunes:author> I like filling this out because it identifies the overall feed as the churches, the one in the loop works nice as is since it gets the identified preacher
I haven't added this one but been thinking about it:
<itunes:catagory>itunes allows three catagory listings to help with searching, I thought about adding Christianity catagory to fine tune the search
<itunes:summary>This tag help identify the feed to get folks to read it once they found it in the search
I add this same information to the <description> tag
under <itunes:owner> I fill in <itunes:name> and <itunes:email>
<itunes:image> not necessary but a nice feature to put into the podcast, might even be nice feature to allow linking this image as the itunes feed link in the sermon page (icon recognition)
<itunes:keywords> this helps searching and finding the podcast in itunes up to twelve words, this may be a good use of one of the sermon fields – tags (although it would need to limit to keep compatable)
I haven't verified this but apple document states that the following characters need treatment to keep the xml valid: & < > ' " , I know you treat for the & character, but not sure if the others give some folks fits since I do not test all feeds
All this data I got from http://www.apple.com/itunes/wh…..specs.html
Most Users Ever Online: 40
Currently Online: 0be1
14 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
malpan - 2453
jogen - 2440
VanWatterson - 652
GeraldSebring - 364
LucasWoltman - 362
RandellFeenstra - 362
Member Stats:
There have been 7 guest posters
There are 1937 members
There are 1 moderators
There are 1 admins
Forum Stats:
Groups: 1
Forums: 2
Topics: 973
Posts: 3782
Newest Members: damianv, twinton, ellison13579, Daigh, mchunful, jesua
Moderators: Ben Miller (383 )
Administrators: Mark Barnes (425)
Log In
Register
Home
Offline


