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
Time to clean up the HTML code? Feature Requests
By boxed , Section Code []
Posted on Fri Sep 17, 2004 at 12:00:00 PM PST
The scoop engine is very powerful and flexible but it still uses antique non-valid HTML without CSS which increases the bandwidth costs of the server unneccessarily while making it harder to make skins and making it impossible to use the site from certain devices with small screens.

I propose to clean up the HTML code to XHTML (version 1 transitional, let's not be fanatic here) and CSS. This task may seem daunting at first but there are several steps to this, one of which can be automated easily. Each step has concrete gains for the scoop engine.
  1. Convert all HTML/XHTML tags to lowercase. <FOO> is invalid XHTML, it should be <foo>. There is already a lot of HTML in scoop that is lowercase, and mixing the two standards is pretty ugly. In any case, this proccess can be fully automated.
  2. Move all background color, text color and link color directives to CSS. When this is implemented one can already make a simple skin system where the users can either write their own CSS or choose from a set of them.
  3. Remove all font tags in favor of CSS. Again, the skinning possibilities here are vastly expanded, and usability from small devices is increased.
  4. Change menus to use styled unordered lists. This has the advantage of making the entire line clickable and not only the link itself. There are some great examples of this. This should also remove a lot of unneccessary CSS class declarations.
  5. Remove the use of tables. This will make Scoop directly usable from devices with very small screens, like smart phones and PDAs.
< New Scoop Site | Censorship feature for autors >

create account
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Make a new account

Clean up the code?
yes 83%
no 0%
I don't see the point 16%
I don't care 0%

Votes: 6
Results | Other Polls

Related Links
There are some great examples of this
More on Feature Requests
Also by boxed

Story Views
  79 Scoop users have viewed this story.

Display: Sort:
Time to clean up the HTML code? | 18 comments (18 topical, 0 hidden)
What version are you basing this on? (none / 0) (#1)
by janra on Fri Sep 17, 2004 at 07:24:18 AM PST

A lot of work has already been done toward making Scoop's HTML more standard. 1.0 had a completely re-done layout that primarily used CSS, in fact. (It used a single table to get the two-column layout. Yes, I know columns can be done in CSS.)

Work is ongoing to remove HTML from the code and put it into blocks, where it can be cleaned up and fixed as well - this is a huge job and was started over a year ago, and while a fair amount has been fixed, there is still a lot to go.

Discuss the art and craft of writing

Driusan to the rescue! (none / 0) (#8)
by boxed on Wed Sep 22, 2004 at 08:41:18 AM PST

Seems my old friend Driusan is already on this and showing some huge progress already.

Another thing I thought of is that the poll questions should implement the label-tags. The usability and accessibility on them is much better that way.

I did this (none / 0) (#9)
by Jason on Wed Dec 15, 2004 at 07:16:37 AM PST

for our Scoop site: Don't bother validating it -- it doesn't validate yet. It was a huge enough effort just to strip out all the <TABLE>s and such that were hard-coded into the Perl. Baby steps. We now have a pretty decent CSS layout, but I'm not sure how to merge gracefully back into the main code stream as Scoop continues to be updated... don't want all that work to go to waste.

Jason Lefkowitz
Manager, E-Activism

check cashing oceanside (none / 0) (#10)
by Pervez on Mon Apr 02, 2018 at 04:39:49 AM PST

This short article is actually this type of good as well as fascinating 1; I am really pleased with the actual supplied material. I really hope much more superb content articles will be submitted inside your web site. Right now click here check cashing oceanside Thanks a lot with this as well as maintain discussing.

best kitchen remodeling nyc (none / 0) (#11)
by Pervez on Sun Mar 17, 2019 at 07:15:11 AM PST

Great upload Need to think and thanks a lot for this information and facts. Having said that has been among the list of top-rated content in the phase. There's no doubt that equally as if perhaps I am sure a lot more because of this useful I did so before. It is really easy to follow-up best kitchen remodeling nyc Wonderful ideal for fine deliver the results.

godbless (none / 0) (#13)
by paulgraham793 on Thu Oct 15, 2020 at 08:02:06 AM PST

I have been studying web dev this year towards my degree. hydroseeding rehoboth

made me an aerospace engineer (none / 0) (#14)
by federicopickens on Wed Nov 25, 2020 at 01:41:42 AM PST

Am no longer reading am now learning how to html code and clean.

Love the analogy (none / 0) (#15)
by williammayor363 on Tue Dec 22, 2020 at 10:36:08 PM PST

Professional standards are definitely important. Click Here

GOOD (none / 0) (#16)
by mahamkhan on Tue Jan 26, 2021 at 04:22:54 AM PST

I certainly enjoyed the method that you explore your experience and perception of the area of interest Ssn lookup

GOOD (none / 0) (#17)
by mahamkhan on Wed Jan 27, 2021 at 05:18:06 AM PST

Your grasp of this topic is amazing. It really touched base to me and I am glad I found this material. Thank you very much. ds/

GOOD (none / 0) (#18)
by mahamkhan on Wed Feb 03, 2021 at 04:56:15 AM PST

Good day! This is kind of off topic but I need some help from an established blog. Is it very difficult to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about setting up my own but I'm not sure where to start. Do you have any tips or suggestions? Appreciate it

Time to clean up the HTML code? | 18 comments (18 topical, 0 hidden)
Display: Sort:

Hosted by 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