• 0

Cutting down on size


Question

25 answers to this question

Recommended Posts

  • 0

You can compress the html code itself (ie remove all spaces and linebreaks)

This wil cut the size in half but makes it unreadable and hard to edit so be sure to keep an uncompressed version on your harddisk.

http://www.softlite.net/products/scriptworx/

This free html editor can do this for you.

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14240
Share on other sites

  • 0

I looked at your HTML code.

Try and link the JavaScripts out side of your HTML file.

Use the same code but put it in separate files with the extension ".js".

<script src="./scripts/date_display.js" type=JAVASCRIPT>

Now when the "function" calls stay the same you can stil change the javascript code and you can recycle all javascript much easier in more HTML files.

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14259
Share on other sites

  • 0

good tips... I also like to have thing for compressing the html pages...

& I would like to ask aco what have you added in your page that it reaches at about 47kb... & it also doesn't have any image... wow...

The maximum size of pages I have created is at about 10kb... I haven't thinked of 40 or 50kb... wow

:evil: :evil: :evil: :evil:

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14516
Share on other sites

  • 0
Originally posted by PabUK

lol.

Are there any good free news scripts that you would recommend? One that is easy to install and can be easily customised to fit in with a website.

I searched for awhile to try to find a news script. I found a couple that worked with linux and mySQL, but nothing that was simple to set up, and nothing that worked on a windows platform. I ended up learning Active Server Pages (ASP), which took me about 2-3 weeks, and now I have a great news script running. It uses ASP for the code and IIS to manage the databases. The databases were made in Access 2000.

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14969
Share on other sites

  • 0
Originally posted by Xain

IIS, Access 2000 and ASP?

Yuck!

Rule on PHP/Perl, MySQL and Apache!

LOL. You work with what you have :) The school that I used to be a student at and now a tech guy at runs IIS/Access, so thats what I used. But i tried PHP/mySQL, they are almost identical.

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14978
Share on other sites

  • 0

some grafixstuff can be pre-defined with the use off

Cascading Style Sheets.

I looked at www.brainjar.com for help.

he uses "

" to define certain blocks and styles in his pages,

quite nice and easy.

You could also search the web on "css" or "stylesheets"

Now with most of the stuff predefined you only have to load the definition once. (no more copy paste in your html code, much more readable)

And with that you'll create much smaller html code.

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14988
Share on other sites

  • 0

sorry, dont know of any news scripts specificly, there is php nuke, but thats more of an entire site and isnt very easy to fit in with the rest of the site.

As for php/asp mysql/access etc, i have worked with both, i find php much better cos it is much easier to connect with databases, and i just generally prefer it, plus it has the best resource to learn it from, the manual from php,net, i havent found anything like that for asp. mysql as far as i know is much more faster than access on large sites, we would have no chance of using access fiels for this site, just would be stupid opening and closing a 50mb file about 100 times a second :) hence the reason we use mysql, plus the fact php and mysql are all entirely free and can run on any server (neowin is on a uniz/lunix or whatever, the other one, not M$ lol). but really it comes down to the preferance of the personl, i prefer php, hence the reason neowin is done with php :)

tingle

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-15060
Share on other sites

  • 0

There are a few but the one i used is from.... hold on http://www.gwscripts.com/ very easy to add news, and it just incorporates into the existing page. it uses perl, so go to www.activestate.com and get perl for windows.

that all there is to it, clean easy, etc.

there is also http://www.stefan-pettersson.nu/scripts/newsadmin/ which is ok but i found the above one to be more powerfull, even from simple sites

Matt

Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-30880
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • MusicBee 3.6.9668 by Razvan Serea MusicBee is an application geared toward managing extensive music collections, easy to use and with a comprehensive feature set. It makes it easy to organize, find, and play music files on your computer, on portable devices, and on the Web. It provides playback of a wide range of audio formats, smart playlists with the ability to discover and play new music from the web, advanced tag editing with automated artwork and tag look up, folder monitoring, automated file re-organization, portable device synchronization, and secure CD ripping with AccurateRip verification. MusicBee features: Supported formats: MP3, AAC, M4A, MPC, OGG, FLAC, APE, TAK, WV, WMA and WAV. Audio CDs: Audio CD playback and ripping (with CD-Text capabilities) is supported. CD tracks can be ripped (in fast or secure mode) as individual files or as a single album with embedded cuesheet. Conversion: Conversion from and to all supported formats as metadata are preserved. Synchronization of tags only (in case that the output file already exists) instead of reencoding is possible. ReplayGain support: both playback and calculation. File Organization: Organization and renaming of music files into folders and files based on tag values such as artist, album, name, track number, etc. that can be specified. MusicBee can do this automatically for all files in a music library or the user can choose the files or folders themselves. Web Browsing: Browsing of the web using Mozilla's XULRunner environment. Scrobbling: Tracks played from MusicBee can optionally be scrobbled to Last.fm. Customizable user interface layout. Customizable keyboard shortcuts. MiniLyrics support Download: MusicBee 3.6.9668 | MusicBee Portable | ~9.0 MB (Freeware) Download: Windows Store Edition View: MusicBee Home page | Release Notes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • On xiaomi hyperos there's also an option to disable google assistant. I've got everything disabled. Only thing I do have installed is a web wrapped for duck.ai which claims to let you use various AIs anonymously
    • I need to understand the rationale of not shipping all of these K2 improvements in a single update/release. It's giving "we will fix Windows 11 but no commitments". It seems to me that they just announce these improvements just to appease the community.
    • The term "RTM" is long gone starting with Windows 10. Every current release is a GA build. This is the result of MS making Windows as a Service (WaaS).
    • Looks like no official TBW rating, which should be a required listing in my opinion for sites like Amazon (hell, put it on the box too.)
  • Recent Achievements

    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      186
    3. 3
      PsYcHoKiLLa
      87
    4. 4
      Michael Scrip
      79
    5. 5
      Steven P.
      73
  • Tell a friend

    Love Neowin? Tell a friend!