Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,630 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,070 people online right now. Registration is fast and FREE... Join Now!




rss w/ images

 
Reply to this topicStart new topic

rss w/ images

capty99
post 6 Mar, 2006 - 08:35 AM
Post #1


the real kya

Group Icon
Joined: 26 Apr, 2001
Posts: 9,137



Thanked 15 times

Dream Kudos: 550
My Contributions


so ,
can ya do an rss feed with images,

so if someone had set up a news site,
i could have a site calling all those links + their pictures
so just a page of links doesnt look so blank and has a graphic for it?
User is offlineProfile CardPM

Go to the top of the page

Jhin
post 6 Mar, 2006 - 10:11 AM
Post #2


D.I.C Head

Group Icon
Joined: 6 Jul, 2005
Posts: 215



Dream Kudos: 120
My Contributions


It looks like in RSS 2.0 there is the ability to have images with the RSS feed..

RSS 2.0 Specification: Optional Channel Elements

QUOTE
<image> sub-element of <channel>
<image> is an optional sub-element of <channel>, which contains three required and three optional sub-elements.

<url> is the URL of a GIF, JPEG or PNG image that represents the channel.

<title> describes the image, it's used in the ALT attribute of the HTML <img> tag when the channel is rendered in HTML.

<link> is the URL of the site, when the channel is rendered, the image is a link to the site. (Note, in practice the image <title> and <link> should have the same value as the channel's <title> and <link>.

Optional elements include <width> and <height>, numbers, indicating the width and height of the image in pixels. <description> contains text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.

Maximum value for width is 144, default value is 88.

Maximum value for height is 400, default value is 31.


Listing 1 is an example of an RSS 2.0 file. Notice that the channel is contained within <rss version="2.0">. This very basic example shows how items and images are contained within the channel. The elements shown are the most commonly used channel sub-elements.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 03:57AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month