LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2013, 01:44 PM   #1
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 229

Rep: Reputation: Disabled
Manage Custom RSS Feeds; How to incorporate images and text - doable?


good day dear linux-experts and users hello dear community,

Managing Custom RSS Feeds; How to incorporate images and text into a Custom RSS Feed?

is this possible?

well i heard about the feature of incorporating both - text and images into a RSS-FEED.

is this doable - with
a. every feed
b. certain feets

can you show me how to display images from RSS feed?

Which feed-reader should i use ?


say

according to this source of description http://www.w3schools.com/rss/rss_tag_image.asp

we can see that this is supported:


The <image> element allows an image to be displayed when aggregators present a feed.

Tips and Notes

Note: The image must be of type GIF, JPEG or PNG.

Child Elements of <image>

Tag Description


Code:
<description> 	Optional. Specifies the text in the HTML title attribute of the link around the image
<height> 	Optional. Defines the height of the image. Default is 31. Maximum value is 400
<link> 	Required. Defines the hyperlink to the website that offers the channel
<title> 	Required. Defines the text to display if the image could not be shown
<url> 	Required. Specifies the URL to the image
<width> 	Optional.  Defines the width of the image. Default is 88. Maximum value is 144

Example
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
  <title>W3Schools Home Page</title>
  <link>http://www.w3schools.com</link>
  <description>Free web building tutorials</description>
  <image>
    <url>http://www.w3schools.com/images/logo.gif</url>
    <title>W3Schools.com</title>
    <link>http://www.w3schools.com</link>
  </image>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3schools.com/rss</link>
    <description>New RSS tutorial on W3Schools</description>
  </item>
</channel>

</rss>
Guess that it is important that the rss-source offers an image.
without that - it would be impossible to show one...

Last edited by sayhello_to_the_world; 11-19-2013 at 12:47 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Feeds custangro LQ Suggestions & Feedback 2 10-08-2008 02:08 PM
RSS Feeds within enterprise acid_kewpie Linux - Enterprise 3 04-17-2007 02:57 PM
RSS feeds ..?? logicalfuzz LQ Suggestions & Feedback 4 11-02-2005 07:13 PM
RSS Feeds (HELP) webwolf70 Programming 1 02-07-2005 09:08 AM
Rss Feeds essoft478 Programming 1 12-19-2004 12:13 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration