Using viewcode.php ... need to modify
Posted: Tue Apr 20, 2004 9:06 pm
We're using this script:
http://www.evilwalrus.com/viewcode.php?codeEx=262
A sample of our page output is here:
http://www.growthtrac.com/popular.php
The script derives the page descriptions from the page <title>.
So, a page description might look like this:
Articles for Christian Marriage, Growthtrac-A Surprising Key
Instead of this (preferred): A Surprising Key
QUESTION
How can I strip the repetitive <title> text from the page descriptions?
The text we want to eliminate is: Articles for Christian Marriage, Growthtrac-
Please be specific... I'm not an expert. Thanks.
http://www.evilwalrus.com/viewcode.php?codeEx=262
A sample of our page output is here:
http://www.growthtrac.com/popular.php
The script derives the page descriptions from the page <title>.
So, a page description might look like this:
Articles for Christian Marriage, Growthtrac-A Surprising Key
Instead of this (preferred): A Surprising Key
QUESTION
How can I strip the repetitive <title> text from the page descriptions?
The text we want to eliminate is: Articles for Christian Marriage, Growthtrac-
Please be specific... I'm not an expert. Thanks.