The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Sep 13, 2009 2:17 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Apr 15, 2009 10:26 pm
Posts: 38
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


Top
 Profile  
 
PostPosted: Sun Sep 13, 2009 4:49 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Thu Jul 24, 2008 12:48 pm
Posts: 2672
Location: Austin, TX
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.


Top
 Profile  
 
PostPosted: Sun Sep 13, 2009 6:03 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Thu Jul 24, 2008 12:48 pm
Posts: 2672
Location: Austin, TX
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:
$item_description = JFilterOutput::cleanText( $item_description );

to:
Code:
//$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.


Top
 Profile  
 
PostPosted: Sun Sep 13, 2009 6:37 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Apr 15, 2009 10:26 pm
Posts: 38
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:
$item_description = JFilterOutput::cleanText( $item_description );

to:
Code:
//$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


Top
 Profile  
 
PostPosted: Sun Sep 13, 2009 6:59 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Thu Jul 24, 2008 12:48 pm
Posts: 2672
Location: Austin, TX
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.


Top
 Profile  
 
PostPosted: Sun Sep 13, 2009 8:09 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Apr 15, 2009 10:26 pm
Posts: 38
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


Top
 Profile  
 
PostPosted: Sun Sep 13, 2009 8:37 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Thu Jul 24, 2008 12:48 pm
Posts: 2672
Location: Austin, TX
Here is the XML I get from my test site if it helps:
Code:
<?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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group