Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-17 02:37:42

acebal
New Member
Registered: 2007-01-17
Posts: 6

Feeds and permalinks

Hello,

I’m a new user of TextPattern. After several weeks playing with it I’ve managed to have a little blog, but I’ve found a problem with the feeds (both Atom and RSS).

I’m using the mode year/month/day/title for my posts, and everything is OK in the site itself, but the title of the articles in the feeds points to /section/title, so I get 404 errors when I try to follow these links.

Does anyone knows what is the problem?

Thank you very much in advance.

Offline

#2 2007-01-17 04:29:53

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Feeds and permalinks

Works fine for me with year/month/day/title permlinks.


Alex

Offline

#3 2007-01-17 16:58:05

acebal
New Member
Registered: 2007-01-17
Posts: 6

Re: Feeds and permalinks

Hmm, I’ve realized that the problem occurs when I use the <txp:feed_link> tag.

For example:

<txp:feed_link flavor="rss" format="link" label="RSS" />

This tag is generating the following HTML code:

<link rel="alternate" type="application/rss+xml" title="RSS 0.92" href="http://alcoyanoski.com/rss/" />

Which it isn’t working for me.

But if I write the following HTML:

<link rel="alternate" type="application/rss+xml" title="RSS" href="http://alcoyanoski.com/?rss=1" />

It does work.

Is this right? Must I do it by hand and put url/?rss=1 instead of url/rss/?

Thanks again.

P.S. By the way, the URL of my blog is: http://alcoyanoski.com/ (it is in Spanish, but you can see what is happening with the permalinks of the articles in the feeds).

Offline

#4 2007-01-17 22:01:16

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Feeds and permalinks

Both forms work for me.

Can you post your diagnostics please?


Alex

Offline

#5 2007-01-21 19:49:47

acebal
New Member
Registered: 2007-01-17
Posts: 6

Re: Feeds and permalinks

First, I’m sorry not being able to answer before, zem.

Can you post your diagnostics please?

Of course. Here they are:

Textpattern version: 4.0.4 (r1956)
last_update: 2006-11-26 18:16:13/2006-08-31 15:47:58
Document root: {...}
$path_to_site: {...}
Textpattern path: {...}\textpattern
Permanent link mode: year_month_day_title
upload_tmp_dir: {...}\php\session
Temp folder: {...}\tmp
Site URL: alcoyanoski.com
PHP version: 5.2.0
Server time: 2007-01-21 20:36:36
MySQL: 5.0.27-community-nt
Locale: English_United Kingdom.1252
Server: Apache/2.2.3 (Win32) PHP/5.2.0
Apache version: Apache/2.2.3 (Win32) PHP/5.2.0
PHP mode: apache2handler
rfc2616_headers: 
Operating System: Windows NT 5.2
active_plugins: ako_nav-1.0, rss_unlimited_categories-0.7, rss_auto_excerpt-0.4, rss_suparchive-0.18m, rss_posted-0.1, wet_recent_comments-0.4, upm_file-0.2.2
Pre-flight check: 
------------------------
{...}\textpattern\setup\ still exists
------------------------
.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^(.+) - [PT,L]
  RewriteRule ^(.*) index.php
</IfModule>
#php_value register_globals 0
------------------------

Are you able to see in them anything related to my problem?

Best regards!

César

Offline

#6 2007-01-21 22:02:14

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Feeds and permalinks

Nothing obvious, no. You have some plugins installed, it’s possible one of those is related.


Alex

Offline

#7 2007-01-22 09:16:42

acebal
New Member
Registered: 2007-01-17
Posts: 6

Re: Feeds and permalinks

zem wrote:

You have some plugins installed, it’s possible one of those is related.

You were right. It was due to rss_unlimited_categories plugin. I posted yesterday this issue in the discussion for that plugin and this morning its author had already fixed the problem with a new version. Now, permalinks in feeds are right.

Thank you for your time, zem.

Offline

Board footer

Powered by FluxBB