Thursday, August 16, 2007

Free Download RoboForm - Automate Logins - Remember Passwords

RSS and Javascript Newsfeeds

RSS newsfeeds are all the buzz. An RSS feed is handy on your desktop or in your Yahoo pages but what about adding some live news to your website. You can add RSS to a website, however, this is usually involved and generally is no better than HTML or Javascript news sources. In some cases if you use an RSS feed some viewers will not be able to view this news. RSS involves XML and PHP and this requires extra learning, coding and time. Below are some quick solutions to adding an HTML or Javascript live news feed to any template or website.

Before you start
Below is some newsfeed code and some recommended newsfeed services to use with the code. If you use any of these services be sure to read their "Terms of Use" or "Policies" as many feeds have different rules.

ADD-ON BUGS (Please Read):
You may encounter some problems in some templates with the "auto scrolling" add-on in IE due to bugs in this browser. In some cases the scroller will not work on your local hard drive but may work when uploaded. In some cases your template DOCTYPE may be the problem. Be aware Allwebco does NOT provide support for these errors. If this scroller works in your template in IE then it will cause no problems and will work in all other newer browsers.

There are no know bugs if you use code from Example #1 on this page.

Your display options
The samples on this page are showing newsfeeds in small windows on the right. If you want the content right on an HTML page instead, such as on your home or links pages, skip the next section and go right to "News Feed Services" later on this page. If you want to use a small window like the samples on the right at your site, on any page or in a .js file such as in your sidebar.js or under the links on a vertical menu in your menu.js keep reading.

Example #1 "Freshcontent.net" feed
The first example on this page is using a news feed from Fresh Content. Fresh Content does not allow their news to display in a scrolling ticker of any kind so we are using a static IFrame. Download this add-on and follow the steps on the included "help-news_iframe.html".

Download complete code and instructions for Sample #1 (.zip)


Example #2 "Worldpress.org" feed
Example two is using a feed from Worldpress.org. To add a scroller as seen in example #2, first, download and setup the scrolling news IFrames script. Come back to this page and download the "Worldpress news page" below to replace the "news_win.htm".

Download the Worldpress.org news page only (.zip)


Example #3 "Freenewsfeed.com" feed
Example three is using a feed from Freenewsfeed.com. To add a scroller as seen in example #3, first, download and setup the scrolling news IFrames script. Come back to this page and download the "Worldpress news page" below to replace the "news_win.htm".

Download the Freenewsfeed.com news page only (.zip)


Using other news feeds
With these examples you can use an HTML or Javascript news feed from any news source. To set this up, Setup the scrolling news IFrames script in your template. Go to the news feed site you have chosen and follow their steps to add their code to the "news_win.htm".

The feed I want to use offers only RSS feeds
RSS is tricky to setup. Here are some options you can check.

Converters:
RSS to JavaScript at Feed2JS
Free RSS to JavaScript Service
RSS & Atom Software & Services
Advanced users:
Using RSS News Feeds at Web Reference



Javascript HTML News Feed Services


The newsfeed services listed below all offer HTML Javascript code so a newsfeed can be easily added to any Allwebco template or website. Follow the directions at the following websites to add live news to your website.

Worldpress.org | Go to Worldpress.org Newsfeeds
With this service you can add HTML news feeds to any website or template. They offer HTML Javascript or RSS code. They ask you to link back to their website. This feed is example #2 on this page.

Send2Press | Go to Send2Press Newsfeeds
With this service you can add HTML news feeds to any website or template. They offer HTML Javascript or RSS code. You must send them a link to show where you have added the newsfeed at your site. This feed has been on-line since 1998.

Freshcontent.net | Go to Freshcontent.net Newsfeeds
With this service you can add news feeds like "outdoors", "travel" or "entertainment" to any website or template. They offer easy to add Javascript code. They do not allow the news to be displayed in a scroller or ticker. This feed is example #1 on this page.

FreeNewsFeed.com | Go to FreeNewsFeed.com
Newsfeeds from USA Today, VNU Business Online and others. They offer HTML Javascript or RSS code. This feed is example #3 on this page.

News4Sites | Go to News4sites.com
Just did a quick test of one news feed on this site and it had a nice ticker effect. It looks like they have a few options for adding news feeds to a website.


Related Topics:
Scrolling News IFrames
Static IFrames
More Scripts

source: allwebco-templates.com

Thanks for visiting my blog, subscribe to my RSS feed. Thanks for visiting!