Re: How to pull existing Title tag into the body of the document as text only

From: Chung Leong (chernyshevsky_at_hotmail.com)
Date: 08/05/04


Date: Thu, 5 Aug 2004 08:49:09 -0400


"Mike" <please@spam-me-not.com> wrote in message
news:BhjQc.82319$ju5.71307@twister.socal.rr.com...
> I need to be able to pull the current <Title> tag from the header into
> the body of the html page. We started coding this with php, and we
> were able to get it working. However the entire page is being parsed
> and really bogging down the system and the pages load very slowly.
> (the system is Dual P4 2.4, 1GB ram, Redhat 9.0)
> To fix this we decided to just use javascript, which worked great.
> Text loaded immediately. However, search engines will not process the
> javascript, thus this text will not be available in the document to be
> scanned.
> Does anyone have a way to pull a title tag from a document and display
> its content as text only within a document, Without loading down the
> system? When we tried it, it took the pages at least 5 times longer to
> load than without the code.
>
> Any feedback at all would be greatly appreciated. Thanks very much.

Can you describe the situation in greater details? Are you saying you have
many static HTML files that need adjustment, or are the pages generated
dynamically?

And what exactly do you mean by parsing the page? Finding a text string
within a file is absolute cakewalk. It shouldn't bog down the system to such
a degree.



Relevant Pages

  • Re: Buffering HTML page
    ... javascript (in the middle frame) load the page in the lower frame (and ... The javascript then, immediately, ... :: a 3ed party design tool from Acrobat and stored as HTML. ...
    (microsoft.public.inetserver.iis)
  • Re: Buffering HTML page
    ... javascript (in the middle frame) load the page in the lower frame (and until ... The javascript then, immediately, ... a 3ed party design tool from Acrobat and stored as HTML. ...
    (microsoft.public.inetserver.iis)
  • Re: Slow-loading drop down boxes
    ... The size of the whole page is about 177kb which is rather large for a HTML ... For me it seems to be on the server side, because if a load the whole file ... I daubt that any copying of data via JavaScript would be any faster. ... > browser is faster when the option boxes are ...
    (comp.lang.java.databases)
  • Re: How to pull existing Title tag into the body of the document as text only
    ... >the body of the html page. ... We started coding this with php, ... >and really bogging down the system and the pages load very slowly. ... >To fix this we decided to just use javascript, ...
    (alt.php)
  • Security holes in Hotmail, Yahoo, and other webmails
    ... Most webmails services and applications have huge security holes on the ... execution of malicious javascript and HTML code ... some parts of the user's mailbox, without use of javascript. ... Cross-site scripting vulnerabilities on the yahoo.com domain was reported ...
    (Vuln-Dev)