Page 1 of 1
Category Plugin XML Feed Names
Posted: Sat Jul 07, 2007 3:02 am
by TimBeam
Hello s9y users,
How can I change the feed names in the category plugin? I get the name "Blog title - category name". But because the blog is only one part of my site I would prefer "xyz - category name". How can I change "xyz" without changing the blog name? I do not want to change the blog name because it is an adequate name for the blog section.
Thanks for helping in advance!
Re: Category Plugin XML Feed Names
Posted: Sun Jul 08, 2007 8:49 pm
by garvinhicking
Hi!
You can edit the feed*.tpl template files to customize which kind of title is displayed in RSS feeds. I think you are talking about that, right?
Regards,
Garvin
Posted: Wed Jul 11, 2007 11:08 pm
by TimBeam
1. Is it correct that it is sufficient to change only the feed*.tpl which I use e.G. feed_2.0.tpl?
2. Is it correct copying the tpl in my template folder?
3. 1. and 2. works but instead of {$metadata.title} I want to have "xyz - category name". Now it is "xyz - blog name - category". Some feeds have only the name "xyz - blogname". Is it a bug?
4. Is there any place holder for the category name which I can use instead of {$metadata.title}?
Posted: Thu Jul 12, 2007 10:03 am
by garvinhicking
Hi!
TimBeam wrote:1. Is it correct that it is sufficient to change only the feed*.tpl which I use e.G. feed_2.0.tpl?
Sure, you only need to change those feed templates of the versions you're using.
2. Is it correct copying the tpl in my template folder?
Yes, that's the better way than modifying the file in the default-folder.
3. 1. and 2. works but instead of {$metadata.title} I want to have "xyz - category name". Now it is "xyz - blog name - category". Some feeds have only the name "xyz - blogname". Is it a bug?
You might need to use:
Code: Select all
<title>{$blogTitle} - {$category_info.category_name}</title>
You can use the variables that are documented here:
http://www.s9y.org/102.html
HTH,
Garvin
Posted: Sat Mar 29, 2008 1:10 pm
by caversham
Hi,
You might need to use:
Code:
<title>{$blogTitle} - {$category_info.category_name}</title>
For whatever reason my freshly installed s9y has already the category name in the title. Now my problem is that I want to change the template used by the categories plugin in another way (including a <description>) but I am unable to find the template that is used.
I already modified the feed_2.0.tpl in the default directory (which BTW does not have the category in the title), but it doesn't work. Copying that tpl file to the template's directory doesn't help either.
I performed a search in the whole s9y directory structure for {$category_info.category_name} but there is no file that contains this.
Very strange. Can you help?
Cheers,
Aaron