RSS Syndication

Creating and modifying plugins.
Post Reply
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

RSS Syndication

Post by martoq »

Maybe I am just doing something wrong, but i am trying to RSS 2.0 working to syndicate my blog...well, this is all that gets produced:

http://www.euphoricallyvexed.com/index. ... index.rss2

Am I missing something basic?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS Syndication

Post by garvinhicking »

You seem to have edited some files of Serendipity and introduced obsolete spacing after the closing ?> tag.

When looking at http://www.euphoricallyvexed.com/rss.php?version=2.0 I can see that an extra space is at the top of the file which creates the errors. Look up the files you edited and remove any \r and \n newlines from the end of the file!

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/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Thats weird. The only file i edited was in templates and the authorpic plugin. I will check into it, but I just downloaded the latest beta last night and installed it. Any chance you could point me to where I might wanna look for possible editing?


I just took a quick look and these are the only files I opened in an editor:

serendipity_event_amazonchooser.js~*
serendipity_event_amazonchooser.php~*
serendipity_event_authorpic.php~
info.txt~
style.css~
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Just check your serendipity_event_authorpic.php file - and check that NO additional line endings are in that file. I'm quite sure the error is in that file.

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/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

garvinhicking wrote:Just check your serendipity_event_authorpic.php file - and check that NO additional line endings are in that file. I'm quite sure the error is in that file.

Regards,
Garvin
For grins I just snagged the new version, 1.5. Still have the same problem. Would the CSS cause this?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

The CSS is not the cause, as it does not have PHP tags in it.

This can really only happen if one of your files contains linebreaks after (or before!) the last ?> or first <?php.

How did/do you download the plugin version? If you got it via copy+paste, that may be your error. Just strip all the newlines from the top and the bottom of th efile.

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/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

I used wget and pulled it directly from the link off the cvs download link.

My knowledge of cvs is very limited so i don't know how to pull a specific file from a cvs storage.

Your right though...I just removed the amazon plugin and the authorpic plugin and it pulls fine. Looks like something in the authorpic.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Maybe you can try to download the full plugin bundle here:

http://www.netmirror.org/mirror/serendipity/ and then just extract it and copy the specific plugins over?

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/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Awesome, after wacking both the author plugin and the amazon plugin, it started working like a champ. Got the authorplugin back in and its version 1.01 and thats working, which btw, the plugin update utility doesn't show that theres an update to that plugin. Was curious how that works, should it show that theres an update to that plugin? I don't want to corrupt any data base entries by just swapping out plugin directories.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You can swap out the files without any problem!

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/
G_W
Posts: 3
Joined: Tue Aug 23, 2005 6:35 am
Contact:

Re> RSS Feeds

Post by G_W »

I'm having the same problem -- RSS feed links are wrong and have an extra --> on the page. All I have edited is the template in Mozilla index.tpl along with the .css file. I have checked everything.

I have gone back to the original but still the RSS feeds eliminate the "/index.php?/" ... I'm running 8.4 and it was working great. I eliminated and relaced the plugins.

http://secure.backtou.com/

GW
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Re> RSS Feeds

Post by garvinhicking »

But your RSS feed links on the page work properly?

The extra "-->" comes because you edited the index.tpl file and inserted that somewhere.

Best 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/
Post Reply