Go Back   Free website templates > Web Template Help > JavaScript
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to share free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-08-2008, 04:20 PM
Senior Member
 
Join Date: Apr 2008
Location: United Kingdom
Posts: 309
djwilson is on a distinguished road
Default Rss !!!!?

Hi,

i need to add .xml and RRS to my site

currently
www.liveyoutubedjs.site50.net

going to be
www.youtubedjchannel.com (redirecting at the moment)

how do i get RRS and .XML as well as it glowing on the top of IE just under the address bar


need all the help i can get please!!!

thanks
__________________
I drive the transit you pay for petrol
Reply With Quote
  #2 (permalink)  
Old 11-04-2008, 08:12 PM
vareside's Avatar
Senior Member
 
Join Date: Jul 2007
Posts: 254
vareside is on a distinguished road
Post

First, you have to write an RSS feed (in XML format) on your own. This is working in the following way:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel xmlns:cfi="http://www.microsoft.com/schemas/rss/core/2005/internal">

<title>TITLE OF MY RSS FEED</title>
<link>http://www.example.com/</link>
<description>ADD A DESCRIPTION OF YOUR WEBSITE HERE</description>
<language>en</language>

<item>
<title>TITLE</title>
<description>DESCRIPTION</description><image><url>URL</url></image>
<link>URL</link>
<category>CAT</category>
</item>
<item>
<title>TITLE2</title>
<description>DESCRIPTION2</description><image><url>URL2</url></image>
<link>URL2</link>
<category>CAT2</category>
</item>

</channel>
</rss>
Above you can see the content of a simple feed.xml file. Just change the text parts to your needs. Then, so that the browser recognizes it, you have to add the following part into the HEAD-area of your web page and enter the path to the feed:

Code:
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.example.com/feed.xml">
Reply With Quote
  #3 (permalink)  
Old 11-08-2008, 05:10 PM
Senior Member
 
Join Date: Apr 2008
Location: United Kingdom
Posts: 309
djwilson is on a distinguished road
Default

do i add the second code on the .xml page?
Reply With Quote
  #4 (permalink)  
Old 11-08-2008, 06:21 PM
vareside's Avatar
Senior Member
 
Join Date: Jul 2007
Posts: 254
vareside is on a distinguished road
Post

The first code is for the xml document. The second code is for the html page.
Reply With Quote
  #5 (permalink)  
Old 11-08-2008, 07:30 PM
Senior Member
 
Join Date: Apr 2008
Location: United Kingdom
Posts: 309
djwilson is on a distinguished road
Default

ok thanks.
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 On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:39 AM.



mouseover mouseover mouseover