RSS Layout rss.php

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
gstar
Posts: 17
Joined: Thu 23. Sep 2004, 15:37
Location: Bonn

RSS Layout rss.php

Post 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
velo
Posts: 38
Joined: Sun 29. May 2005, 14:48

Post by velo »

U change the title of the feed in config/phpwcms/conf.rss.inc.php

velo
gstar
Posts: 17
Joined: Thu 23. Sep 2004, 15:37
Location: Bonn

Post 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
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Maybe
"include/inc_ext/rsswriter/rss10.inc.php"
and/or
"phpwcms_template/inc_cntpart/rssfeed/default.html"
gstar
Posts: 17
Joined: Thu 23. Sep 2004, 15:37
Location: Bonn

Post 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
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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?
gstar
Posts: 17
Joined: Thu 23. Sep 2004, 15:37
Location: Bonn

Post 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
simulacra
Posts: 7
Joined: Mon 28. Feb 2005, 21:40

Post by simulacra »

As far as I can see, the only way is to edit rss.php
gstar
Posts: 17
Joined: Thu 23. Sep 2004, 15:37
Location: Bonn

Post 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.
simulacra
Posts: 7
Joined: Mon 28. Feb 2005, 21:40

Post by simulacra »

I am not a php coder, so I really don't know.
User avatar
axelko
Posts: 138
Joined: Mon 27. Feb 2006, 22:51
Contact:

Post by axelko »

Edit the \phpwcms_template\inc_cntpart\rssfeed\default.html and you can change the look.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

DeXXus wrote:Maybe
"include/inc_ext/rsswriter/rss10.inc.php"
and/or
"phpwcms_template/inc_cntpart/rssfeed/default.html"
Post Reply