RSS-Syndication help please

Creating and modifying plugins.
Post Reply
Martin-A1
Regular
Posts: 6
Joined: Wed Jun 01, 2005 8:25 pm

RSS-Syndication help please

Post 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.
Martin-A1
Regular
Posts: 6
Joined: Wed Jun 01, 2005 8:25 pm

Post by Martin-A1 »

Glad I'm not alone in not knowing - asking silly questions is so embarrasing.
Oliver
Regular
Posts: 178
Joined: Mon Jan 10, 2005 7:43 pm
Location: Herne, Germany
Contact:

Post 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
Image
Martin-A1
Regular
Posts: 6
Joined: Wed Jun 01, 2005 8:25 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Martin-A1
Regular
Posts: 6
Joined: Wed Jun 01, 2005 8:25 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Martin-A1
Regular
Posts: 6
Joined: Wed Jun 01, 2005 8:25 pm

Post 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.
Martin-A1
Regular
Posts: 6
Joined: Wed Jun 01, 2005 8:25 pm

Post 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!
Post Reply