Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 23rd, 2005, 02:05 AM
BablioBr@hotmail.com
Guest
 
Posts: n/a
Default How to add RSS 2.0 to my web site?

have a personal web site under development and I am having a hell of
a hard time trying to feed "live" news to my web page with RSS 2.0.
from google news web site. I know how anoyning it is to explain stuff
to newbies, but I really need help. Please help me out with this
issue. So to be more specific here is my question..


1 - I am developing my web page with front page 2002.
2 - I have the RSS 2.0 code
3 - On the HTML tab (frontpage 2002) what do i have to type before the
RSS 2.0 code to make it work
4 - Thank you


Fabio Scopel

  #2  
Old August 23rd, 2005, 07:05 AM
Jim Moe
Guest
 
Posts: n/a
Default Re: How to add RSS 2.0 to my web site?

BablioBr@hotmail.com wrote:[color=blue]
> have a personal web site under development and I am having a hell of
> a hard time trying to feed "live" news to my web page with RSS 2.0.
> from google news web site. I know how anoyning it is to explain stuff
> to newbies, but I really need help. Please help me out with this
> issue. So to be more specific here is my question..
>[/color]
See <http://blogs.law.harvard.edu/tech/rss>
Add <link rel="alternate" type="application/rss+xml" title="RSS"
href="http://my-site.com/path-to-rss.xml">[color=blue]
>
> 1 - I am developing my web page with front page 2002.[/color]

A pity.
[color=blue]
> 3 - On the HTML tab (frontpage 2002) what do i have to type before the
> RSS 2.0 code to make it work
>[/color]
Use an standard link:
<a href="http://my-site.com/path-to--rss.xml">MyRSS</a>

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
  #3  
Old August 23rd, 2005, 09:35 AM
dingbat@codesmiths.com
Guest
 
Posts: n/a
Default Re: How to add RSS 2.0 to my web site?


BablioBr@hotmail.com wrote:
[color=blue]
> trying to feed "live" news to my web page with RSS 2.0.
> from google news web site.[/color]

I think Jim has misunderstood your problem here - you're trying to take
someone else's feed and use it on your site, not feed your site out as
RSS to other people.

You need some server-side scripting (PHP would do, or whatever you can
get hosted) Then use something to turn the RSS into HTML, probably
involving some XSLT. You can find "bare" RSS->HTML converter
stylesheets in XSLT (quite hard) in many places (I've written loads and
made them public myself), then just tweak their styling (quite easy) to
look good with your site.

I don't recommend client-side XSLT for this - it only works on a few
browsers. Although it is a reasonable solution for a personal site, if
you can't get any better hosting. Put an <iframe> on your page, then
either make the src of the iframe a reference to the RSS feed, with an
attached reference to an XSLT stylesheet (this probably needs a tiny
bit of scripting to attach the stylesheet reference).

Or (if you have no server-side scripting at all) make the contents of
the <iframe> refer to a HTML page where some JavaScript loads up an XML
"data island" (a good search term to use) and transforms it client
side. This works well, makes no demands on the server, but is highly
browser dependent.

 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles