homepage Welcome to WebmasterWorld Guest from 54.161.236.92
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
RSS to html just like xml
using rss feed in html page like using xml
netsurf




msg:1541583
 6:24 am on Nov 11, 2004 (gmt 0)

I made an xml page as follows:
<?xml version="1.0"?>
<Messages>
<Message>
<User>Ashwin</User>
<Text>Welcome</Text>
</Message>
<Message>
<User>Dayson</User>
<Text>Bye</Text>
</Message>
</Messages>

*************************************************
// and i integrated it in html by adding this code:
<html>
<head>
<xml src="new.xml" id=msg></xml>
</head>
<body>
<table border=1 datasrc=#msg><thead>
<tr>
<td>User</td>
<td>Message</td>
</tr>
</thead>
<tr>
<td><span DATAFLD="User"></td>
<td><span DATAFLD="Text"></td>
</tr>
</table>
</body>
</html>
*************************************************.

now i even have a rss code as follows:

<?xml version="1.0"?>
<rss version="0.91">
<channel>
<title>example.com</title>
<link>http://www.example.com/</link>
<description>India's largest news and entertainment service online.</description>
<language>en-us</language>
<pubDate>Wed, 10 Nov 2004 09:47:44 GMT</pubDate>
<copyright>Copyright: (C) 2004 example.com India Limited. All Rights Reserved.</copyright>
<image>
<title>example.com</title>
<url>http://www.example.com/uim/red_log.gif</url>
<link>http://example.com/</link>
<width>144</width>
<height>28</height>
<description>Visit example.com</description>
</image>
</channel>
</rss>
*********
what do i do to integrate this with html...?
is it possible with html, javascript rather than asp,php,etc[the hard ones i mean].

Any help would be most appreciated
Thanks in advance

[edited by: werty at 3:50 pm (utc) on Nov. 11, 2004]
[edit reason] Changed URL's to Example.com see TOS #13 [/edit]

 

eurotrash




msg:1541584
 2:29 am on Nov 15, 2004 (gmt 0)

Have a look at this article on InformIT dot com

[informit.com...]

netsurf




msg:1541585
 2:02 pm on Nov 15, 2004 (gmt 0)

Hi eurotrash

thanks for your reply. It did help me a lot. But I guess the concept of the link was to create a RSS feed. Well I wanted to know how do you add the RSS feed to my site. Just like a RSS reader reads the RSS file can html or javascript do the same.

Pls. Help
Thanks in advance

eurotrash




msg:1541586
 3:56 am on Nov 22, 2004 (gmt 0)

If you don't know how to do it yourself then you can get a programmer who could do it for you.

Alternatively, check out Feed2JS which is a rather simple technology that allows you, the humble web page designer, to have this content displayed in your own web page, without having to know a lick about XML!

More info can be found at [jade.mcli.dist.maricopa.edu...]

Good Luck.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved