FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 Images View next topic
View previous topic
Post new topicReply to topic
Author Message
doylegoss



Joined: 25 Apr 2008
Posts: 2

PostPosted: Fri Apr 25, 2008 6:56 pm Reply with quoteBack to top

I am wanting to add images in my RSS feed. I have used the <image> tag with no errors nothing is displaying. any suggestions

<item>
<title>~~~item_name~~~</title>
<link>http://www.kosymall.com/greencart/product_details.php?item_id=~~~item_id~~~</link>
<image>http://www.kosymall.com/greencart/~~~small_image~~~</image>
<description>~~~short_description~~~</description>
<pubDate>~~~RSSDATE(ItemPubDate_t)~~~</pubDate>
</item>
View user's profile
MacSupport



Joined: 24 Feb 2005
Posts: 2805

PostPosted: Sat Apr 26, 2008 8:17 am Reply with quoteBack to top

doylegoss wrote:
I am wanting to add images in my RSS feed. I have used the <image> tag with no errors nothing is displaying. any suggestions

<item>
<title>~~~item_name~~~</title>
<link>http://www.kosymall.com/greencart/product_details.php?item_id=~~~item_id~~~</link>
<image>http://www.kosymall.com/greencart/~~~small_image~~~</image>
<description>~~~short_description~~~</description>
<pubDate>~~~RSSDATE(ItemPubDate_t)~~~</pubDate>
</item>


That is not valid RSS 2.0, it only allows an image for the whole feed. People that have images in their feed items put them in the description as HTML

Jim

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
support@FeedForAll.com
View user's profileVisit poster's website
doylegoss



Joined: 25 Apr 2008
Posts: 2

PostPosted: Sat Apr 26, 2008 11:49 am Reply with quoteBack to top

Thanks Jim, Can you lead me in the correct way to insert the html? i tried using the constant and variable

<description> <img src=http://XXXXXX/~~~image~~~ ~~~description~~~> </description>
View user's profile
MacSupport



Joined: 24 Feb 2005
Posts: 2805

PostPosted: Sat May 03, 2008 8:39 am Reply with quoteBack to top

doylegoss wrote:
Thanks Jim, Can you lead me in the correct way to insert the html? i tried using the constant and variable

<description> <img src=http://XXXXXX/~~~image~~~ ~~~description~~~> </description>


First step is to use proper HTML. Here is a good page on the <img> tag, http://www.w3schools.com/html/html_images.asp .

Then you need to encode any special characters:
< = &lt;
> = &gt;
& = &amp;

So you want something more like:

<description>&lt;img src="http://XXXX/~~~image~~~" /&gt;~~~description~~~</description>

Jim

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
support@FeedForAll.com
View user's profileVisit poster's website
markmatt



Joined: 17 Mar 2011
Posts: 2

PostPosted: Tue Oct 04, 2011 4:20 pm Reply with quoteBack to top

I think you can use this ..or else you can directly upload the file.
View user's profile
ObeseTuber



Joined: 06 May 2016
Posts: 1
Location: India

PostPosted: Fri May 06, 2016 4:42 pm Reply with quoteBack to top

you can create feed form rss feeding websites . all are used from apis[/code]

_________________
https://www.thedappertie.com/
View user's profileSend e-mailVisit poster's website
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme