Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (Dunny, id242, KuKuKaChu, FordDoctor), 54 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/13/08
Posts: 596
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 14
SteveS 14
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#188658 - 06/25/07 09:58 AM W3c html errors on UBB forum links
mag Offline

journeyman
Registered: 07/16/06
Posts: 63
I am trying to lessen the errors shown by W3C validation on my backup-copy of the html homepage. I know I cannot remove all of them.
I have a UBB 7.1.1 forum.
I post news from the forum on my homepage by linking to specific forum threads.

I get these warnings and errors on W3c validation:
 Quote:
Warning Line 129 column 86: cannot generate system identifier for general entity "Number".
...om/forum/ubbthreads.php?ubb=showflat&Number=163506">


 Quote:
Error Line 129 column 86: general entity "Number" not defined and no default entity.
...om/forum/ubbthreads.php?ubb=showflat&Number=163506">


 Quote:
Error Line 129 column 92: reference to entity "Number" for which no system identifier could be generated.
...um/ubbthreads.php?ubb=showflat&Number=163506">


How can I correct these?
Thanks.


Edited by mag (06/25/07 10:06 AM)
Top
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."
#188706 - 06/25/07 07:23 PM Re: W3c html errors on UBB forum links [Re: mag]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
I'm pretty sure that first error and second error are because & isn't written as &

As for the third, i think it's also due to the & before Number.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#189103 - 06/28/07 09:05 AM Re: W3c html errors on UBB forum links [Re: Gizmo]
mag Offline

journeyman
Registered: 07/16/06
Posts: 63
Thank you very much, Gizmo. It is appreciated.
Top
#189138 - 06/28/07 04:23 PM Re: W3c html errors on UBB forum links [Re: Gizmo]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
Loc: Breda, NL
The &'s are a bugger that are a bit difficult to fix.

I also spend some time making everything more xhtml w3c ok this week. Afer we upgrade to 7.2 I want to continue with fresh original templates.
_________________________
Top
#189140 - 06/28/07 04:52 PM Re: W3c html errors on UBB forum links [Re: Yarp™]
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
Turning on spider-friendly urls will at least hide those ampersand errors \:\)
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#189181 - 06/28/07 08:06 PM Re: W3c html errors on UBB forum links [Re: AllenAyres]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
So what is the root cause of them and why can't the core code of UBBT be altered to use a more Web friendly alternate?
Top
#189188 - 06/28/07 08:40 PM Re: W3c html errors on UBB forum links [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
hardcoded structure; and it's not like it can't be updated, but theres a lot of areas to update
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#189204 - 06/29/07 12:01 AM Re: W3c html errors on UBB forum links [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
 Originally Posted By: Gizmo
hardcoded structure; and it's not like it can't be updated, but theres a lot of areas to update


Well if that's the case then maybe time for some RegEx hehe
Top
#189373 - 06/30/07 04:24 PM Re: W3c html errors on UBB forum links [Re: ntdoc]
Ian Spence Offline
Registered: 06/04/06
Posts: 255
7.3 should have far less validation errors. I went through every public template fixing the issues, and I got in a url function that assures no link will ever be invalid again. The only thing we can't guarantee will validate are the posts made by users
Top
#189408 - 06/30/07 07:35 PM Re: W3c html errors on UBB forum links [Re: Ian Spence]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
assuming the posts are run through htmlspecialchars, a lot of the content should be pushed out as valid as possible

Great work on all of the validation though Ian; I know a lot of site owners who'll bow at your feet for that \:\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#189443 - 06/30/07 08:25 PM Re: W3c html errors on UBB forum links [Re: Gizmo]
Ian Spence Offline
Registered: 06/04/06
Posts: 255
Oh, that stuff gets pumped out as valid, unforunately we can't expect users to understand proper nesting.


[b][i]Test[/b][/i] results in a validation error . It's the same for every other forum software, as we'd require a complex token tree to even come close to compensating for that stuff. I know CC had that before, but the code never got checked in.

That and the issue with people doing

[i][quote]test[/quote][/i], putting block level elements inside of inline elements.
Top
#189458 - 06/30/07 10:51 PM Re: W3c html errors on UBB forum links [Re: Ian Spence]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Ahh yes, nesting could be a problem indeed... At least those are miniscule compared to larger problems that you fixed with validity ;\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181707 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image