HighDots Forums  

Stage three of bad coding

Search Engine Optimization Discussion about SEO/Search Engine Optimization (alt.internet.search-engines)


Discuss Stage three of bad coding in the Search Engine Optimization forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
John Bokma
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 08:12 PM






Big Bill <bill (AT) kruse (DOT) co.uk> wrote:

Quote:
This assumes you know what grep means (I don't)
C'mon Bill, don't tell me you never unzipped and grepped around a bit :-)

In this case, what Tips does with Grep, you can do with Search in Windows
XP: Click the magnifier, and search in all files and folders for files
ending in, say php, containing h1.

I use Find in Files in TextPad the most for stuff like this.

Quote:
and it also assumes
that the coders of the CMS allow you anywhere within spitting distance
of their proprietary code.
Open Souce CMS do. And I guess quite some closed source CMS use a template
system of sorts.

Quote:
I'm refused ftp access ironically in the
most needy cases, and so is everyone else. Potential damage caused by
incompetence (moi??) and intellectual copyright are cited as the
reasons why.
:-D

--
John Need help with SEO? Get started with a SEO report of your site:

--> http://johnbokma.com/websitedesign/seo-expert-help.html


Reply With Quote
  #32  
Old   
Tips
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 08:19 PM






John Bokma wrote:

Quote:
Tips <see_reply-to_address (AT) nospam (DOT) invalid> wrote:

If you are in Windows, you can use grep with Cygwin:
http://www.cygwin.com/

No need for Cygwin (too much of a hell unless you know what you gotten
into): http://johnbokma.com/mexit/2006/07/01/

Yup, grep is there too, and ls, etc.
Nice... I've never had a problem with Cygwin, but will check out the other
tools.



Reply With Quote
  #33  
Old   
Tips
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 08:25 PM



Big Bill wrote:

Quote:
On Sat, 16 Dec 2006 18:48:56 -0500, Tips
see_reply-to_address (AT) nospam (DOT) invalid> wrote:

grep -r '<h1>' *

If you are in Windows, you can use grep with Cygwin:
http://www.cygwin.com/

This assumes you know what grep means (I don't) and it also assumes
that the coders of the CMS allow you anywhere within spitting distance
of their proprietary code. I'm refused ftp access ironically in the
most needy cases, and so is everyone else. Potential damage caused by
incompetence (moi??) and intellectual copyright are cited as the
reasons why.
Grep = globally search for regular expression and print. It's a great way
to search through files for information.

Grep syntax:

grep [options] [regular expression] [file(s)]

so
grep -r '<h1>' *

means search recursively (-r) for <h1> in all files (*)

The great thing about grep is that you can also use it on remote servers
over SSH.


--
http://tips.webdesign10.com/learning...x-command-line
http://tips.webdesign10.com/gnu-seo-tools


Reply With Quote
  #34  
Old   
Tips
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 08:30 PM



Big Bill wrote:


Quote:
I'm refused ftp access ironically in the
most needy cases, and so is everyone else. Potential damage caused by
incompetence (moi??) and intellectual copyright are cited as the
reasons why.
You could explain to the client that the CMS is causing search engine
problems, but that the developers won't allow you FTP access to fix the
problems. It's out of your hands if you aren't allowed into the code.

And/or, just provide detailed recommendations to the developers. "Hands-off
SEO"... let them figure out how to fix the code.

Or... if they will let you download the code, you could fix it on a local
copy and send them the fixes.



Reply With Quote
  #35  
Old   
John Bokma
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 08:57 PM



Tips <see_reply-to_address (AT) nospam (DOT) invalid> wrote:

Quote:
John Bokma wrote:

Tips <see_reply-to_address (AT) nospam (DOT) invalid> wrote:

If you are in Windows, you can use grep with Cygwin:
http://www.cygwin.com/

No need for Cygwin (too much of a hell unless you know what you
gotten into): http://johnbokma.com/mexit/2006/07/01/

Yup, grep is there too, and ls, etc.

Nice... I've never had a problem with Cygwin, but will check out the
other tools.
I used Cygwin for some time back in 2003, and somehow I considered it too
much of a hassle. It was like living on the border between two countries
:-) I often started the "wrong" Perl, etc. And after some time I decided
that if I wanted *nix that bad, I should use it.

--
John Need help with SEO? Get started with a SEO report of your site:

--> http://johnbokma.com/websitedesign/seo-expert-help.html


Reply With Quote
  #36  
Old   
John Bokma
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 08:58 PM



Tips <see_reply-to_address (AT) nospam (DOT) invalid> wrote:

Quote:
The great thing about grep is that you can also use it on remote
servers over SSH.
Amen to that. I adviced a friend some time ago on tools she should learn
IMO, and grep was among them. I do my best to blog this list next week, I
think it's not a bad list.

--
John Need help with SEO? Get started with a SEO report of your site:

--> http://johnbokma.com/websitedesign/seo-expert-help.html


Reply With Quote
  #37  
Old   
John Bokma
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 08:58 PM



Tips <see_reply-to_address (AT) nospam (DOT) invalid> wrote:

Quote:
Big Bill wrote:


I'm refused ftp access ironically in the
most needy cases, and so is everyone else. Potential damage caused by
incompetence (moi??) and intellectual copyright are cited as the
reasons why.

You could explain to the client that the CMS is causing search engine
problems, but that the developers won't allow you FTP access to fix
the problems. It's out of your hands if you aren't allowed into the
code.

And/or, just provide detailed recommendations to the developers.
"Hands-off SEO"... let them figure out how to fix the code.

Or... if they will let you download the code, you could fix it on a
local copy and send them the fixes.
Or you could spank them until they fix it :-) (Which I prefer)

--
John Need help with SEO? Get started with a SEO report of your site:

--> http://johnbokma.com/websitedesign/seo-expert-help.html


Reply With Quote
  #38  
Old   
Tips
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 09:23 PM



John Bokma wrote:

Quote:
Tips <see_reply-to_address (AT) nospam (DOT) invalid> wrote:

Nice... I've never had a problem with Cygwin, but will check out the
other tools.

I used Cygwin for some time back in 2003, and somehow I considered it too
much of a hassle. It was like living on the border between two countries
:-) I often started the "wrong" Perl, etc. And after some time I decided
that if I wanted *nix that bad, I should use it.
I prefer Linux, but often have to use Windows. I put Cygwin on my computer
just so I wouldn't have to reboot to mess around with log files. Recently
found an easy way to boot Damn Small Linux inside of Windows, but haven't
figured out how to transfer files from one OS to the other...




Reply With Quote
  #39  
Old   
John Bokma
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 10:09 PM



Tips <see_reply-to_address (AT) nospam (DOT) invalid> wrote:

Quote:
I prefer Linux, but often have to use Windows. I put Cygwin on my
computer just so I wouldn't have to reboot to mess around with log
files. Recently found an easy way to boot Damn Small Linux inside of
Windows, but haven't figured out how to transfer files from one OS to
the other...
http://johnbokma.com/mexit/2005/11/07/ -> VMware player (free), with
Ubuntu (free). There are several ways to transfer files between the two
ftp, sharing, etc.

You can also download a Ubuntu VM (VMware site) which might perform
faster.

--
John Need help with SEO? Get started with a SEO report of your site:

--> http://johnbokma.com/websitedesign/seo-expert-help.html


Reply With Quote
  #40  
Old   
Tips
 
Posts: n/a

Default Re: Stage three of bad coding - 12-16-2006 , 10:30 PM



John Bokma wrote:

Quote:
http://johnbokma.com/mexit/2005/11/07/ -> VMware player (free), with
Ubuntu (free). There are several ways to transfer files between the two
ftp, sharing, etc.

You can also download a Ubuntu VM (VMware site) which might perform
faster.

I'll have to try vmware. I'm using QEMU for Damn Small Linux:
http://tips.webdesign10.com/portable-software-windows

There must be a way to transfer files with QEMU also, but I haven't figured
it out yet.



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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.