TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 08:08:26 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 266
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 91
  • Total: 92
  • @rjen

News block

Started by YahMan, September 14, 2005, 05:46:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

YahMan

If you'd like to add News in a block, just add a Javascript/HTML block and add the following code:
<script language="JavaScript" src="http://search-result.com/directhit/xml/World_News.js">
</script>


Visit http://search-result.com/javascript/# to choose what kind of news suits your site.

The code above is for the world news, right now I'm using internet news on my site: http://www.traffixboards.com/community/index.php If you'd like to use that, place the following code in a Javascript/HTML block:
<script language="JavaScript" src="http://search-result.com/directhit/xml/World_Internet.js">
</script>

redeye

This script doesn't seem to be updating. any ideas why?

YahMan

Hm, weird. It works perfectly on my site, the updates don't happen every 5 minutes though.

redeye

Mine have been static for over 24 hours (UK News)

YahMan

Well, the internet news works like a charm!

psychophat

Isn't news block part of TP or is it added?

IchBin

The news block is actually part of SMF. But you can add a RSS news block with TP. :)

YahMan

Quote from: psychophat on December 12, 2005, 10:31:40 PM
Isn't news block part of TP or is it added?

Actually it's an RSS feed converted to a Javascript, I rather use that then the RSS feed, because the feed messes up the width of the block. But you can choose for yourself.

talltree

Is it possible to show ALL of the SMF news items at once using a technique like this.  I hate that it just shows one.

Talltree

Vinspire