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



Joined: 27 Jan 2013
Posts: 5

PostPosted: Sun Jan 27, 2013 2:52 pm Reply with quoteBack to top

I want to pass the image to a php script in which I can resize image.
the rss source publishes large sized images and it makes page loads horrible.

I have reasonable knowledge of php and html.
please help me find the right part in right file to change.

thanks a lot!
View user's profile
bijibuji



Joined: 27 Jan 2013
Posts: 5

PostPosted: Sat Feb 02, 2013 1:11 am Reply with quoteBack to top

Could some of moderators or developers PLEASE help me solve this problem?
I am in an emergency. please help
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2783

PostPosted: Mon Feb 04, 2013 9:31 am Reply with quoteBack to top

Images aren't actually part of the RSS feed file. The RSS feed only contains a link to the image.

You would need to do some some pretty fancy stuff for what you want.

You would need to have rss2html download a copy of the image, resize it, store it on your webserver, and then change the link in the RSS feed to point to the new file on your webserver.

This would also cause copyright problems because you are taking someone else's image, modifying it and re-publishing it.

Not as simple as one would think at first glance.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
bijibuji



Joined: 27 Jan 2013
Posts: 5

PostPosted: Wed Feb 20, 2013 6:49 am Reply with quoteBack to top

Dear Tech Support
Thanks for your sincere response. However I dont think so because as I use this link:
[url]http://www.renewableenergyworld.com/rss/renews.rss[/url]
you would find out that your script gets the images and show them on destination. so there is no just image links but the image itself!

so there woluld be a way to just detect the image and pass it to a resize php script and then show it on the page. please consider testing the rss2html script using feed url above.

thanks
View user's profile
FeedForAll Sales



Joined: 10 Jun 2009
Posts: 252

PostPosted: Thu Feb 21, 2013 7:28 pm Reply with quoteBack to top

I unfortunately don't know of a way to detect the image in the Item's Description and pass it to a resize php script before showing the feed.

The free rss2html.php script automatically converts RSS feeds to HTML on the fly, and does not create any files. The rss2html's template is a standard HTML document with variables inserted where the RSS feeds' data will appear.

If you haven't already, you can download the free rss2html.php script: http://www.feedforall.com/scripts-directory.htm

Video tutorial: http://www.feedforall.com/videos/config-rss2html.htm

_________________
FeedForAll Sales
View user's profileVisit poster's website
AlwaysLearning



Joined: 03 May 2013
Posts: 5

PostPosted: Fri May 03, 2013 10:18 pm Reply with quoteBack to top

Hello, bijibuji.

I also want to create a feed that includes a different image for each item like this one: http://www.renewableenergyworld.com/rss/renews.rss

So, I took a look at their .xml file and found that those item images exist within the item description field. HTML can also be used to define the image size, so no need for a script. Just <img hspace="10" vspace="5" align="left" width="110" src=".jpg" />

Within FeedForAll, you can use the description HTML editor to give your description a little style.

Though the HTML editor in my Mac edition doesn't seem to be working right now.... Might have to contact support...

Anyway, hope this helps.
View user's profile
solarsurfer



Joined: 11 Jun 2013
Posts: 8

PostPosted: Tue Jun 11, 2013 10:42 am Reply with quoteBack to top

Why don't you have a chat with the supplier of the feed and ask em if they would be prepared to supply you with a personal copy of the feed but with smaller images, but to your spec ? That's what i do !
View user's profile
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