Real Estate Forums

Other Search Engines Altavista, Alltheweb, Teoma and many other search properties exist on the internet, although nowhere near the search volume of the big 3. Discuss any other search engines here.

Reply
 
Thread Tools Display Modes
Old 07-08-2007, 03:04 PM
Ryan Ward's Avatar
Ryan Ward Ryan Ward is offline
Uber Real Estate Webmaster
 
Join Date: Oct 2006
Location: Alpharetta
Posts: 3,868
Ryan Ward is on a distinguished road
Default lightening up code

ok. I'm sort of a newbie here, but, for the others out here like myself that are using REW websites, I have discovered a way (ok, I said I discovered. Not that this is a new concept to some of you) to lighten up code on our sites by creating our own snippets and in some cases remove duplicate content. Let me try to expand. I have buttons on my site inside the test area. You can click on the links in my signature and see them. For the most part that bit of code is exactly the same escept for which img is called up. Instead of leaving this code on my site, I copied and pasted it into a new snippet through the CMS and called the new snippet #atlantabuttons#. This allowed me to remove that code from each page of my site. I did the same thing with all of the maps that display on different pages.

What other things are you guys doing to eliminate dup content and lighten up your code?

Hey can you guys move this? I put it in the wrong forum!!!!

Thanks!
__________________
Ryan Ward, REALTOR® - Keller Williams Realty Consultants. (404) 630-3187
Atlanta Real Estate - My featured area is Alpharetta Real Estate and it is where I call home. Read my Atlanta Real Estate blog.

Last edited by Ryan Ward; 07-08-2007 at 05:11 PM. Reason: I'm stupid!
Reply With Quote
Old 07-08-2007, 06:36 PM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 15,161
webmaster will become famous soon enough
Default Re: lightening up code

Ryan,
I hate to kill your enthusiasm, but I think you misunderstand how snippets or includes work. They are not like sourcing css or js documents externally, it just means the html is stored in a single place for ease of access instead of having to re-type it each time. However, when you use a snippet #snippet# you are in essence including that html back into the page, so even though in the CMS when you see your page, it shows you have less html, when you view the source of the page through a browser, you will see that the snippet SSI has been processed and there is no difference in the hmtl output.
Man did I ever just sound nerdy there.
__________________
Don't miss out on the 12 days of Christmas promo
Reply With Quote
Old 07-08-2007, 06:41 PM
Ryan Ward's Avatar
Ryan Ward Ryan Ward is offline
Uber Real Estate Webmaster
 
Join Date: Oct 2006
Location: Alpharetta
Posts: 3,868
Ryan Ward is on a distinguished road
Default Re: lightening up code

So why do have to go around bursting peoples bubbles? Oh well. It seemed like a good thought.
__________________
Ryan Ward, REALTOR® - Keller Williams Realty Consultants. (404) 630-3187
Atlanta Real Estate - My featured area is Alpharetta Real Estate and it is where I call home. Read my Atlanta Real Estate blog.
Reply With Quote
Old 07-08-2007, 07:07 PM
Smuck's Avatar
Smuck Smuck is offline
Advanced Webmaster
 
Join Date: Oct 2006
Posts: 1,681
Smuck is on a distinguished road
Default Re: lightening up code

Thanks for the clarification Morgan.

I've been using snippets for various things and wondered what the heck you were talking about Ryan. I guess it goes to show how much I trust your judgement as I assumed you were right and I needed to figure out what I didn't know!
__________________
Reply With Quote
Old 07-08-2007, 07:25 PM
Ryan Ward's Avatar
Ryan Ward Ryan Ward is offline
Uber Real Estate Webmaster
 
Join Date: Oct 2006
Location: Alpharetta
Posts: 3,868
Ryan Ward is on a distinguished road
Default Re: lightening up code

Trust my judgment with websites? Now, I won't even do that! For some reason I thought it popped it up into a file or something and pulled from there not put it back on the page.
__________________
Ryan Ward, REALTOR® - Keller Williams Realty Consultants. (404) 630-3187
Atlanta Real Estate - My featured area is Alpharetta Real Estate and it is where I call home. Read my Atlanta Real Estate blog.
Reply With Quote
Old 07-08-2007, 08:18 PM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 15,161
webmaster will become famous soon enough
Default Re: lightening up code

It does pull from somewhere else, but it is done server side before processing, it has to, browsers cannot render html sourced externally
__________________
Don't miss out on the 12 days of Christmas promo
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Real Estate Webmasters on Facebook

For our members

Main Sections

IDX Coverage Areas

You can find us at

Spiders Welcome

All times are GMT -7. The time now is 08:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.