Category: Top » Internet » Blogging »


Author: TheSeoGuy | Total views: 6 Comments: 0
Word Count: 582 Date: Tue, 20 Feb 2007 3:49 PM

How to Add Your Blogs RSS Feed to Your HTML Site

One of the advantages touted by blog proponents is the ability to use your blog (and/or other blogs) to automatically add "fresh" content to your site. Search engines like regularly updated content, and will get in the habit of dropping in to see whats new!

However, as you will have quickly discovered if you've had a go at this already, getting the content flowing is somewhat tricky. Everybodys talking about it... but nobody's saying hey, you can do it this way!

It depends a little on how your site is constructed. For normal people (read non-technical types) who are intent on good search engine rankings, you've probably had the good sense to build your site in HTML. That actually makes it a litle bit harder! :-) It just seems that all the web-geeks out there use PHP or similar arcane web construction processes, and of course they make this stuff look easy. However, us normal people can be left sucking air a bit...

RSS to HTML - to use JavaScript or not?
There are quite a few JavaScript RSS to HTML applications available - some free, some at modest cost. My advice? Don't go near them! The problem with JavaScript here, as in any other area, is that the search engines will simply skip right on by that section of your page. Yep, that's right - a complete waste of time if you are trying to deliver "fresh" content that a search engine spider will find and index.

RSS to HTML - use a hybrid PHP solution?
Nothing worth having comes easy... but hey, you know that already! Until someone comes up with a better/easier solution, you are going to have to get your hands dirty with code! What I found, after a day of searching down dead-ends, was a nifty little application called CaRP. Its a PHP-based tool, there is a free version, and it actually works!

Achieving this took an hour or so - uploading CaRP, installing a MySQL database for it, running the configuration file, and tweaking settings to display the feed as required. A small block of PHP code must be installed in the HTML page where you wish to display the feed. Execution of PHP scripts within an HTML page has a couple of requirements.

- First, your Hosts server must be configured to allow this.
- Second, you will have to edit (or create) the .htaccess file in your site's root directory and add a small block of code that allows script processing for your site. This can be configured as site-wide, or for a single page only.

CaRP allows multiple ways of customising the way feeds are displayed. For a start, you can set global formatting to apply to all feeds from within the config file. E.g. you might want to set a default font size on channel titles, and a different size on text within items. You might also want to change the total number of items displayed per listing, and set all links to open in a new window. (Recommended!)

Then, within the individual HTML page where you specify the feeds to be displayed, you can add different formatting attributes to different feeds.
The CaRP application has good documentation, which you will probably have to read... yes, when all else fails, read the instructions!

Good luck!

About the Author

Ben Kemp is a free-lance
search
engine optimisation
consultant and offers free SEO articles & RSS-HTML tips at The SEO Guys Blog

Web: http://www.comauth.co.nz




Rate, comment or bookmark this article

Seed Newsvine

Rating: Not yet rated

Bookmark this article in your preferred program
AddThis Social Bookmark Button

Comments RSS

No comments posted.

Add Comment

Your Name:


Your Email:


Comment

Enter the code shown

Visual CAPTCHA



Popular Articles in this cathegory

1: Key Elements to a Successful Blog
Everyone who starts blogging would like to become successful. Success can be achieved and interpreted in different ways. Most bloggers are inclined to measure success by the number of traffic or visits generated by their blogs while some bloggers claim themselves successful when they effectively monetize their blogs. However you define and measure success in Blogging, Blogging Mix will be a useful concept for bloggers who aspire to become successful.

2: How To Write And Tag A WordPress Blog Post
Writing a Wordpress blog post is pretty straight forward. Tagging a WordPress blog post is the extra step to get more traffic, higher search engine listings and page rank.To get started click Write on..

3: Micro SD enable your Nintendo DS... Now with an R4 or R4i adapter!
WOW!
Micro SD enable your Nintendo DS, DS Lite and now DSi... with an R4 or R4i adapter!

For all the latest in Nintendo R4 card information logon now @ http://www.r4card.com.au/r4-r4i/

Get Gaming rangers!

4: Hot Tips to Keep Your Blog Safe and Secure
More and more of my I.M. colleagues and indeed new people that I meet on line are `getting into blogging'. And why not? Blogs are relatively easy to produce and use, no matter which platform you choose, and they can be a brilliant tool for internet marketers.

5: Google Blogger Addons To Take Your Blog From Fit To Fab
This is a list of dozens of fun and useful addons for Google Blogger blogs


Creative Commons License
This article is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
Spanish taslation