• 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

    • Zed 1.7.2 has landed with updated OpenCode models, bug fixes and other improvements by David Uzondu Zed 1.7.2 recently landed on the stable release channel, bringing a host of AI-related features including automatic context compaction and settings-based skill management, along with other things like better Markdown preview rendering and custom git commands in the graph view. Starting with the AI stuff, the developers introduced "/compact", a command that basically summarizes your conversation history on demand. This tool prevents your active chat window from hitting token limits by compressing older parts of the dialogue into a brief overview. In addition to that, the team relocated skill management to the settings UI, improving how the application communicates errors regarding those skills, and updated the OpenCode model roster to support DeepSeek V4 Flash, MiniMax M3, Qwen 3.7 Plus, and Nemotron 3 Ultra Free. External agent users can also monitor context window cost metrics and delete individual sessions directly from their history. Right-clicking ref labels in the git graph now opens a context menu that runs different actions against selected targets, kind of how VS Code does it. Here are some of the bug fixes this new release brings: The active agent fails to auto-select when creating a new git worktree. A scrollbar unexpectedly appears on wrapped code blocks in the agent chat. Collapse indicators for project headers appear when performing sidebar searches. Bracketed ellipsis title prefixes fail to show the ellipsis icon properly. Project icons render incorrectly in the recent projects picker. Diff hunk controls appear inside non-editable commit view multibuffers. The software update button hangs indefinitely on the downloading stage. Restoring an agent terminal in a remote project triggers a sudden crash. Splitting a pane that contains an active commit view causes a crash. Linux Wayland freezes when trying to read the clipboard from laggy external apps. Zed is a "newish" code editor trying to break the massive stronghold VS Code has on the developer community. Funny enough, the editor was created by former GitHub employees who worked on the Atom text editor (which Microsoft killed in 2022, several years after it bought GitHub). The project officially hit version 1.0 back in April, introducing platform parity for Windows and Linux alongside deep support for DeepSeek-V4-Pro.
    • 26H2 absolutely will support ARM Windows just not on devices that came with 26H1. This is evident by the fact I am running 26H2, which on my MacBook Neo and Surface Pro 12 (inch), within a VM.
    • Mp3tag 3.35 by Razvan Serea Mp3tag is a powerful and yet easy-to-use tool to edit metadata (ID3, Vorbis Comments and APE) of common audio formats. It can rename files based on the tag information, replace characters or words from tags and filenames, import/export tag information, create playlists and more. The program supports online freedb database lookups for selected files, allowing you to automatically gather proper tag information for select files or CDs. Mp3tag supports the following audio formats: Advanced Audio Coding (aac) Free Lossless Audio Codec (flac) Monkeys Audio (ape) Mpeg Layer 3 (mp3) MPEG-4 (mp4 / m4a / m4b / iTunes compatible) Musepack (mpc) Ogg Vorbis (ogg) OptimFROG (ofr) OptimFROG DualStream (ofs) Speex (spx) Toms Audio Kompressor (tak) True Audio (tta) Windows Media Audio (wma) WavPack (wv) Mp3tag 3.35 changelog: This version introduces a new Files options page, enhanced toolbar customization, support for RF64 WAV files, improved Discogs and MusicBrainz tag sources, and many other improvements and fixes. See the Release Notes for more details. Download: Mp3tag 64-bit | 5.7 MB (Freeware) Download: Mp3tag 32-bit | 5.2 MB Link: Mp3tag Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • The FIFA World Cup is not US centric.
    • It’s amusing how Microsoft is pushing IT admins as if this was a major, game-changing update. In reality, it’s just an enablement package that bumps the build number, which is disappointing compared to the more substantial 22H2 and 24H2 releases. Technically, 25H2, 26H1, and the upcoming 26H2 are essentially the same, differing only in support schedules. They could have included the Windows K2 improvements here, but chose not to. The era of Windows being in the backburner continues, and this 26H2 release feels like an afterthought. Shame, Nadella, shame.
  • Recent Achievements

    • Week One Done
      AMV earned a badge
      Week One Done
    • One Month Later
      AMV earned a badge
      One Month Later
    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      523
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      78
    4. 4
      Steven P.
      72
    5. 5
      Michael Scrip
      71
  • Tell a friend

    Love Neowin? Tell a friend!