Adding RSS Content To Your XSitePro Website
What Is RSS?
RSS is an acronym for "Really Simple Syndication"
RSS feeds are streaming content that you can add to your webpages for free! RSS feeds provide fresh
articles, breaking news and popular headlines on any topic directly to your webpage.
Here are the steps needed for adding RSS Feeds to your XSitePro website using RSS Content Builder.
Click the link above and download the software. You can either download the paid version and
upload it to your server or use the free online version.
Next, go to the RSSCB Control Panel and select your feeds.

Or you can enter in other feeds that are not on the list above.

One other option is to use keyword based feeds.

Now you can choose how the content will look on your site. Just check the boxes you want,
most are self explanatory.

Now choose the width, colors, borders and fonts for the feeds.

Almost done :) Just a few more options for the new browser window that will appear when a feed is
clicked upon.

And here is what a feed looks like.

Play around with the settings until you are happy with the feed style. Once you are finished
with changing the look of the feed, you will have two options for placing the code on your website.
The first option is getting the code in JavaScript format. If you setup your feeds using
JavaScript, the feeds will not be SE friendly, so I will skip this one and go to option two.
Option two is getting the code in php format. This option is SE friendly.

Create a new page in XSitePro and call it "rssfeeds.php" and paste in the code from option two
above. Make sure to change the file extention to .php. Also "Ignore Page Layout" should be checked.

Next add the code below to your web pages where you want to display RSS feeds.
<!--#include virtual="/rssfeeds.php" -->
For this code to work, we need to make the .php stuff work on our .html website. For this we need to edit
the .htaccess file on your server. You can either manually modify the .htaccess file on your server, or
if you have Cpanel, this can very easily be done using the 'Apache Handler' Function. Look for the 'Apache Handler'
Icon in Cpanel and click on it.
Next we need to add the instructions -
.htm server parsed
.html server parsed
Type .htm server-parsed in as shown in the picture below, then click on the
"Add" button.

Next, click the "Go Back" button and type .html server-parsed, then click
the "Add" button again.
That's it, click publish and see if your feeds are working.
If you cannot use "Apache Handler" or if you do not have Cpanel you can manually modify the
.htaccess file by adding these two lines below.
.htm server-parsed
.html server-parsed
If the above does not work you can try adding this line below, which does the same as the two lines
above.
Addhandler application/x-httpd-php .html .php
Review (Short version)
- Go to RSS Content Builder and get the .php code from option two.
- Create a page called rssfeeds.php and paste in the php code.
- Put this code "<!--#include virtual="/rssfeeds.php" --> " on the source tab of
the page that you want the feeds to appear.
- Edit the .htaccess file on your server.
- Publish and see you new feeds.
Note that the rssfeeds.php and the "<!--#include virtual="/rssfeeds.php need to have the same file extention and file name. The file name can be anything
you want. Example - dogs.php and "<!--#include virtual="/dogs.php
Before you edit the .htaccess file on your server, make a backup of it. This way if something goes wrong,
you can go back to the original file.

|