Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (isaac), 65 guests, and 393 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
TGCsanderson
TGCsanderson
Hackelton U.K.
Posts: 67
Joined: September 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 16
FREAK 11
M4TT 11
Ruben 6
mmkk 5
isaac 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Whitelines in xml generated files #256511
02/17/15 09:48 AM
02/17/15 09:48 AM
Joined: Jul 2006
Posts: 7
Marcel Offline OP
stranger
Marcel  Offline OP
stranger
Joined: Jul 2006
Posts: 7
After the upgrade from 7.5.8 to 7.5.9 we have noticed that the Multi forum RSS xml files (i.e global_rssxx.xml)
are generated in a different way.
7.5.8 version: First line: <?xml version="1.0" encoding="ISO-8859-1" ?>

7.5.9 version: First line is an empty line!
Second line: <?xml version="1.0" encoding="utf-8" ?>

Because of the first EMPTY line our rss feeds for the new topics an post don't show up any more (see www.aquaforum.nl)
When we delete the first empty line bij hand from the generated _rss.xml files, the new topics an post suddenly shows up, but of course after UBB generates the new xml files again, the same problem persists.

Is there a workaround for this "bug"??

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Whitelines in xml generated files [Re: Marcel] #256512
02/17/15 10:26 AM
02/17/15 10:26 AM
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
The template cleanup (if you look at them, they've all changed) resulted in the extra line added to your templates/default/rss_xml.tpl (oddly, we both discovered and fixed this last night when working on CP changes); simply remove the line above the xml version and clear your cache from the CP.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Whitelines in xml generated files [Re: Gizmo] #256513
02/17/15 10:37 AM
02/17/15 10:37 AM
Joined: Jul 2006
Posts: 7
Marcel Offline OP
stranger
Marcel  Offline OP
stranger
Joined: Jul 2006
Posts: 7
Thx Gizmo! Problem solved! Happy me....and 21.000 active members...:-))

Re: Whitelines in xml generated files [Re: Marcel] #256514
02/17/15 11:18 AM
02/17/15 11:18 AM
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
This issue is fixed in the stock version for an upcoming build (along with quite a bit more having been done).

Though, I do find it kind of funny that an additional empty line in a feed can break like 90% of feed readers out there, you would think that they'd build in some kind of filter to ensure something like that wouldn't really be an issue.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Whitelines in xml generated files [Re: Marcel] #256515
02/17/15 05:39 PM
02/17/15 05:39 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
For anyone else reading this thread, the fix is simple and involves removing only a single blank line. Line 6.

In templates/default/myfeeds.tpl
Find at the very top:
Code
*}

{if $show}


Replace with:
Code
*}
{if $show}



In templates/default/rss_xml.tpl
Find at the very top:
Code
*}

<?xml version="1.0" encoding="utf-8" ?>


Replace with:
Code
*}
<?xml version="1.0" encoding="utf-8" ?>


To any site owners who use the inbuilt RSS features, sorry for the bug I introduced to 7.5.9. I'm glad the fix is simple though. As gizmo mentioned, its been fixed in the upcoming UBB.threads release. I spent a few hours last night researching why this happens, and all I was ever able to find was, "it just does." lol

Re: Whitelines in xml generated files [Re: isaac] #258960
01/20/17 09:12 PM
01/20/17 09:12 PM
Joined: Mar 2007
Posts: 209
E
ECNet Offline
enthusiast
ECNet  Offline
enthusiast
E
Joined: Mar 2007
Posts: 209
grin

Solved my problem!

Bill


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,536
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)