No Images on RSS Feed
Permalink 1 user found helpful
Can anyone tell me why, when I use the following code in the RSS block, no images show up?
http://feed.zazzle.com/strk3/rss?ps=20&pg=2&isz=small...
Thank you for any helps or tips you can offer.
http://feed.zazzle.com/strk3/rss?ps=20&pg=2&isz=small...
Thank you for any helps or tips you can offer.
Thank you very much for the reply! It looks a LOT like what I would want to accomplish, but beyond my website abilities -- which is why I'm probably using a CMS like Concrete5 in the first place. :)
I'm going to keep it handy though and see if I can get it working somehow. Maybe after I have a little more experience.
Thanks again for taking the time to reply!
I'm going to keep it handy though and see if I can get it working somehow. Maybe after I have a little more experience.
Thanks again for taking the time to reply!
Hi There
I am trying to get your templates to work on my C5 site but it isn't working. Please can you help me out. I need my WordPress post images to display in my C5 RSS feed.
I am using C5 version 5.8.0.3
I am trying to get your templates to work on my C5 site but it isn't working. Please can you help me out. I need my WordPress post images to display in my C5 RSS feed.
I am using C5 version 5.8.0.3
Hi Jack,
Those templates were built for legacy concrete5 < 5.7
Although I haven't looked at that code in quite some time I am not the least bit surprised that it doesn't work on 5.7+
Those templates were built for legacy concrete5 < 5.7
Although I haven't looked at that code in quite some time I am not the least bit surprised that it doesn't work on 5.7+
Thanks for getting back to me.
I have got it working by changing get_title to getTitle along with all the others. For some reason the images are still not showing up.
this is the feed XML:http://www.sapphiresystems.com/blog/en-gb/feed/...
I have attached the updated view.php
If you get some free some could you take a look and see what i am missing. I am new to PHP and still learning.
Thanks
Jack
I have got it working by changing get_title to getTitle along with all the others. For some reason the images are still not showing up.
this is the feed XML:http://www.sapphiresystems.com/blog/en-gb/feed/...
I have attached the updated view.php
If you get some free some could you take a look and see what i am missing. I am new to PHP and still learning.
Thanks
Jack
Hi Jack,
You are never assigning anything to $img - so you are getting <img src="" />
Try these two attached files. They are untested, but should get you close. They were copied from v8 concrete/blocks/rss_displayer/view.* and then modified (this is how you are supposed to do it).
Copy view.php and view .css to application/blocks/rss_displayer/templates/show_images/
Select the Show Images custom template on the RSS block. Let me know how it goes,
John
You are never assigning anything to $img - so you are getting <img src="" />
Try these two attached files. They are untested, but should get you close. They were copied from v8 concrete/blocks/rss_displayer/view.* and then modified (this is how you are supposed to do it).
Copy view.php and view .css to application/blocks/rss_displayer/templates/show_images/
Select the Show Images custom template on the RSS block. Let me know how it goes,
John
Works perfectly
Thank you so much for your help. You have been great.I really appreciate your help.
Thanks
Jack
Thank you so much for your help. You have been great.I really appreciate your help.
Thanks
Jack
You are totally welcome Jack.
Maybe you could share the page where you got it working?
Thanks, John
Maybe you could share the page where you got it working?
Thanks, John
To follow-up on your discussion:
I took your code and modified it after searching around for some similar solutions to the RSS Displayer.
The code will float the image from CDATA to the left of the title, date, and description.
Upload this code to the view.css data and use the view.php from jasteele12. Follow his directions otherwise to make a custom template for the RSS Displayer.
It might not be perfect, but it is working well on initial testing.
Thanks for the foundation jasteele12!
I took your code and modified it after searching around for some similar solutions to the RSS Displayer.
/* application/blocks/rss_displayer/templates/show_images/view.css */ .ccm-block-rss-displayer-item { padding-left: 130px; position:relative; min-height: 100px; margin-bottom:16px; } .ccm-block-rss-displayer-item-title { font-weight:bold; clear:right; } .ccm-block-rss-displayer-item-date { color:#999; } /*.rssItemImage { text-align:center; margin-left:auto; margin-right:auto; }*/ .rssItemImage img { position:absolute;
Viewing 15 lines of 22 lines. View entire code block.
The code will float the image from CDATA to the left of the title, date, and description.
Upload this code to the view.css data and use the view.php from jasteele12. Follow his directions otherwise to make a custom template for the RSS Displayer.
It might not be perfect, but it is working well on initial testing.
Thanks for the foundation jasteele12!
Hi Jack,
Thanks for sharing this template. This was just what I was looking for.
Working perfectly.
Thanks for sharing this template. This was just what I was looking for.
Working perfectly.
You can see it in action here, using the Image Thumbnail template:
http://c5dev.webashland.com/test/zazzle/...
Be sure to read and follow the directions carefully.
Feel free to share any improvements you may make.
John