Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-10 00:35:14

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

gbp_permanent_links Help

Hi, I’m using this plug-in and I’m having an issue! One of my rules is setup like this: /section/feed/
When I look at my feed the URL generated is domain.com/section/rss/rss/ it adds /rss/ twice? Anyone know why? :/

Also I have noticed that say I go to a section that all the RSS feeds change to that section :S
So for example I will get this:

<link rel="alternate" type="application/rss+xml" title="Blog Feed" href="http://driz.co.uk/blog/rss/rss/" />
<link rel="alternate" type="application/rss+xml" title="Portfolio Feed" href="http://driz.co.uk/blog/rss/rss/" />
<link rel="alternate" type="application/rss+xml" title="Notes Feed" href="http://driz.co.uk/blog/rss/rss/" />

This is my code for the feeds:

<txp:feed_link flavor="rss" format="link" section="blog" title="Blog Feed" />
<txp:feed_link flavor="rss" format="link" section="portfolio" title="Portfolio Feed" />
<txp:feed_link flavor="rss" format="link" section="notes" title="Notes Feed" />

Last edited by driz (2009-04-10 01:12:22)


~ Cameron

Offline

#2 2009-04-10 12:29:27

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: gbp_permanent_links Help

I’ve put the plug-in into debug mode @ driz.co.uk so hopefully that will help?


~ Cameron

Offline

#3 2009-04-10 13:36:21

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links Help

driz wrote:

Hi, I’m using this plug-in and I’m having an issue! One of my rules is setup like this: /section/feed/
When I look at my feed the URL generated is domain.com/section/rss/rss/ it adds /rss/ twice? Anyone know why? :/

The new version should fix this problem

Offline

#4 2009-04-10 13:47:01

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: gbp_permanent_links Help

Whoah the update just killed my site and I get this error:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /nfs/c03/h02/mnt/52704/domains/driz.co.uk/html/textpattern/lib/txplib_misc.php(570) : eval()'d code on line 1906

Parse error: syntax error, unexpected $end in /nfs/c03/h02/mnt/52704/domains/driz.co.uk/html/textpattern/lib/txplib_misc.php(570) : eval()'d code on line 1906
The above errors were caused by the plugin:gbp_permanent_links

~ Cameron

Offline

#5 2009-04-10 13:52:28

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links Help

Did it install correctly? If not try the compressed version

Offline

#6 2009-04-10 13:52:29

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: gbp_permanent_links Help

Installing the Minified version worked! And it also fixed the double /rss/rss/ problem.

BUT

When visiting a section for example http://driz.co.uk/blog/ all the RSS feeds still change to /blog/rss/ even the ones for Portfolio and Notes! So the plugin is still breaking the feed links when on sections :S ?

Last edited by driz (2009-04-10 14:08:03)


~ Cameron

Offline

#7 2009-04-10 14:23:10

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: gbp_permanent_links Help

driz : http://forum.textpattern.com/viewtopic.php?id=18918

Try not to start another thread when one already exists.

Offline

#8 2009-04-10 14:35:33

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links Help

driz wrote:

When visiting a section for example http://driz.co.uk/blog/ all the RSS feeds still change to /blog/rss/ even the ones for Portfolio and Notes! So the plugin is still breaking the feed links when on sections :S ?

Please try gbp_permanent_links v0.14 patch 4 (Minified)

Offline

#9 2009-04-10 14:43:55

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: gbp_permanent_links Help

AWESOME! Well done, that has fixed the problem! What did you change? What was causing the issue? Thanks


~ Cameron

Offline

#10 2009-04-10 18:06:33

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: gbp_permanent_links Help

TheEric wrote:

driz : http://forum.textpattern.com/viewtopic.php?id=18918

Try not to start another thread when one already exists.

driz, please take notice of requests like this, and please post in the plugin thread next time…

Offline

Board footer

Powered by FluxBB