Page Index Toggle Pages: 1
Topic Tools
Normal Topic RSS feed broken (Read 2,054 times)
freediver
Senior Member
****
Offline



Posts: 518
RSS feed broken
Dec 17th, 2011 at 5:37am
Post Tools
My RSS feed stopped working when I upgraded from 2.2.1 to 2.5 AE.

http://www.ozpolitic.com/forum/YaBB.pl?action=RSSrecent

I replaced the image associated with the link on the main page (because it was hard to read) but did not change anything else.
  

Founding member of . I recently upgraded from YaBB 2.2.1 to 2.5 AE to 2.5.2.
Back to top
WWW  
IP Logged
 
freediver
Senior Member
****
Offline



Posts: 518
Re: RSS feed broken
Reply #1 - Dec 17th, 2011 at 6:36am
Post Tools
Never mind, got it working.
  

Founding member of . I recently upgraded from YaBB 2.2.1 to 2.5 AE to 2.5.2.
Back to top
WWW  
IP Logged
 
freediver
Senior Member
****
Offline



Posts: 518
Re: RSS feed broken
Reply #2 - Dec 17th, 2011 at 6:43am
Post Tools
Actually, I have another old problem that I never figured out. The RSS feed from the forum to the site homepage shows up differently in IE vs firefox. In firefox, it limits the window height and adds a vertical scrollbar.

See on the top right:

http://www.ozpolitic.com/index.html
  

Founding member of . I recently upgraded from YaBB 2.2.1 to 2.5 AE to 2.5.2.
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,478
Location: Earth

YaBB 2.6.1
Re: RSS feed broken
Reply #3 - Dec 17th, 2011 at 7:12am
Post Tools
It's not a YaBB issue. Make sure that your html (including what you're using to generate the rss feed page in the iframe) has a doctype, and validates to it.

When faced with broken html, every browser has its own way of trying to 'fix' it for you.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
freediver
Senior Member
****
Offline



Posts: 518
Re: RSS feed broken
Reply #4 - Dec 17th, 2011 at 8:03am
Post Tools
Thanks, I'll check it out.
  

Founding member of . I recently upgraded from YaBB 2.2.1 to 2.5 AE to 2.5.2.
Back to top
WWW  
IP Logged
 
freediver
Senior Member
****
Offline



Posts: 518
Re: RSS feed broken
Reply #5 - Dec 17th, 2011 at 12:57pm
Post Tools
I ended up switching from magpie rss to google's new API thing which does it all remotely via javascript. All working now.

I don't have any doctype declarations in my html. How bad is that? I have no idea what version of html I am using. Does this mean I should use HTML 4.01 Frameset, on the grounds that it includes everything? I probably use a lot of deprecated code.

http://www.w3schools.com/tags/tag_doctype.asp

Sorry to get off topic.
  

Founding member of . I recently upgraded from YaBB 2.2.1 to 2.5 AE to 2.5.2.
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,478
Location: Earth

YaBB 2.6.1
Re: RSS feed broken
Reply #6 - Dec 18th, 2011 at 1:08am
Post Tools
Go with a transitional doctype
Without a doctype the browser has to 'guess' what you mean and how to render it. Much of the time it guesses right, but if you tell it what doctype, it has less guessing to do (unless the html is broken, in which case all bets are off.)

Current best practices: doctype, and language encoding. If you were taking this to html5 the top code would be on the order of:
Code (HTML)
Select All
<!DOCTYPE html>
<html lang='en-US'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
 



Code (HTML)
Select All
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> 

allows more characters.

But
Code (HTML)
Select All
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  

is probably the one you want to start with. It's very forgiving.

  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools