The feeds
Do you run a website? Need content that will keep visitors coming back every day?
Look no further! Our JavaScript and RSS feeds are a great way to quickly add
HumorFeed.com headlines to your site. We currently have many different feeds
to choose from with more on the way.
JavaScript Feeds
We currently offer six Javascript feeds, let us know if there are others you'd like to see.
Plug and Play
The simplest feed we have is what we call the "Plug and Play". Copy the code below and paste it into your webpage where you want the headlines to appear and that is that.
Examples
JavaScript and CSS
Want a little more control over how the feed looks? With this Javascript Feed you can define the look and feel with the CSS classes that are listed below.
Examples
The css class names used are:
hfblock - This is a DIV that encompasses the entire feed
hfhead - DIV that holds the words HumorFeed.com and the date
hfheadtext - This is a SPAN element you can use to format the text in hfhead
hfitem - DIV that holds the site name and headline
hfsitename - DIV element that holds the site name for the headline
hflink - DIV element that contains the headline link
hffooter - DIV that holds the bottom link to HumorFeed.com
Random Feed
Oh, you'll love this. Is HumorFeed growing to quickly for you and you don't want to show ALL the headlines for the day at once? No problem. With this little line of code you can show any number of HumorFeed headlines. Each time a reader visits your site they will be presented with a random sampling of the day's headlines. To change the number of headlines shown, change the number after
show= Examples
Random CSS Feed
Want the random feature but in the customizable CSS format? No problem. Use this code to get those results.
Examples
A Different Random Feed
Here's a random feed created by the webmaster at
GWBush04.com which uses the RSS feed (see below) to create a random feed. The site name and headline are all part of the link in this feed.
Ticker
Here's a news ticker, horizontal style. If you're pressed for space, this is the feed for you.
RSS Feeds
RSS Feed 2.0
RSS is up to date. RSS version 2.0 is now available!
http://www.humorfeed.com/feed/humorfeed2.rss
RSS Feed 0.91
If you'd like to use the 0.91 RSS feed, point your parser/news reader to:
http://www.humorfeed.com/feed/humorfeed.rss
More Coming
Of course we have more coming! If there is a feed format that you want sooner rather than later, let us know, we'll bump it to the top of the list.