Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Sermon Management System Extension > rss feeds and page browsing
Total Posts: 27 - Pages (3): [1] 2 3
user picture Author: Andre Daley
Posted: May 24 2007 - 07:47 AM
Subject: rss feeds and page browsing
I have two question about modifying the output I'm getting from the SMS.
First I have set up the RSS feed and it seems to be working but only partially. The tow problems are the feed only show in IE7 not firefox and only two items show instead of 25 sermon mp3s I have online

Second issue is I have a sermon record set to display latest (1) sermon on my web site front page. However it also shows the page browser information which I don't need. I have tried to turn that off using the typescript setting but it hasn't worked so far.

I'd appreciate any help.

Thanks
Andre
user picture Author: Brian Slezak
Posted: May 24 2007 - 09:39 AM
Subject: re: rss feeds and page browsing
Hey Andre,

If you could provide a link to the RSS feed here, or to me personally, it would help me diagnose the problem. I can give some suggestions though.

Firefox will have display problems if the feed is invalid. http://validator.w3.org/feed/ This could be from bad characters in your description field or other fields.

When you configure a podcast feed, you have to choose what resource type will be included in that feed, i.e. plugin.tx_wecsermons_pi1.xmlView.enclosureType = embedded_mp3. The property enclosureType should be set to the TypoScript Object Name of the SMS Resource Type you wish to include. Once you do this, if a sermon record does not have at least one resource of this type attached to it - it will not show up in the feed. This could cause only some of your sermons to show up in the feed.

The best way to remove the page browser is to just pull the marker out of the template, ###BROWSE_LINKS###. Off-hand I don't remember if you can disable it fully from TypoScript alone.

Hope this helps. Thanks!
user picture Author: Andre Daley
Posted: May 24 2007 - 12:06 PM
Subject: re: rss feeds and page browsing
Brain,
Sorry I meant to include a link but forgot, here it is.

http://www.mosaiclife.org/index.php?id=231&type=222

This is what I have in the typosetup of my template I took this from the documentation

podcast.10 < plugin.tx_wecsermons_pi1
podcast.10 {
CMD = XML
xmlView.enclosureType = embedded_mp3
pidList = 392
}

vodcast.10 < podcast.10
vodcast.10.xmlView.enclosureType = embedded_mp4


This is what the validator says

line 27, column 156: link must be a full and valid URL: resources/media/messages/message/?tx_wecsermons_pi1%5BrecordType%5D=tx_wecsermons_sermons&tx_wecsermons_pi1%5BshowUid%5D=4&cHash=3f08a3cdb4 (2 occurrences) [help]

... _pi1%5BshowUid%5D=4&cHash=3f08a3cdb4</link> ^
line 33, column 3: url attribute of enclosure must be a full URL (2 occurrences) [help]

<enclosure url="uploads/tx_wecsermons/20070429.mp3" length="11487086" typ ... ^
line 34, column 20: Invalid duration: "": (2 occurrences) [help]

<itunes:duration></itunes:duration> ^
line 35, column 54: pubDate must be an RFC-822 date-time: Wednesday, 31 December 1969 19:00:00 -0500 (2 occurrences) [help]

<pubDate>Wednesday, 31 December 1969 19:00:00 -0500</pubDate> ^
line 36, column 9: guid must be a full URL, unless isPermaLink attribute is false: (2 occurrences) [help]

<guid></guid> ^
In addition, this feed has an issue that may cause problems for some users. We recommend fixing this issue.

line 36, column 9: guid should not be blank (2 occurrences) [help]

<guid></guid>

As you can see it still only finds two mp3 files I have many more
user picture Author: Brian Slezak
Posted: May 24 2007 - 12:29 PM
Subject: re: rss feeds and page browsing
Ah, I see.

Andre, try the v0.9.1 SMS update that is now released, as there is a bugfix that is directly related to the issue you're seeing here I think. It's a problem with encoding the characters in the querystring of the url.

Let's see if that helps.

user picture Author: Andre Daley
Posted: May 24 2007 - 12:39 PM
Subject: re: re: rss feeds and page browsing
Brian Slezak wrote:
Ah, I see.

Andre, try the v0.9.1 SMS update that is now released, as there is a bugfix that is directly related to the issue you're seeing here I think. It's a problem with encoding the characters in the querystring of the url.

Let's see if that helps.



Brian,
I am running 0.91 should I clear the cache or something
user picture Author: Brian Slezak
Posted: May 29 2007 - 11:54 AM
Subject: re: re: re: rss feeds and page browsing
Andre Daley wrote:


Brian,
I am running 0.91 should I clear the cache or something


No you shouldn't have to. I just checked now and there are no entries being listed. If this was from updating to 0.9.1 I'd like to know what might have done that.

Let me know.
user picture Author: Andre Daley
Posted: May 30 2007 - 12:54 PM
Subject: re: re: re: re: rss feeds and page browsing
Brian Slezak wrote:

No you shouldn't have to. I just checked now and there are no entries being listed. If this was from updating to 0.9.1 I'd like to know what might have done that.

Let me know.


Brian,
I was running .09.1 already when I ran into the problem.

Andre
user picture Author: Brian Slezak
Posted: May 30 2007 - 01:34 PM
Subject: re: rss feeds and page browsing
Sorry, I misunderstood you. It appears that not all the information was making it into the feed output. This may be due to an ordering issue between wec_api and wec_sermons.

Try uninstalling wec_sermons momentarily, then re-installing it. If this doesn't do anything, I'd have to look into the site to see what might be causing it.

Sorry for the trouble.
user picture Author: Andre Daley
Posted: May 30 2007 - 03:11 PM
Subject: re: re: rss feeds and page browsing
Brian Slezak wrote:
Sorry, I misunderstood you. It appears that not all the information was making it into the feed output. This may be due to an ordering issue between wec_api and wec_sermons.

Try uninstalling wec_sermons momentarily, then re-installing it. If this doesn't do anything, I'd have to look into the site to see what might be causing it.

Sorry for the trouble.

brian,
Thanks for the help. I tried what you said but it didn't make a difference

Andre
user picture Author: Brian Slezak
Posted: May 30 2007 - 03:59 PM
Subject: re: rss feeds and page browsing
Andre Daley wrote:

brian,
Thanks for the help. I tried what you said but it didn't make a difference

Andre


Let me research some things locally and I'll get back to you. It may have in fact been a change in 0.9.1 that is causing this.
Total Posts: 27 - Pages (3): [1] 2 3
You must login to post a message to this conference.