Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Valid HTML? Feature Requests
By slinberg , Section Wishlist []
Posted on Tue Nov 13, 2001 at 12:00:00 PM PST
I'm just wondering, before bringing it to the -dev list, how many people would be interested in a version of Scoop that was really anal about being valid HTML. I may be the only freak out there that would be interested, but I thought I'd ask...

The reason I bring it up is because I'm a big valid-HTML advocate pain-in-the-ass type in some of the circles I move in, and some people who I preach to have written me smug little notes wondering why my Scoop site doesn't validate and isn't Bobby-compliant and so forth. And I go "ouch, that smarts!"

I'm wondering whether a big effort to get Scoop running valid XHTML 1.1 Strict with CSS/1 would be worth it to anybody but me. I'm well aware of how immensely large such an undertaking would be, not just because it's hard and we'd have to re-do all the blocks, but because there are tons of HTML fragments in the code itself, which would all need to be cleaned up - or perhaps moved into blocks and then cleaned up.

It would also be difficult to maintain over time, because it is as much a social issue as a technical one - anybody contributing code to the base would need to be generating valid HTML for output (and be up on what that means), and perhaps be willing to put all output-related code into blocks and supply patches with their code. Additionally, if you accept HTML input in stories and comments, then story- and comment-writers could mess up any given page's validity by writing invalid code - but you can't do anything about that.

I've nearly talked myself out of it here - just wondering if there're any other opinions, interest, or rude, dismissive comments. :)
< scoop and mod_gzip | Ratings in Comment Searches >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Feature Requests
· Also by slinberg

Story Views
  74 Scoop users have viewed this story.

Display: Sort:
Valid HTML? | 28 comments (28 topical, 0 hidden)
There's been talk... (none / 0) (#1)
by hurstdog on Wed Nov 14, 2001 at 09:58:18 AM PST

Abstraction on kuro5hin was talking about doing this a while back, but I haven't heard of any progress. In doing it, the first part that I think would be handy would be getting it CSS complaint.

Regarding CSS, a few things should happen: all font, bgcolor, etc vars and blocks should be replaced. There should be one block called 'css_defs' or somesuch, that will need an extra op. The op should look like http://www.scoopsite.com/css/default.css If its the default css sheet. There should be a block at the top of the page, css_include_block that will just create a link to include the stylesheet using the url above. If there is a certain section, then it should load the css for the block css_defs_<sectionname> if one exists, or just load the default. Then all FONT tags should be converted to SPANs. Course, that won't do a ton for the size of the page, but it will help, not having 'helvetica.....' 100 times on a page will help a lot.

Also, it should look fine if the user has css turned off, so it can't be used for formatting text or layout. Regarding xhtml compliance, I thought we were pretty good. Kuro5hin should be near good, since it stopped allowing P tags. But if you want to clean up the boxes and blocks, go for it.

On a related note, how many browsers support XHTML? Will the ones that don't render the page extremely bad? If this is going to block out a large number of users (like, netscape 4.* users, for example) I don't really want to implement it...



-hurstdog


How about a block specifying allowed tags (none / 0) (#13)
by hillct on Fri Nov 16, 2001 at 08:35:37 AM PST

Along the same lines, it'd be useful to have a block containing a list of all allowed tags, such that administrators can edit the available tags conveniently. Perhaps the block would simply list the allowed tags one per line, or perhaps the lines would be formatted to define the substitutions for ecample:

cite
strong
dt
tt
a
b
li
i
sub
ol
dd
code
p:<br><br>

Where the last example would perform a substitution in the event of encountering that tag, etc. This is going on my TODO list but if somebody beats me to it, so much the better.

--CTH


--
ScoopHost.com - Premier Scoop Hosting and custom development from the lead developers.


It's been done...I have to check CVS before posts (none / 0) (#15)
by hillct on Fri Nov 16, 2001 at 12:39:51 PM PST

I really need to pay more attention before I suggest stuff.... :-)


--
ScoopHost.com - Premier Scoop Hosting and custom development from the lead developers.


What is the status of this? (none / 0) (#25)
by jrincayc on Sun Jul 14, 2002 at 03:11:24 PM PST

Can scoop be used to generate valid HTML?



wow! (none / 0) (#26)
by Tadik on Wed Apr 27, 2016 at 07:10:15 AM PST

wow, great, I was wondering how to cure acne naturally. really inresting article. Thx 192.168.0.1



shareitdownloadapp (none / 0) (#27)
by dina532 on Sat Jun 25, 2016 at 01:19:18 AM PST

good Below you'll look at SHAREit icon, mouse click on it and SHAREit PC Android The software itself can end up being distributed to another system wirelessly. Download SHAREit on PC nice.



Voot (none / 0) (#28)
by mohan124 on Sat Sep 24, 2016 at 02:33:19 AM PST

good After that pick the choice of `free of charge apps' from the section of apps. Download Voot Work with search rod to get the TV Express or Storyline you nice.



Valid HTML? | 28 comments (28 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search