Jevents rss feed problem-Images not appearing in the feed

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
andrewrv
Joomla! Apprentice
Joomla! Apprentice
Posts: 45
Joined: Wed Apr 15, 2009 10:26 pm

Jevents rss feed problem-Images not appearing in the feed

Postby andrewrv » Sun Sep 13, 2009 2:17 pm

I need to get the Jevents rss feed to include images from the event details.
I can create a feed from the module mod_jevents_latest, everything works except the images are not included in the feed.
This is a great component but I can't find any help on the forum at http://www.jevents.net , I can't register as I never receive a confirmation email, and when I search for feed images or rss images I get no results.
I also use the The Breast Cancer Awareness RSS Syndicator component which displays images in the feeds it produces. Maybe modifying this is an option.

Joomla: v1.5.6
Jevents: component v1.5.2
Jevents module: mod_jevents_latest v1.5.2

Any help would be greatly appreciated.

regards,
Andrew

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Jevents rss feed problem-Images not appearing in the feed

Postby wlrdq » Sun Sep 13, 2009 4:49 pm

If your site is live, can you post or PM the RSS link so we can see what the issue is?
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Jevents rss feed problem-Images not appearing in the feed

Postby wlrdq » Sun Sep 13, 2009 6:03 pm

I just made the following change and now my images along with HTML formatting are coming through. I don't know if this will cause you other issues, so be sure to test:
.../components/com_jevents/controllers/modlatest.php

Code: Select all

$item_description = JFilterOutput::cleanText( $item_description );

to:

Code: Select all

//$item_description = JFilterOutput::cleanText( $item_description );


This just comments out the line that calls the JFilterOutput cleanText method:
http://api.joomla.org/Joomla-Framework/Filter/JFilterOutput.html#cleanText

Let me know if you run into more issues.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

andrewrv
Joomla! Apprentice
Joomla! Apprentice
Posts: 45
Joined: Wed Apr 15, 2009 10:26 pm

Re: Jevents rss feed problem-Images not appearing in the feed

Postby andrewrv » Sun Sep 13, 2009 6:37 pm

wlrdq wrote:I just made the following change and now my images along with HTML formatting are coming through. I don't know if this will cause you other issues, so be sure to test:
.../components/com_jevents/controllers/modlatest.php

Code: Select all

$item_description = JFilterOutput::cleanText( $item_description );

to:

Code: Select all

//$item_description = JFilterOutput::cleanText( $item_description );


This just comments out the line that calls the JFilterOutput cleanText method:
http://api.joomla.org/Joomla-Framework/Filter/JFilterOutput.html#cleanText

Let me know if you run into more issues.


I tried this, and nothing is displayed in the feed, also I cleared the cache, in Joomla, and Firefox, still nothing showing.
At least I now know what file to look at.

Thanks,
Andrew

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Jevents rss feed problem-Images not appearing in the feed

Postby wlrdq » Sun Sep 13, 2009 6:59 pm

If you view the source of the RSS feed, you can look at the raw HTML. Do you see anything that way when that line is commented out?
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

andrewrv
Joomla! Apprentice
Joomla! Apprentice
Posts: 45
Joined: Wed Apr 15, 2009 10:26 pm

Re: Jevents rss feed problem-Images not appearing in the feed

Postby andrewrv » Sun Sep 13, 2009 8:09 pm

wlrdq wrote:If you view the source of the RSS feed, you can look at the raw HTML. Do you see anything that way when that line is commented out?


Strange, in the raw html with it commented out, the text, and the image are present, yet neither appear when viewed in a browser. All that appears in Firefox is the feed title, and description.

I'll look further, I noticed that hyperlinks within the articles are not working either. (both before and after I commented the code out)

Thanks,
Andrew

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: Jevents rss feed problem-Images not appearing in the feed

Postby wlrdq » Sun Sep 13, 2009 8:37 pm

Here is the XML I get from my test site if it helps:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! 1.5 - Open Source Content Management" -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
   <channel>
      <title>Powered by JEvents!</title>
      <description>JEvents Syndication for Joomla</description>
      <link>http://localhost/joomla_15</link>
      <lastBuildDate>Sun, 13 Sep 2009 20:33:24 +0000</lastBuildDate>
      <generator>Joomla! 1.5 - Open Source Content Management</generator>
      <image>
         <url>http://localhost/joomla_15/components/com_jevents/images/logo.gif</url>
         <title>Powered by JEvents!</title>
         <link>http://localhost/joomla_15/</link>
         <description><![CDATA[JEvents Syndication for Joomla]]></description>
      </image>
      <language>en-gb</language>
      <item>
         <title>13 Sep 2009 08:00 : JEvents Title Here</title>
         <link>http://localhost/joomla_15/index.php?option=com_jevents&amp;task=icalrepeat.detail&amp;evid=1&amp;Itemid=65&amp;year=2009&amp;month=09&amp;day=13&amp;uid=c9088425be77fe76b3ba68a5d15e3169</link>
         <guid>http://localhost/joomla_15/index.php?option=com_jevents&amp;task=icalrepeat.detail&amp;evid=1&amp;Itemid=65&amp;year=2009&amp;month=09&amp;day=13&amp;uid=c9088425be77fe76b3ba68a5d15e3169</guid>
         <description><![CDATA[<p>Here is the content.</p>

<p> </p>
<p><img src="http://localhost/joomla_15/administrator/components/com_jevents/assets/images/logo.gif" border="0" width="253" height="49" /></p>
<p>Middle.</p>
<p><img src="http://localhost/joomla_15/administrator/components/com_jevents/assets/images/logo.gif" border="0" /></p>
<p>You keep for your correction.</p>]]></description>
         <category>Default</category>
         <pubDate>Sun, 13 Sep 2009 20:33:24 +0000</pubDate>
      </item>
   </channel>

</rss>


Can you try adding an event with a very simple description and see if that one shows up?

Let me know what you find.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.


Return to “Extensions for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 11 guests