(Very) Simple RSS Feed Block?

Post Reply

Topic author
the.ronin
Valued Contributor
Posts: 64
Joined: 30. October 2008 16:20

(Very) Simple RSS Feed Block?

Post by the.ronin »

Would anyone have a script for a block which just brings in the RSS feed url and has a scrollbar to scroll through the content?

frold
Portal Enthusiast
Posts: 108
Joined: 24. March 2008 07:52

Re: (Very) Simple RSS Feed Block?

Post by frold »

http://www.phpbb.com/community/viewtopi ... 0&t=598734

Is the onbe I use on www.studmed.dk - the block: "RSS Nyheder"
http://www.studmed.dk - Portal for doctors and medical students in Denmark

Topic author
the.ronin
Valued Contributor
Posts: 64
Joined: 30. October 2008 16:20

Re: (Very) Simple RSS Feed Block?

Post by the.ronin »

Thank you frold ... yes, I have looked at that as well as the block add-on posted I think by Christian_N. I just needed something very very simple just for the portal.

Here is an example of something I whipped together ...

Code: Select all

<!-- Surfline RSS Feed Block -->
<!-- Created by Tribal Surf (c) 2008 -->
<!-- http://www.tribalsurf.net -->
<!-- http://www.surfline.com/-->

<div class="portal-panel">
		<span class="portal-corners-top"><span></span></span>
			<h3>Surfline RSS Feed</h3><br /></div>
			<div style="margin-top: -10px; background-color:#D2D9E3;">
			<div style="border: 0;background-color:#D2D9E3; width:175px; height:180px; overflow:auto; color:#FFF;">
			<script language="javascript" src="http://www.rss-info.com/rss2.php?integration=js&windowopen=1&rss=http://www.surfline.com/rss/region.cfm?alias=sealbeachcam&number=100&width=175&ifbgcol=D2D9E3&bordercol=D2D9E3&textbgcol=D2D9E3&rssbgcol=D2D9E3&showrsstitle=0&showtext=1"> </script> 
			</div>
			</div>
			<div class="portal-panel"><br />
		<span class="portal-corners-bottom"><span></span></span>
</div>
<br style="clear:both" />
I do not like this for 3 reasons. 1) I haven't figured out a way to reduce the font size or apply other styles, 2) the scrollbar looks huge, and 3) I had to use a portal block script I slapped together to allow no padding but does not look good in IE6.

Topic author
the.ronin
Valued Contributor
Posts: 64
Joined: 30. October 2008 16:20

Re: (Very) Simple RSS Feed Block?

Post by the.ronin »

Ok I came up with a very simplistic RSS feed portal block.

This one runs off of a custom profile field which then selects a particular surf report from Surfline and feeds the RSS into the block. The downside is that it relies on a third party parser.

Image
Post Reply

Return to “Modification Requests”