Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-22-2008, 03:27 AM   #1 (permalink)
FHM
Contributing Member
 
Join Date: 02-18-08
Posts: 51
iTrader: 0 / 0%
Latest Blog:
None

FHM is liked by many
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).
FHM is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-22-2008, 07:34 AM   #2 (permalink)
Contributing Member
 
Bagi Zoltán's Avatar
 
Join Date: 11-28-06
Location: Hungary
Posts: 195
iTrader: 1 / 100%
Bagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebody
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

Code:
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'); ?>
__________________
eCommerce shopping cart :: seo directory
Bagi Zoltán is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-24-2008, 04:43 PM   #3 (permalink)
FHM
Contributing Member
 
Join Date: 02-18-08
Posts: 51
iTrader: 0 / 0%
Latest Blog:
None

FHM is liked by many
Thanks for the thorough description. I will go to work on it right away.
FHM is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-01-2008, 12:06 AM   #4 (permalink)
Junior Member
 
Join Date: 02-29-08
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

iisbum is liked by many
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.
iisbum is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-05-2008, 01:50 AM   #5 (permalink)
FHM
Contributing Member
 
Join Date: 02-18-08
Posts: 51
iTrader: 0 / 0%
Latest Blog:
None

FHM is liked by many
iibum,

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.
FHM is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-07-2008, 07:36 AM   #6 (permalink)
v7n Mentor
 
ryukenden's Avatar
 
Join Date: 12-03-06
Location: nicewebhosts.com
Posts: 812
iTrader: 0 / 0%
ryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of lightryukenden is a glorious beacon of light
Use following website tool

www.myfreefeed.com

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.
__________________
Compare Web Hosting->>Web Hosting Sites
Web Hosting Latest Offers
: howtobuildawebsite.com , professionalwebhosting.com
ryukenden is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-10-2008, 02:32 AM   #7 (permalink)
Junior Member
 
Join Date: 02-21-08
Posts: 16
iTrader: 0 / 0%
Latest Blog:
None

youthx is liked by many
Lightbulb coffeecup

Coffeecup are pretty gud for beginner software like rss just to gt you on your feet.
youthx is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:33 AM.
© Copyright 2008 V7 Inc