Page 1 of 1

RSS Layout rss.php

Posted: Tue 14. Feb 2006, 10:28
by gstar
Hi,

i try to edit the rss.php file to change the output but can't find where to modify it correctly.

I want to write at the be beginning of the feed a <title> a <description> for the whole site an an <image>.

Also i don't want to display the <description> and <dc:creator> of each article but just the <title> and <link> and i want to write the title of the page before eacht title of the article, actually there ist just a "-".

Can anybody help me?

thanks
gstar

Posted: Tue 14. Feb 2006, 13:18
by velo
U change the title of the feed in config/phpwcms/conf.rss.inc.php

velo

Posted: Tue 14. Feb 2006, 13:59
by gstar
And how?? My onfig/phpwcms/conf.rss.inc.php is completely empty... and where to change the rest of the file??

Thanks
gstar

Posted: Wed 15. Feb 2006, 03:43
by DeXXus
Maybe
"include/inc_ext/rsswriter/rss10.inc.php"
and/or
"phpwcms_template/inc_cntpart/rssfeed/default.html"

Posted: Wed 15. Feb 2006, 09:44
by gstar
Hi,

thanks for the idea. Already tried those. rss10.inc.php contains only functions so there a no variables like {title} to change and the default.html does only output variables and i don't wanna change them hard coded but somwhere in the variable declaration so that doesn't really solve the problem but thank you anyway.

gstar

Posted: Wed 15. Feb 2006, 16:59
by DeXXus
Maybe studying the RSS functionality in "include/inc_front/front.func.inc.php" and the example usage in "/phpwcms_code_snippets/xml_a.php" would spawn an idea?

Posted: Thu 16. Feb 2006, 13:08
by gstar
hi,
thanks for the hints. i studied them both but still can't find a solution where to change the output. there must be something like a default style outout?! do somebody use the rss functionality with rss.php and how and where did you change the parameters for image, title, and description????

thanks,
gstar

Posted: Tue 21. Feb 2006, 22:56
by simulacra
As far as I can see, the only way is to edit rss.php

Posted: Tue 21. Feb 2006, 23:54
by gstar
for me as well this seems to be the only way but how? i couldn't really find the places where to change the title, description and image.

Posted: Wed 22. Feb 2006, 00:49
by simulacra
I am not a php coder, so I really don't know.

Posted: Tue 7. Mar 2006, 21:23
by axelko
Edit the \phpwcms_template\inc_cntpart\rssfeed\default.html and you can change the look.

Posted: Tue 7. Mar 2006, 22:03
by DeXXus
DeXXus wrote:Maybe
"include/inc_ext/rsswriter/rss10.inc.php"
and/or
"phpwcms_template/inc_cntpart/rssfeed/default.html"