• 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

    • prices are insane its like 140 dollars more expensive, sigh
    • This seems backwards. You should have to explicitly authorize files for outside use. It shouldn't be the default.
    • Wow you are right, I never even noticed this until you said it! (870E Aorus Master) Before testing this card I had a TP-Link tx401 10GbE PCIe card in that slot (now using XikeStor 310 Thunderbolt to Ethernet adapter).
    • Lack of 5.1 makes this a no sale. What I really wish creative would make would be a USB version that supports 5.1 analog audio for speakers, can switch to headphone mode, and matches the specs of their top tier cards. The current X870E AMD motherboards dont have a great option for adding a PCIE x1 card without cutting down pcie lanes to the graphics card.
    • The Microsoft Office feature that time forgot by Usama Jawad I have been actively using Microsoft Word for the past couple of decades in academic, professional, and personal capacities. Although I used it through the perpetual version of Office apps at the start, I have been an active subscriber of Microsoft 365 Family subscription for over five years now. This means that my Word installation is regularly updated with new features, some of which I don't really like, but that's beside the point. As new features get continuously added, old ones that used to be a staple of Word have started to take a backseat. While I was reminiscing over my Windows experiences from my childhood today, I suddenly remember one such capability that I heavily used in my younger years but have not really touched in over a decade, and haven't seen in documents created by others either. That feature is WordArt. Just to clarify, WordArt is not a Microsoft product specific to Word, and is included in other Office apps like PowerPoint and Excel too. However, Microsoft Word is the app that I used Word Art in heavily, while making assignments or other deliverables for school. If you're unaware, WordArt offers a collection of styling techniques for text, introducing 3D effects like shadows and reflections in the text. It used to be one of the coolest things ever when I was at school and me and my classmates would often compete to ensure that our assignment's title in WordArt was truly the best and stood out above the rest. See some examples of WordArt, still present in the latest versions of Word below: Although WordArt is undeniably cool, it has taken a bit of a backseat, and has been relegated from the Home tab to the Insert toolbar, along with a bunch of other utilities, making it very easy to miss. This isn't exactly surprising because WordArt doesn't really have a place in academic and professional documents anymore, and while I have seen some creatives using it while developing promo material, even that sector has gravitated more towards dedicated graphic designing tools in the past years. For the vast majority of us, WordArt doesn't really exist, and that's alright. At least, it's still an option that can allow us to reminisce our childhood or even make some quick text stylization, if we really need it. Perhaps its usage has waned over time or the novelty has worn off, but I haven't even seen children use it in their academic assignments anymore. In fact, many don't even know that it exists. Maybe that's the fate of every beloved feature. What once felt cutting edge eventually becomes a relic, quietly tucked away as tastes, trends, and technology move on. WordArt may no longer dominate school assignments or decorate the covers of classroom projects, but for those of us who grew up with it, it remains a colorful reminder of a time when making text glow, bend, and cast giant shadows felt like the height of creativity. Hidden behind a few clicks in modern Word, it still survives not as a productivity tool, but as a small piece of computing nostalgia that refuses to disappear.
  • Recent Achievements

    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
    • One Month Later
      Genuinetonerink- Dubai earned a badge
      One Month Later
    • Week One Done
      Genuinetonerink- Dubai earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      +Edouard
      158
    3. 3
      PsYcHoKiLLa
      88
    4. 4
      Steven P.
      74
    5. 5
      Michael Scrip
      70
  • Tell a friend

    Love Neowin? Tell a friend!