FSDaily News Feed Block

node.tpl.php
dave's picture

Category:

You can now add FSDaily news feeds to your website or homepage. The block will show the latest news from one of our great feeds. Just grab the following code and put it into your page:


<script type="text/javascript">
var box_width = "160px";
var box_height = "330px";
var text_size = "8";
var section = "All";
var how_many = 10;
var show_karma = 1;
var logo_style = "dark";
var bg_color = "333333";
var text_color = "99cc33";
var link_color = "ddf5bb";
var border_color = "444444";
var score_bg_color = "b8ed6c";
var score_text_color = "336600";
var score_border_color = "b8ed6c";
</script>
<script type="text/javascript" src="http://www.fsdaily.com/files/www.fsdaily.com/drigg_box.js">
</script>

This is what you should see:

Here is a light alternative:


<script type="text/javascript">
var box_width = "160px";
var box_height = "400px";
var text_size = "8";
var section = "All";
var how_many = 8;
var show_karma = 1;
var logo_style = "light";
var bg_color = "ffffff";
var text_color = "666666";
var link_color = "333333";
var border_color = "cccccc";
var score_bg_color = "ffe995";
var score_text_color = "663300";
var score_border_color = "ffe995";
</script>
<script type="text/javascript" src="http://www.fsdaily.com/files/www.fsdaily.com/drigg_box.js"></script>

Which will give you this:

It is quite configurable as you will see looking at the code and the examples posted in the comments below.

So now it couldn't be easier to show your support for FSDaily and help your readers keep in touch with the latest news. If you add the feed to your site, please feel free to post a link to your site below so that we can check it out.

More tools are available here.

Flavority's picture

Flavority

6 years 43 weeks 13 hours 38 min ago

1

Wow they look amazing

I would add it to my site... but I don't have one. :(

db0's picture

db0

6 years 42 weeks 4 days 16 hours ago

1

I tried it out

It's not bad. Tell me what you think ;)

http://www.dbzer0.com/blog/2008/02/22/fsdaily-sidebar

I think this would be a good place to add the "Submit this" button which would grab the url and take the reader to place it on FSD if they want. Also perhaps it could grab current FSD rankings as well?

---
"It is fortunate that what is necessary, is easy to acquire and what
is difficult to have, is not necessary" - Epicurus

bblackmoor's picture

bblackmoor

6 years 42 weeks 2 days 10 hours ago

1

Added to Blackmoor Vituperative

Added to Blackmoor Vituperative (right column, down by the bottom):

http://www.blackgate.net/blog/

This is the first RSS feed I have considered worth adding.

mohamedhagag's picture

mohamedhagag

6 years 37 weeks 18 hours 52 min ago

1

it looks nice and integrated well

it looks nice and integrated well with our website, http://www.osibs.com/osibs/, thanks dave for yor email, and thanks for every one workin on fsdaily.

dave's picture

dave

6 years 27 weeks 17 hours 45 min ago

1

Um... I don't think you understand

You aren't actually using one of our widgets. It appears you have some sort of RSS feed put in a standard Drupal block. I don't mind at all, but it isn't an example of these widgets in use.

devnull's picture

devnull

6 years 30 weeks 1 day 2 hours ago

1

added to tuxtraining.com,

added to tuxtraining.com, color and size changed to match my site.

Adler's picture

Adler

5 years 36 weeks 1 day 19 hours ago

0

FSDaily News Feed Block

Hi,

I'd like to add this to my Blog @ www.jjmacet.net/blog.

I'm running WordPress. Any help?

Adler
Phoenix, Arizona

admin's picture

admin

5 years 36 weeks 1 day 14 hours ago

0

All you should have to do is...

... cut and paste the code somewhere into your website's template. Put it wherever you like.

Adler's picture

Adler

5 years 36 weeks 1 day 6 hours ago

0

FSDaily News Feed Block

Admin,

"... cut and paste the code somewhere into your website's template. Put it wherever you like."

That might be a site killer. Can you be more specific?

Regards,

Adler
Phoenix, Arizona