kl_rssfeed 1.5 native—support

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.
User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

kl_rssfeed 1.5 native—support

Postby infograf768 » Wed Sep 17, 2008 7:44 am

Please use this topic if you have any questions concerning this plugin.

http://extensions.joomla.org/component/ ... Itemid,35/
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
charlynancy
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sun Aug 21, 2005 1:45 am
Location: France

Re: kl_rssfeed 1.5 native—support

Postby charlynancy » Mon Nov 17, 2008 1:50 am

Hi Jean marie,
I use your plugin more and more and i just discovered its great scroll function.
I searched to set the ordering of the displaying items of the feeds.
In other word, the items of the RSS are ordered in discending way of their date.
If you use a RSSfeed to display events by date, you need to displayed them by date ascending.
I look at your plugin code, but i can't find the part that ordered the item.
Could you help me about that?
Do you think we could create a new setting that permit to choose if one flux could be sorted by ascending or descending date
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Mon Nov 17, 2008 10:24 am

Not sure.
Is this feed displaying Ok for you or not:
http://news.google.com/nwshp?hl=en&tab= ... output=rss

More recent first.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
charlynancy
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sun Aug 21, 2005 1:45 am
Location: France

Re: kl_rssfeed 1.5 native—support

Postby charlynancy » Mon Nov 17, 2008 1:19 pm

Is this feed displaying Ok for you or not:
http://news.google.com/nwshp?hl=en&tab= ... output=rss
More recent first.

Yes this feed display the more recent first
But if you have a flux that is seted to see the more older first you obtain allways the more recent first

In French (so i am sure to be more clear ;-) )
j'utilise des fluxs que je crée moi même (base XML transformé via XSL)
Lorsque je choisi d'afficher ces flux du plus vieux au plus récent, cela fonctionne via un lecteur de flux, mais lorsque j'affiche ce flux via le plugin, le flux est toujours affiché du plus récent au plus vieux.
je vais t'envoyr par MP l'adresse d'un flux de test que j'ai réalisé; si tu le test via un lecteur RSS et via le plugin tu verras que les ordres sont inversés.
Je pense que cela vient d'un paramètre de Joomla mais je n'arrive pas à trouver le fichier qui gère cela.
A priori, d'autre modules de gestion de flux arrivent à contourner cela mais peut être qu'ils n'utilisent pas les scripts de joomla lors de la lecture du flux.
En ayant de meilleres pistes de recherche dans les codes (traitement des flux par Joomla et par kl_rssfeed), je pourrais peut être trouver le moyen de créer une variable dans le plugin afin d'agir sur le traitement du flux par Joomla (ce qui éviterai de hacker joomla ou le plugin et de proposer une nouvelle fonction dans le plugin)
Je suis un peu dans le vague concernant les processus de traitement des flux via Joomla et le plugin, si tu peux m'orienter à ce sujet, j'essayerai de voir ce qui peut être modifié.
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Mon Nov 17, 2008 3:53 pm

This is an English-speaking forum, so let's speak English :)

In fact, there is a function in simplepie ( the RSS library Joomla uses) which decides of the chronological order. It is set to descending by default.

Code: Select all

function enable_order_by_date($enable = true)
   {
      $this->order_by_date = (bool) $enable;
   }


in libraries/simplepie/simplepie.php
The default is set by the variable:
var $order_by_date = true;

Maybe we could use it.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
charlynancy
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sun Aug 21, 2005 1:45 am
Location: France

Re: kl_rssfeed 1.5 native—support

Postby charlynancy » Mon Nov 17, 2008 5:52 pm

This is an English-speaking forum, so let's speak English :)

Ok i continue with my terrible english ;)
Thank you for the information about : libraries/simplepie/simplepie.php
I will study that file
Maybe we could use it

Maybe is not french ;)
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce

User avatar
charlynancy
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sun Aug 21, 2005 1:45 am
Location: France

Re: kl_rssfeed 1.5 native—support

Postby charlynancy » Mon Nov 17, 2008 9:23 pm

Maybe is not french ;)

