View previous topic :: View next topic |
Author |
Message |
jadeddaisy
Joined: 24 Nov 2002 Posts: 116
|
Posted: Tue Jan 28, 2003 1:49 am Post subject: rss/rdf help |
|
|
This is driving me up the wall -- I can't seem to get my rss, rss2, or rdf files to work properly. It didn't work when I installed b2 a couple of months ago, and then today I decided to sit down and try to fix it.
I went through all my code, went to the CVS and made sure all the related files were the most recent, and then all of the sudden, after tinkering with it for over an hour, it worked!
I should probably have left things well enough alone, but then I went into b2config and changed the following section to 0 instead of 50, just to see what it would do:
Quote: | # length (in words) of excerpts in the RSS feed? 0=unlimited
# note: in b2rss.php, this will be set to 0 if you use encoded HTML
$rss_excerpt_length = 50; |
When I went back to look at the files, they were all broken again. I quickly went back and changed that option back to 50, but that didn't make it work again.
The error I'm getting on b2rss.php is this:
Quote: | The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A semi colon character was expected. Error processing resource 'http://www.jadeddaisy.net/blog/b2rss.php'. Line 18, Position 50
<link>http://www.jadeddaisy.net/blog/?p=443&c=1</link>
-------------------------------------------------^
|
I'm getting similar errors on b2rss2.php and b2rdf.php. You can see them all at http://www.jadeddaisy.net/blog/b2rss.php (or b2rss2 or b2rdf.)
Any ideas? I'm up for anything right about now, I'd really like to get this working.[/code] _________________ ~^Rickie Beth^~
jadeDblog |
|
Back to top |
|
 |
mikelittle
Joined: 11 May 2002 Posts: 376 Location: UK
|
|
Back to top |
|
 |
jadeddaisy
Joined: 24 Nov 2002 Posts: 116
|
Posted: Tue Jan 28, 2003 2:24 am Post subject: |
|
|
Just tried that, nothing's changed...same exact entry, and the validator link you posted gived looks the same, as far as I can tell... _________________ ~^Rickie Beth^~
jadeDblog |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Tue Jan 28, 2003 8:17 am Post subject: |
|
|
what is $blogfilename in b2config.php set to? |
|
Back to top |
|
 |
jadeddaisy
Joined: 24 Nov 2002 Posts: 116
|
Posted: Tue Jan 28, 2003 12:44 pm Post subject: |
|
|
I originally had it as 'index.php' but a few weeks ago I changed it to be blank; $blogfilename = ''; _________________ ~^Rickie Beth^~
jadeDblog |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Tue Jan 28, 2003 4:02 pm Post subject: |
|
|
change it back to index.php |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1019 Location: Oregon
|
Posted: Tue Jan 28, 2003 10:27 pm Post subject: |
|
|
jadeddaisy wrote: | I originally had it as 'index.php' but a few weeks ago I changed it to be blank; $blogfilename = ''; |
I'm curious as to why you set it to be blank. _________________ Michael P. |
|
Back to top |
|
 |
jadeddaisy
Joined: 24 Nov 2002 Posts: 116
|
Posted: Tue Jan 28, 2003 10:45 pm Post subject: |
|
|
I did try changing it back to index.php, and it doesn't work, even in combination with the other suggestion posted earlier.
I left it blank, because I use blogrolling and set b2 to ping weblogs.com. I want it to ping with 'http://jadeddaisy.net/blog' since that's the URL people generally use to link to me. If I set it up with index.php then b2 pings with 'http://www.jadeddaisy.net/blog/index.php' and I don't show up on people's recently updated lists. _________________ ~^Rickie Beth^~
jadeDblog |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1019 Location: Oregon
|
Posted: Tue Jan 28, 2003 10:56 pm Post subject: |
|
|
I don't recommend leaving it empty even if your blog works that way. It's because lots of b2 functions use that variable, and if it's empty, it will cause problems somewhere.
Regarding blogrolling, I believe you can define your URL in Preferences, and the URL you set in there will show up in others' blogroll. _________________ Michael P. |
|
Back to top |
|
 |
jadeddaisy
Joined: 24 Nov 2002 Posts: 116
|
Posted: Tue Jan 28, 2003 11:05 pm Post subject: |
|
|
No, the URL you set in preferences is used by blogrolling internally only. People choose which URL to link to a site with on their own, and if they choose one that's different from what blogrolling has, they won't be able to display the proper updates from the site. I could change my URL in their preferences, but then I would have to email about a million people to change their links, and that doesn't sound like my idea of a good time.
That being, said, I believe that blogrolling also pulls updates from blo.gs, so I'm setting b2 to also ping that site. Since I can define what URL I want to ping with in b2config, hopefully blogrolling will still get the proper updates from my site even if I change the other option back to index.php.
Back to the main issue; I've changed everything everyone's asked me to change, and the rss pages still aren't working.  _________________ ~^Rickie Beth^~
jadeDblog |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1019 Location: Oregon
|
Posted: Tue Jan 28, 2003 11:07 pm Post subject: |
|
|
Don't you use "Blogroll Me" functionality? _________________ Michael P. |
|
Back to top |
|
 |
jadeddaisy
Joined: 24 Nov 2002 Posts: 116
|
Posted: Tue Jan 28, 2003 11:14 pm Post subject: |
|
|
Yes, but I've had my blog up on that URL since December '01 (was using GM for the first 8 months or so) and have only been using blogrolling for a month. _________________ ~^Rickie Beth^~
jadeDblog |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Tue Jan 28, 2003 11:24 pm Post subject: |
|
|
ok the problem is that the proper characters are not being escaped by the call to convert_chars() in get_content_rss().
Why I don't know without looking in your code.
Has it ever worked? |
|
Back to top |
|
 |
jadeddaisy
Joined: 24 Nov 2002 Posts: 116
|
Posted: Wed Jan 29, 2003 12:11 am Post subject: |
|
|
In my first post on this topic I explained that.. It had never worked until yesterday when I was tinkering with it, then I changed that one option and it was broken all over again, even if I change that option back.
If there's any pieces of my code you want me to post, I can do that... _________________ ~^Rickie Beth^~
jadeDblog |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Wed Jan 29, 2003 8:14 am Post subject: |
|
|
If you diff against the cvs code, do you have changes in any of the rss functions or convert_* functions? |
|
Back to top |
|
 |
|