Page 1 of 1

RSS-Syndication help please

Posted: Wed Jun 01, 2005 8:55 pm
by Martin-A1
Hi.

Could someone help me please.

In the RSS-Syndication output there is Author and Comments - neither of these are required by me - how do I remove them from the feed?

I have searched through the files and checked on the site but nothing leaps out to me where I edit the output.

Code: Select all

<comments></comments>
<wfw:comment></wfw:comment>
<slash:comments></slash:comments>
<wfw:commentRss></wfw:commentRss>
<author></author>
These are the unwanted sections.

Any help would be appreciated - Thanks.

Posted: Thu Jun 02, 2005 12:52 pm
by Martin-A1
Glad I'm not alone in not knowing - asking silly questions is so embarrasing.

Posted: Thu Jun 02, 2005 2:00 pm
by Oliver
Please have a look at your ./rss.php, I think there you can delete the entries that are creating these tags :)

Regards,

Oliver

Posted: Thu Jun 02, 2005 4:19 pm
by Martin-A1
Thanks Oliver for your reply.

Already gone through this file so many times :shock: I am boggeyed.

Can't work out what does what.

Posted: Thu Jun 02, 2005 6:19 pm
by garvinhicking
The short answer is: You do not want to delete those tags.

They are very helpful for users. Especially I am using the features of those tags often, so I stubbornly refuse to tell you where to remove it. :-)

For example "<author>" is required to get a valid RSS feed. :)

Regards,
Garvin

Posted: Thu Jun 02, 2005 7:06 pm
by Martin-A1
Thanks for your reply Gavin even if you are being over protective.

As I have no comments on my site why should I have a link to nothing?

Even if you think the Author tag is important where can I remove the email address followed by my nick and replace it with something more relevant.

Posted: Thu Jun 02, 2005 8:15 pm
by garvinhicking
You can select to not show Email adresse within the Spamblock plugin. And I think the RSS sidebar plugin also has some directives for that.

If you have no comments on your site, well, then I can live with it. Have a look at include/functions_entries.inc.php, the function serendipity_printEntries_rss() :-)

Regards,
Garvin

Posted: Thu Jun 02, 2005 8:53 pm
by Martin-A1
Thanks.

With regard to the email address showing in Author followed by 'nick' inside () - I have selected 'No' for .... Show E-Mail addresses? in RSS .... also left blank both of these .... Field "managingEditor"
E-Mail address of the managing editor, if available. (empty: hidden) [RSS 2.0] .... Field "webMaster"
E-Mail address of the webmaster, if available. (empty: hidden) [RSS 2.0] .... I have done as you suggested in Spamblock .... however a default [nospam@example.com] email address is placed instead of my email address.

Will look at functions_entries.inc.php to see if I can sort that other problem.

Thanks again.

Posted: Thu Jun 02, 2005 9:44 pm
by Martin-A1
Thanks Garvin I seem to have got everything done with your help.

Probably find 24 hours down the line I have killed something important - the joys of ruining someones hours of hard work!