Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.

Thread Tools Display Modes
Share |
Old 02-22-2008, 03:27 AM
FHM FHM is offline
Join Date: 02-18-08
Posts: 51
iTrader: 0 / 0%
RSS feed displayed on static html website

I am a bit stuck with a project.

I have a simple website consisting of a few static html pages. On the frontpage, I would like to display the latest posts from my blogs RSS feed.

How do I go about this? Is it possible to code something in html that will display the RSS feed?

(Disclaimer: I am most definitely a coding noob who is just experimenting a little with html to get wiser).
Reply With Quote



Old 02-22-2008, 07:34 AM
Bagi Zoltán's Avatar
Bagi Zoltán Bagi Zoltán is offline
Contributing Member
Join Date: 11-28-06
Location: Hungary
Posts: 196
iTrader: 2 / 100%
The solution I will describe will work only on apache server where mod rewrite is enabled.
As first step you need to add this line to your .htaccess file

AddType application/x-httpd-php .html
this will make your frontpage executed as a php script. Now go for an rss parser script. You may want to use rss2html since it is very easy to implement, but carp or magpierss will do the job as well. You need to add the URL of the rss to the configuration file of the parser and call the file as any other php file, using the php include function.
PHP Code:
<?php include('rss-parser.php'); ?>
Reply With Quote
Old 02-24-2008, 04:43 PM
FHM FHM is offline
Join Date: 02-18-08
Posts: 51
iTrader: 0 / 0%
Thanks for the thorough description. I will go to work on it right away.
Reply With Quote
Old 03-01-2008, 12:06 AM
iisbum iisbum is offline
Junior Member
Join Date: 02-29-08
Posts: 5
iTrader: 0 / 0%
If you're unable to do what is described above, you could use Javascript to display the contents of the RSS feed. Its not a great solution, but might work for you.

Just do a search for "Javascript RSS" on google and you'll get lots of pages explaining how to do it.
Reply With Quote
Old 03-05-2008, 01:50 AM
FHM FHM is offline
Join Date: 02-18-08
Posts: 51
iTrader: 0 / 0%

Thanks for the advice. I had already stumbled upon the javascript possibility, when researching further on the subject.

Right now, I am weighing ease of use against showing the links to the search engines.
Reply With Quote
Old 03-07-2008, 07:36 AM
ryukenden's Avatar
ryukenden ryukenden is offline
v7n Mentor
Join Date: 12-03-06
Location: Universe
Posts: 820
iTrader: 0 / 0%
Use following website tool


You can easily create the code within seconds to put into your html pages. This is ready made. You just put your rss link and all the job will be done for you.
Reply With Quote
Old 03-10-2008, 02:32 AM
youthx's Avatar
youthx youthx is offline
Junior Member
Join Date: 02-21-08
Posts: 29
iTrader: 0 / 0%
Lightbulb coffeecup

Coffeecup are pretty gud for beginner software like rss just to gt you on your feet.
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating a Blog to a Static Website Jordanl18 Blogging Forum 12 12-23-2006 02:24 AM
Generating static HTML pages for my phpLD vistadivine.com Web Directory Issues 8 11-02-2006 09:52 AM
Is having an archiver phpbb and static pages (html) SPAM? crazyhorse Google Forum 0 08-18-2004 09:23 AM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 07:06 AM.
Powered by vBulletin
Copyright © 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC