RSS - another one!

This is a discussion on RSS - another one! within the v3.1 Suggestions and Feedback forums, part of the v3.1 Legacy Help & Support category; Carrying on the RSS theme, I am getting a feed done for the home page of my site and would ...


Go Back   68 Classifieds Forums > v3.1 Legacy Help & Support > v3.1 Suggestions and Feedback

 
LinkBack Thread Tools Display Modes
  #1  
Old 02-13-2008, 07:01 AM
calaf6's Avatar
Senior Member
 
Join Date: Mar 2006
Location: UK
Posts: 333
Rep Power: 18
Default RSS - another one!

Carrying on the RSS theme, I am getting a feed done for the home page of my site and would like to show fratured adverts only, and have them with pictures.

I can get the title and description to show but I'm having a problem with the pictures and just getting features ones.

Could someone please let me know in idiot proof language how I can get it to show. I have the site set up with a separate homepage and the classifieds in their own folder.

Thanks

Reply With Quote
  #2  
Old 02-13-2008, 11:24 AM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,323
Rep Power: 99
Default

For v3.1 I believe you will need a mod. Here is one Chaslie made:
RSS feed
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
  #3  
Old 02-14-2008, 11:28 AM
Moderator
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,132
Rep Power: 57
Default

I can't remember if the default external.php has the images built in. There should be a few threads with the code for images.

Instead of placing the image inside of its own tag, it seems to work better if you add it into the description.

PHP Code:
$imageFile 'path/to/image.jpg';
$image '<img src="' $imageFile '" style="padding:5px;border:0" />';//done inside the listing loop while($rs=$results->fetch()) {}
echo "<description><![CDATA[" $image $description "]]></description>/r/n"
__________________
Regards,

John


�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
  #4  
Old 02-19-2008, 07:16 AM
calaf6's Avatar
Senior Member
 
Join Date: Mar 2006
Location: UK
Posts: 333
Rep Power: 18
Default

Thanks a lot, I'm going to give this one a try now the home page is up and working!
Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:38 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22