That was a joke of course :-[
In fact, i see how we could create a setting about this matter of ordering.
But i can't see how we could enable this setting without hacking the file simplepie.php :'(
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce

Robbit
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue May 05, 2009 7:45 pm

Re: kl_rssfeed 1.5 native—support

Postby Robbit » Tue May 05, 2009 7:50 pm

Hi, mine is not working at all.
It's as if the tags are not read, and the code will just show in the output page.
I know multiple people are experiencing the same problem, but when switching hosts, it works.

I'm not a developer/expert, but I'm looking around the php settings and I noticed:
allow_url_fopen On On
allow_url_include Off Off

should allowurlinclude be on?? or is there other possible settings that need to be enabled in order for this to work.

derricklo
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Fri Sep 23, 2005 2:53 pm

Re: kl_rssfeed 1.5 native—support: Display kl_rssfeed in a Modul

Postby derricklo » Mon Jun 15, 2009 3:16 pm

Hi,

How do you display kl_rssfeed in a Module in J1.5?

kl_rssfeed used to work in a Module in J1.0, with parameter Mambots=Yes. Now it does not work in J1.5?

Thanks!
Derrick
Best Regards,
Derrick

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Mon Jun 15, 2009 3:51 pm

Plugins do not load in modules (Custom html) in 1.5.

The solution is to use a specific module CustomContent, and then load in that module an article containing the plugin calls.

Module is here : http://extensions.joomla.org/extensions ... 75/details
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

derricklo
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Fri Sep 23, 2005 2:53 pm

Re: kl_rssfeed 1.5 native—support

Postby derricklo » Mon Jun 15, 2009 4:40 pm

Hi,

Thanks for the info. It works now, although need one extra step to create the article for each module.

Would be good to include that as a module parameter in the J1.5 core.

Just a few small but powerful plugins change the whole website. Thanks for your useful contributions :)
Best Regards,
Derrick

oferme
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 20, 2009 10:25 pm

Re: kl_rssfeed 1.5 native—support

Postby oferme » Sun Sep 20, 2009 10:29 pm

Hi,
I have loaded the plugin, and i can see that i can align it to the right or left .
Is there is a way that i can align it to the center (middle) ?

thenks in advance,
Ofer

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Mon Sep 21, 2009 5:56 am

The result is displayed in a table with a class you define in the plugin parameters. The class is also available for the ul and li.

You should be able to edit your CSS to obtain what you want.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

oferme
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 20, 2009 10:25 pm

Re: kl_rssfeed 1.5 native—support

Postby oferme » Mon Sep 21, 2009 7:42 am

I am not an expert in CSS (but i can fix small things).
Can you please explain where can i find the CSS file,
and what is ul and li .

thanks
ofer

oferme
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 20, 2009 10:25 pm

Re: kl_rssfeed 1.5 native—support

Postby oferme » Tue Sep 22, 2009 6:11 pm

oferme wrote:I am not an expert in CSS (but i can fix small things).
Can you please explain where can i find the CSS file,
and what is ul and li .

thanks
ofer


Pleas, i need HELP regarding the above.

Ofer

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Wed Sep 23, 2009 7:52 am

I am afraid we can't teach you here the basics of CSS.
There are specialized sites for this.
Look at your page under source and wou will see exactly what are the necessary classes to create in template.css
The extension web developper in Firefox will help you create these classes and check various formatting on the fly.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

oferme
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 20, 2009 10:25 pm

Re: kl_rssfeed 1.5 native—support

Postby oferme » Wed Sep 23, 2009 7:30 pm

OK,
I'm not asking for teaching, only help for directions, what to look for. :(
which you did . ;)

what are (only small explain :-\ ) the ul and li ?

dosboy
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Sep 01, 2009 1:19 am
Location: Phuket, Thailand

Re: kl_rssfeed 1.5 native—support

Postby dosboy » Thu Sep 24, 2009 4:43 am

As per charlynancy above, I too am looking for a way to display the feed from oldest to newest. However, I need this to be incorporated into the parameters rather than doing a core hack, as some feeds need to be oldest to newest whereas others need to be newest to oldest. Is there any way to achieve this?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Sat Oct 31, 2009 8:10 am

dosboy wrote:As per charlynancy above, I too am looking for a way to display the feed from oldest to newest. However, I need this to be incorporated into the parameters rather than doing a core hack, as some feeds need to be oldest to newest whereas others need to be newest to oldest. Is there any way to achieve this?

I am afraid not.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

Masako
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Nov 09, 2009 2:23 pm

Re: kl_rssfeed 1.5 native—support

Postby Masako » Mon Nov 09, 2009 3:00 pm

Hello,

I have one question reagarding the title of each news/information in the particular feed. It looks like somehow there is a dash "-" added before the title. I was trying to look inside the code but I can not find the source of this dash.

For example title looks like this:

— Sądne godziny dla Cadbury

how to make it like this:

Sądne godziny dla Cadbury

Thanks in advance !
Great plugin !



