Forum Moderators: open

Message Too Old, No Replies

Debloating Frontpage Code

Settings in frontpage to keep the bloating down

         

steelrane

6:48 pm on Dec 9, 2003 (gmt 0)

10+ Year Member



I was reading so other threads about how there is a way to tweak the settings in FP so most of the usless code will not even be written into your site. Is this true & if it is how can I do it?

woop01

6:53 pm on Dec 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Upgrade to FP 2003, it creates much cleaner code.

robert adams

11:18 pm on Dec 9, 2003 (gmt 0)

10+ Year Member



use something else

robert

piskie

11:40 pm on Dec 9, 2003 (gmt 0)

10+ Year Member



I bet Robert Adams had Dreamweaver in mind.

steelrane

12:45 am on Dec 10, 2003 (gmt 0)

10+ Year Member



So I guess you can't change some settings to be able to write cleaner code? I know I can't get rid of all the bloating but to cut it in half would be good too.

bill

2:25 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



...yes robert, we know you don't like FP...please try to be a bit constructive if you're going to post in FP threads...the FP sucks theme has been beaten to death and serves no purpose...

steelrane we've had a number of good threads here that contain a lot of good FP advice from people who use it as their primary development tool. Check out the advice in this thread: Things to be aware of when using FrontPage [webmasterworld.com], and pay attention to the comments by pageoneresults, who outlines some good ways to tame the raw HTML formatting in FP.

If you post some examples of the type of bloat you're trying to remove we might be able to provide some more targeted advice.

steelrane

4:17 am on Dec 10, 2003 (gmt 0)

10+ Year Member



I just read that thread Things to be aware of when using FrontPage it just shows that the more I know about HTML the easy my life will be. Do you have any others that might help me? Thank you so much I have learned more in these last few days than I have in the last few months.

bill

4:28 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The best place to start in each forum is the Library. There's a link at the top of the page. That post was from there...it's also one I had flagged because it helped me out.

Then check out my post in this thread Google search form on WW [webmasterworld.com] on how to add a Google toolbar to WebmasterWorld. This will help you search for things a lot better than the built-in search.

If all else fails post your question in the appropriate forum.

robert adams

4:47 am on Dec 10, 2003 (gmt 0)

10+ Year Member



...yes robert, we know you don't like FP...please try to be a bit constructive if you're going to post in FP threads...the FP sucks theme has been beaten to death and serves no purpose...

You are right and I apologize, I had not realized how much I had been doing just that. I guess my point is to try to help people just starting out to use something that is not going to give them a bunch of grief later.

sorry,
robert

bill

8:37 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I was just playing around with FP2003 and noticed that there is an Optimize HTML command now. It has the following commands:

Remove Comments

  • All HTML comments
  • Dynamic Web Template comments
  • Layout Tables and Cell Formatting comments
  • Script comments
  • All other HTML comments

Remove Whitespace

  • HTML leading whitespace
  • HTML all whitespace

Remove Unused Content

  • Merge adjacent tags
  • Empty tags
  • Unused styles

Remove Generated HTML

  • FrontPage Tracing Image and Interactive Button attributes
  • Generator and ProgID tags
  • Delete VML content
  • Word HTML

This is a big change from earlier versions of FP. I'm really impressed with the new HTML editor as well. It's working very well with editing my XHTML sites. Previous versions were never this good.

Visit Thailand

9:09 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have to agree the new FP 2003 is very impressive and is a massive move up from the FP 2000 I am still using.

I have only just started playing with it so am still seeing the new things but if I were starting out with FP I would definitely make sure it was FP 2003.

Shadows Papa

11:27 pm on Dec 10, 2003 (gmt 0)

10+ Year Member



FP2002 (Office XP) is so much better than any prior version, I see little bloat, but do see some quirks. You can make it leave your code alone - not make changes to existing code. It's a simple setting. Too many got a bad taste from prior versions (rightly so)

I really don't have much trouble with it in that way (bloat)

Is 2003 that much better than 2002, like 2002 was THAT much better than any prior version?

Shadows Papa

woop01

11:43 pm on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is 2003 that much better than 2002, like 2002 was THAT much better than any prior version?

I don't know if it's as big a change as getting tabbed pages in that version but it is a much better program in my opinion.

europeforvisitors

2:56 am on Dec 11, 2003 (gmt 0)



FrontPage "code bloat" can be a feature or a bug, depending on your needs and the choices you've made.

If you're setting up an in-house Web site that will be viewed only on a high-speed corporate network, you may find it convenient to use automated FP features that generate a fair amount of code. There's nothing wrong with this, despite what some HTML purists may claim; in your networked corporate environment, productivity may be more valuable than bandwidth, and whether a page has 30 Kb of code or 100 Kb is less important than how easy the site is to build and maintain.

If, on the other hand, you're designing a site for the open Web where users may be connecting with dial-up modems, you'll probably want to skip FrontPage's more code-intensive bells and whistles in favor of a simpler approach--e.g., by setting up navigation links manually instead of letting FrontPage do the work for you.

In other words, either approach can be valid depending on what your goals are. One person's "code bloat" can be another person's "productivity," and it's foolish to assume that what may be right for you is right for everyone.

steelrane

3:22 am on Dec 11, 2003 (gmt 0)

10+ Year Member



Thanks for the help. I think I'll try FP 2003(I have FP XP now) it seems that most of what I've read says FP 2003 is so much better than other verisons and since I have about a year put into learning FP I think I should stay with what I know best. I have always manually inserted my hyperlinks because if you let FP do it they don't work in other browsers like firebird,mozzilla,opera etc.
Thanks

bill

3:54 am on Dec 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have always manually inserted my hyperlinks because if you let FP do it they don't work in other browsers like firebird,mozzilla,opera etc.
I let FP insert my hyperlinks all the time and have never had browser issues. How is it possible that a hyperlink is incompatible with a browser? I could understand if the resulting page had some plugin or technology that wasn't turned on...but the hyperlinks themselves should be no problem.

europeforvisitors

4:40 am on Dec 11, 2003 (gmt 0)



have always manually inserted my hyperlinks because if you let FP do it they don't work in other browsers like firebird,mozzilla,opera etc.

In my experience, a URL inserted via the FrontPage dialogue box is no different from a URL that's created manually. Either way, I get mypage.htm or [anysite.com....] (And I've been using FrontPage since version 1.1.)

steelrane

5:45 pm on Dec 11, 2003 (gmt 0)

10+ Year Member



Yes the hyperlinks that my FP makes points back at my c: drive is there somthing I am missing?

bill

12:15 am on Dec 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I think somebody already explained that...You were missing images in a shared navigation most likely because you had made links to image files outside your web. Even though FP will import those images to your web, the links remain absolute. This is a feature of FP's disk based webs. It's not a bug. Had you imported the images to your web first, then the links would be relative and work properly when published to a web server. These links are different from hyperlinks. I think you're confusing these.

steelrane

2:35 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



Ah now the picture is clear. I just made sure all my photos are in my web.Thanks again