TinyPortal

Development => Block Codes => Topic started by: edifier on March 01, 2007, 06:22:26 PM

Title: Can This Be Done In A Block
Post by: edifier on March 01, 2007, 06:22:26 PM
    Hello

  I've setup a RSS feed block but all it shows is an clickable icon. What i'm trying to do is show the contents of the feed in the block, preferably scroll or auto scroll. Currently using SMF 1.1.1. and latest TP.

  Here is the feed i'm trying to setup - http://www.viruslist.com/en/rss/latestvirusdescriptions

  Any help would be much appreciated.

                                                             Thanks.
Title: Re: Can This Be Done In A Block
Post by: IchBin on March 01, 2007, 06:25:02 PM
You have to change the block type to RSS and put the link to the feed in it.
Title: Re: Can This Be Done In A Block
Post by: edifier on March 01, 2007, 06:33:03 PM
   Yes, i created an RSS block and put that code into it and it works. However, there's only an icon that when you click it, takes you to that location. I want the contents of that feed to show in the block not the clickable icon.
Title: Re: Can This Be Done In A Block
Post by: IchBin on March 01, 2007, 06:44:50 PM
Well it works on my test site so I don't know what to tell you. Are you sure your block looks like this?

Title: Re: Can This Be Done In A Block
Post by: edifier on March 01, 2007, 07:05:40 PM
     Could you please show me what the finished block looks like on your test site now.  Thanks.
Title: Re: Can This Be Done In A Block
Post by: Zetan on March 01, 2007, 07:15:30 PM
I have a Metal Hammer feed, left side of home page.. very easy to set up.
I'm working on several in an article page using center blocks.

link in sig
Title: Re: Can This Be Done In A Block
Post by: Zetan on March 01, 2007, 07:21:38 PM
Double post.. heres the article. It's not yet public:
http://labradio.co.uk/index.php?page=32
Title: Re: Can This Be Done In A Block
Post by: IchBin on March 01, 2007, 07:24:53 PM
www.ichbin.us is where the feeds at.
Title: Re: Can This Be Done In A Block
Post by: edifier on March 01, 2007, 07:31:43 PM
     Thanks to both of you for helping so far.

  My block only shows the 'Kaspersky Logo', no text. And obviously that block is much longer than what i would want. If i can somehow get it working, would it be possible to limit those definitions to say the first 3-5 of them?.

                                                          Thanks Again.
Title: Re: Can This Be Done In A Block
Post by: IchBin on March 01, 2007, 08:00:51 PM
You have to use a 3rd party script to get those kind of options. I don't know of any off hand, but I'm sure you can find some with google until someone comes around with a link in here for you.
Title: Re: Can This Be Done In A Block
Post by: edifier on March 01, 2007, 08:42:37 PM
Quote from: IchBinâ„¢ on March 01, 2007, 07:24:53 PM
www.ichbin.us is where the feeds at.


    Thanks for testing that for me. Any idea why mine doesn't show the text?. And on your test site, see how the alert names run out of the block. What would i have to do there?. Just resize the blocks?.
Title: Re: Can This Be Done In A Block
Post by: IchBin on March 01, 2007, 09:14:07 PM
Since TP doesn't do anything with the actual parsing of the Feed it just displays it how it is, I would suggest you use a 3rd party script that will allow you to control what and how it is shown in your feed.
Title: Re: Can This Be Done In A Block
Post by: edifier on March 01, 2007, 09:16:31 PM
Quote from: Zetan on March 01, 2007, 07:21:38 PM
Double post.. heres the article. It's not yet public:
http://labradio.co.uk/index.php?page=32

     That looks good. About the size i want, no larger.
Title: Re: Can This Be Done In A Block
Post by: edifier on March 01, 2007, 09:18:37 PM
Quote from: IchBinâ„¢ on March 01, 2007, 09:14:07 PMI would suggest you use a 3rd party script that will allow you to control what and how it is shown in your feed.

    Alright Then

  I will search for that.  Thank You.