I think I have found it by myself, here it is:

<h4<?php echo $class; ?>><a href="<?php echo $currItem->get_link(); ?>" target="_blank">&mdash;
<?php echo $currItem->get_title(); ?></a></h4>

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Mon Nov 09, 2009 3:55 pm

Yep, you did. ;)
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

webmunki
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Fri Apr 24, 2009 7:42 pm

Re: kl_rssfeed 1.5 native—support

Postby webmunki » Tue Nov 24, 2009 4:18 pm

infograf768, I have incorporated your plugin and am currently utilizing it in a module position using a custom content module. I have modified the kl_rssfeed.php file and my template css to suit my needs.

I am quite pleased with it! I have attached a screenshot of it in my dev environment.

What I would like to do though is have the first item load at the top of the scrollable area rather than scroll up from the bottom.

I also would like to know if you have explored having each item in the feed pause for a few moments before scrolling to the next item?

Thank you for this great plugin.
You do not have the required permissions to view the files attached to this post.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Wed Nov 25, 2009 6:25 am

The scroll functionnality in kl_rssfeed is a simple html one.
See http://www.bbc.co.uk/dna/h2g2/A789942
One can scroll up or down, right or left a specific content through the <marquee> tag.
But one cannot change the order of the rss content.
If you choose to scroll down in the plugin parameters, it will present the last item first.
Nothing can be done concerning that.
Concerning the pause, it is the same issue. The <marquee> tag does not care about the content it scrolls. It has no idea what it is and can't therefore act on it.
Hovering on the content will pause the scrolling.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

Masako
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Nov 09, 2009 2:23 pm

Re: kl_rssfeed 1.5 native—support

Postby Masako » Wed Nov 25, 2009 7:39 pm

Hi,

in some of the RSS feeds there are images files attached to the particular news (many in one feed). Is there any chance to set the plugin up not to show such images ?

Thank you in advance for your answer,
Masako

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Thu Nov 26, 2009 7:26 am

Masako wrote:Hi,

in some of the RSS feeds there are images files attached to the particular news (many in one feed). Is there any chance to set the plugin up not to show such images ?

Thank you in advance for your answer,
Masako

If you have set the class to klrssfeed (default), then adding in your template.css the following could do the trick.
li.klrssfeed img {display:none;} // will prevent images from display for each feed item
.klrssfeed img {display:none;} // will prevent any image from display, including eventual channel image.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
reza345
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Dec 22, 2009 12:58 am

Re: kl_rssfeed 1.5 native—support

Postby reza345 » Tue Dec 22, 2009 1:07 am

Dear master;

I want to remove any link from klrssfeed. In other word, dont show link in rss title.

Please inform me how to insert code for showing BOLD title for per item.

regards

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Thu Dec 24, 2009 12:35 pm

reza345 wrote:I want to remove any link from klrssfeed. In other word, dont show link in rss title.

That can only be done by editing the php file.
line 204, take off the part in bold
<h3<?php echo $class; ?>style="direction: <?php echo $kl_params['rssrtl'] ? 'rtl' :'ltr'; ?>; text-align: <?php echo $kl_params['rssrtl'] ? 'right' :'left'; ?>"><a href="<?php echo str_replace( '&', '&amp', $feed->link ); ?>" target="_blank">
<?php echo $feed->title; ?></a></h3>
Please inform me how to insert code for showing BOLD title for per item.

This is easy when editing the css.
As shown above the tag is h3. If you define a class for the feed, then add a
.name_of_class h3 { }
in your CSS file.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
reza345
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Dec 22, 2009 12:58 am

Re: kl_rssfeed 1.5 native—support

Postby reza345 » Thu Dec 24, 2009 3:29 pm

I had edit that code. but rss link in title, dont change !

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17951
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: kl_rssfeed 1.5 native—support

Postby infograf768 » Thu Dec 24, 2009 5:24 pm

reza345 wrote:I had edit that code. but rss link in title, dont change !

You have also to do it for

<h4<?php echo $class; ?>><a href="<?php echo $currItem->get_link(); ?>" target="_blank">&mdash;
<?php echo $currItem->get_title(); ?></a></h4>

The h3 concerns the title of the rss, the h4 concerns each item.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
reza345
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Dec 22, 2009 12:58 am

Re: kl_rssfeed 1.5 native—support

Postby reza345 » Thu Dec 24, 2009 5:54 pm

Thanks a lot dear master... it's work.

Thank you very much.

Yours truly


Return to “Extensions for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 13 guests