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.
< amipatriotic.com New Scoop Site | Censorship feature for autors >

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

Login
Make a new account
Username:
Password:

Poll
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
Scoop
There are some great examples of this
More on Feature Requests
Also by boxed

Story Views
  69 Scoop users have viewed this story.

Display: Sort:
Time to clean up the HTML code? | 12 comments (12 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: http://community.oceana.org/ 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
Oceana




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.



Time to clean up the HTML code? | 12 comments (12 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