Page 1 of 1

Problem using plugin_remoterss.tpl

Posted: Sun Feb 01, 2009 9:48 pm
by T
Hello,

I'm having a weird problem using the plugin_remoterss template file. Whenever I turn Smarty templates on, the RSS-feed shows up properly, but all items are linked to the current page (the static url of the entry).

I have tried using the default, unedited template, but the problem persists. The only way to get the links working is to turn of the templates, but than things don't look so nice...

What am I doing wrong?

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 10:17 am
by garvinhicking
Hi!

You are using Serendipity 1.4.1?

Regards,
Garvin

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 1:21 pm
by T
No, 1.3.1. Should I upgrade?

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 2:10 pm
by garvinhicking
T wrote:No, 1.3.1. Should I upgrade?
Yes :)

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 3:01 pm
by T
Well, I just did, no problem in upgrading, but still the same problem...

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 3:17 pm
by garvinhicking
Hi!

Caching might still be in effect; either reduce the caching time (should be configurable in the plugin) or remove the files in templates_c/.

Regards,
Garvin

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 4:01 pm
by T
Thanks for your help so far. Refresh time was already set to 1 sec. After clearing both templates_c and my browsers' cache, I still keep having the same problem...

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 4:16 pm
by garvinhicking
Hi!

What's the URL?

Regards,
Garvin

Re: Problem using plugin_remoterss.tpl

Posted: Mon Feb 02, 2009 4:17 pm
by T

Re: Problem using plugin_remoterss.tpl

Posted: Tue Feb 03, 2009 10:01 am
by garvinhicking
Hi!

Sorry, I should've been more specific; I would need the RSS Feed URL that you put into the RemoteRSS plugin? As I can see on your site, the href is empty, so it seems that the link element might be somehow be messed with...?!

Can you also tell me the exact settings of how you configured the RemoteRSS plugin?

(BTW, very nice page layout you have there!)

Best regards,
Garvin

Re: Problem using plugin_remoterss.tpl

Posted: Tue Feb 03, 2009 12:07 pm
by T
Thanks!

It's a regular YouTube-channel-feed:

http://www.youtube.com/rss/user/exnatur ... videos.rss

As I said, it works fine when the tpl is turned off.

Re: Problem using plugin_remoterss.tpl

Posted: Tue Feb 03, 2009 12:14 pm
by garvinhicking
Hi!

When using the template, you are using the one shiped in /plugins/serendipity_plugin_remoterss/plugin_remoterss.tpl or did you copy that file over into your template directory?

The bugfix applied to s9y 1.4 was done on the first directory; if you copied the .tpl file somewhere else where it might be picked up, that could be the reason why it's still having that bug for you?!

This is the bugfix code: http://svn.berlios.de/viewcvs/serendipi ... 03&r2=2441

Check if your file properly contains the part like on the right side, and not on the left side.

HTH,
Garvin

Re: Problem using plugin_remoterss.tpl

Posted: Tue Feb 03, 2009 12:59 pm
by T
garvinhicking wrote:Hi!
This is the bugfix code: http://svn.berlios.de/viewcvs/serendipi ... 03&r2=2441
That's it! I just copy/pasted the bugfix code into my own tpl, cleared the cache and it now works. However, the target of the links still doesn't work properly: it shows up in the code as

Code: Select all

target="$remoterss_items.target"

Re: Problem using plugin_remoterss.tpl

Posted: Tue Feb 03, 2009 1:08 pm
by garvinhicking
Hi!

Okay, sorry, that's another bug. It needs to have { and } around, so that it reads {$remoterss_items.target} :(

Regards,
Garvin

Re: Problem using plugin_remoterss.tpl

Posted: Tue Feb 03, 2009 1:18 pm
by T
Great! Works like a charm, and at least now it's discovered...

I have another question, regarding the template-chooser, however I guess I'll better start another thread?

Again, many thanks for all your help so far.