Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
George7a is on a distinguished road
 
Posts: 12
Join Date: Sep 2010
Question Other RSS on my website - 09-04-2010, 10:38 PM

Hi,

I would like to share an RSS feed on my website, that was built via "website builder". What should I do?

Thanks in advance,

- George
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
drums's Avatar
Senior Member
drums is on a distinguished road
 
Posts: 579
Join Date: Aug 2010
Location: Oz
Default 09-05-2010, 02:14 PM

Hi George7a,

To add an RSS feed that browsers automatically pick up (and list in the RSS dropdown for the page), you need to do the following:

1) go to your website builder admin page on your website
2) Click on "Layout design" on the tabs across the top
3) Where it says "Select a website template to be edited" select the template you're using (if it isn't already!) and then click "Next>>"
4) It will bring up your template (which will look a bit strange). Click on the little "HTML" icon (if you are not using the WYSIWYG editor you won't have a HTML button, but it will automatically display HTML in that case.
5) Search for "</head>" in the HTML code
6) BEFORE "</head>" add the line:

Code:
<link rel="alternate" type="application/rss+xml" title="RSS Feed name" href="yourrssfile.xml">
.. replacing the two bold items with your feed name and filename.

7) Click "Update" (if you are using the WYSIWYG editor)
8) Click "Save Changes"

You might also want to add a link in your page footer which you can do from the same template edit page, which will also make it appear on every page.

drums
Reply With Quote
(#3 (permalink))
Old
Junior Member
George7a is on a distinguished road
 
Posts: 12
Join Date: Sep 2010
Default 09-05-2010, 03:35 PM

Hi Drums, thank you for your reply.
Here is my head tags:

Quote:
<head>

<meta http-equiv="content-type" content="{%MetaCharset%}" />
<meta name="description" content="{%MetaDescription%}" />
<meta name="keywords" content="{%MetaKeywords%}" />
<title>{%MetaTitle%}</title>

<link href="http://www.000webhost.com/forum/images/style.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="New Escapethis Games" href="http://www.escapethis.net/new-games/posts.xml" />

</head>
It is still not working. What did I do wrong?
Reply With Quote
(#4 (permalink))
Old
drums's Avatar
Senior Member
drums is on a distinguished road
 
Posts: 579
Join Date: Aug 2010
Location: Oz
Default 09-05-2010, 03:56 PM

Hi,

The above info looks correct. Can you send me your site's URL? (either post here or PM me)

If you've saved your template correctly, and that is the template that you're actually using, then it should automatically apply to all the pages on your site. If it has, the URL bar in your web browser should have a little RSS feed icon lit up, indicating it has found an RSS feed on the page.

Maybe I misunderstood your request?

drums
Reply With Quote
(#5 (permalink))
Old
Junior Member
George7a is on a distinguished road
 
Posts: 12
Join Date: Sep 2010
Default 09-05-2010, 04:42 PM

I need to post this feed:
http://www.escapethis.net/new-games/posts.xml

in this page of my website:
http://www.escapethis.vacau.com/1_5_News.html

I sent you a PM also..

Thanks again for your help..
Reply With Quote
(#6 (permalink))
Old
drums's Avatar
Senior Member
drums is on a distinguished road
 
Posts: 579
Join Date: Aug 2010
Location: Oz
Default 09-06-2010, 03:29 AM

Hi George,

I think I did misunderstand slightly. The changes you have made have worked, but they are to make the RSS feed "available" to be found through your site, rather than display the contents of the RSS feed IN your site.

I'm not sure you can do what you want with sitebuilder, but let me do some testing and see if I can find a workaround!

drums
Reply With Quote
(#7 (permalink))
Old
drums's Avatar
Senior Member
drums is on a distinguished road
 
Posts: 579
Join Date: Aug 2010
Location: Oz
Default 09-06-2010, 04:14 AM

Hi again George,

Just had a quick look at what Sitebuilder will allow you to do and I think the easiest option to do this is the following:

1) Install a php script like RSS2HTML
2) Then add the following HTML code to your page in sitebuilder:
Code:
<iframe src="rss2html.php?XMLFILE=
http://www.escapethis.net/new-games/posts.xml&TEMPLATE=sample-template.html&MAXITEMS=10"></iframe>
You can change MAXITEMS and the template, etc. You might also want to modify the php file so the feed URL is hardcoded rather than passed in for security. It will then stop spammers from using your page to pull dodgy RSS feeds into other sites.

If you want more help, let me know. I (or others here) can set up a custom version of the script and template for you and you can then just install it.

drums
Reply With Quote
(#8 (permalink))
Old
Junior Member
George7a is on a distinguished road
 
Posts: 12
Join Date: Sep 2010
Default 09-06-2010, 02:55 PM

Thanks again for your help.

I have downloaded the script and uploaded it to my website.

When I try to edit the HTML and past the iframe code, it does not update, when I edit again, its gone.

I want this RSS to be only in one of my pages and not in all.

Any advice?

- George
Reply With Quote
(#9 (permalink))
Old
drums's Avatar
Senior Member
drums is on a distinguished road
 
Posts: 579
Join Date: Aug 2010
Location: Oz
Default 09-07-2010, 01:41 AM

Hi George,

Okay, just to make your life (and mine) difficult, Website builder DOESN'T support iframe use in raw HTML, but there is an easy workaround.

If you just want it on one page, then try the following:

1) Click on the page on the left hand side of your admin page
2) When it loads into the editor, click on the section where you want your newsfeed to load in the page
3) then click on "Paste HTML" icon (which is like a little play icon on the bottom row, far right hand side) and a new window will open up
4) Paste the iframe code you want into the window and click save/okay
5) It will add something like "{paste_123485}" into your page.
6) Save the page

Test away!

That will allow the iframe to work in the page.

Hope that helps.

drums
Reply With Quote
(#10 (permalink))
Old
Junior Member
George7a is on a distinguished road
 
Posts: 12
Join Date: Sep 2010
Default 09-07-2010, 05:23 PM

Here is the code I am trying now and it is not working! Can you please explain why?

Code:
<iframe src="http://escapethis.vacau.com/games/rss2html.php?XMLFILE=http://www.escapethis.net/our-favorites/posts.xml&TEMPLATE=sample-template.html&MAXITEMS=10"></iframe>
Reply With Quote
Reply

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com