View Single Post
Old 07-14-2009, 07:21 AM   #11
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
Quote:
Originally Posted by remjax View Post
Thanks but unless I didn't find the option it wont do what I want.

As an example...I want to remove all "SPAN" , "div", etc codes and replace them with simple HTML codes

<span italic> to <I> for example. I want to shrink the page as much as possible.
before zipping it.
What would you replace <div> with? <div> is a block element, together with the <p>. If you want to strip the div's, you should also strip the p's. They are both basic HTML elements. The only difference is that the div is a line, while the p is a paragraph (including the empty line at the end).

Quote:
Originally Posted by remjax View Post
frabjous:

Again, Standards dont interest me. HTML/XHTML/Flavor of the month are getting way to complex. Java scripts, Css,any other imbeded "non html" programs just get in the way of reading on my pda and also in my opinion make developing a universal reader way ore difficult that needed.

By manually editing out the "garbage" from a saved web site I can both speed up file access and decrease the size of the file. Both positivies from my view.

Actually, even on my desktop with dual core AMD on fast DSL, I still find waiting for all the complex "stuff" which slows page loading down to be a pain.

It seems programmers use all the tools to make a overly complex and fancy web site "just because they can"! Just because something is a "Standard" doesn't mean it is the best. I would guess that "basic" HTML will be readable for a long time to come by my readers (ie uBook for one) while not supporting the "latest and greatest" web thingy!

Anyway thanks for the info, I didn't expect to find such a tool but it usually never hurts to ask.
I think I know what you want. I often stirp-down pages myself. But you'll need to be able to use regular expressions. And be warned that if you remove the styles, you can also lose layout, especially if classes are used. And CSS has been incorporated for so long now, that if your PDA can't handle it, it's really time to buy a new one...) I can understand the removal of the javascript, but not the style information...

(and often it's not the developer that wants the complex stuff, it's the one that gives the order to build the web application/website.)
Sweetpea is offline   Reply With Quote