Page 1 of 2

kl_rssfeed 1.5 native—support

Posted: Wed Sep 17, 2008 7:44 am
by infograf768
Please use this topic if you have any questions concerning this plugin.

http://extensions.joomla.org/component/ ... Itemid,35/

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 17, 2008 1:50 am
by charlynancy
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

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 17, 2008 10:24 am
by infograf768
Not sure.
Is this feed displaying Ok for you or not:
http://news.google.com/nwshp?hl=en&tab= ... output=rss

More recent first.

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 17, 2008 1:19 pm
by charlynancy
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é.

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 17, 2008 3:53 pm
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 17, 2008 5:52 pm
by charlynancy
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 ;)

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 17, 2008 9:23 pm
by charlynancy
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 :'(

Re: kl_rssfeed 1.5 native—support

Posted: Tue May 05, 2009 7:50 pm
by Robbit
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.

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

Posted: Mon Jun 15, 2009 3:16 pm
by derricklo
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

Re: kl_rssfeed 1.5 native—support

Posted: Mon Jun 15, 2009 3:51 pm
by infograf768
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

Re: kl_rssfeed 1.5 native—support

Posted: Mon Jun 15, 2009 4:40 pm
by derricklo
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 :)

Re: kl_rssfeed 1.5 native—support

Posted: Sun Sep 20, 2009 10:29 pm
by oferme
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

Re: kl_rssfeed 1.5 native—support

Posted: Mon Sep 21, 2009 5:56 am
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Mon Sep 21, 2009 7:42 am
by oferme
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

Re: kl_rssfeed 1.5 native—support

Posted: Tue Sep 22, 2009 6:11 pm
by oferme
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

Re: kl_rssfeed 1.5 native—support

Posted: Wed Sep 23, 2009 7:52 am
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Wed Sep 23, 2009 7:30 pm
by oferme
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 ?

Re: kl_rssfeed 1.5 native—support

Posted: Thu Sep 24, 2009 4:43 am
by dosboy
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?

Re: kl_rssfeed 1.5 native—support

Posted: Sat Oct 31, 2009 8:10 am
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 09, 2009 3:00 pm
by Masako
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>

Re: kl_rssfeed 1.5 native—support

Posted: Mon Nov 09, 2009 3:55 pm
by infograf768
Yep, you did. ;)

Re: kl_rssfeed 1.5 native—support

Posted: Tue Nov 24, 2009 4:18 pm
by webmunki
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.

Re: kl_rssfeed 1.5 native—support

Posted: Wed Nov 25, 2009 6:25 am
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Wed Nov 25, 2009 7:39 pm
by Masako
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

Re: kl_rssfeed 1.5 native—support

Posted: Thu Nov 26, 2009 7:26 am
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Tue Dec 22, 2009 1:07 am
by reza345
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

Re: kl_rssfeed 1.5 native—support

Posted: Thu Dec 24, 2009 12:35 pm
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Thu Dec 24, 2009 3:29 pm
by reza345
I had edit that code. but rss link in title, dont change !

Re: kl_rssfeed 1.5 native—support

Posted: Thu Dec 24, 2009 5:24 pm
by infograf768
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.

Re: kl_rssfeed 1.5 native—support

Posted: Thu Dec 24, 2009 5:54 pm
by reza345
Thanks a lot dear master... it's work.

Thank you very much.

Yours truly