a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Finding Text In A File

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Finding Text In A File
Page: [1]
 
salacy

 

Posts: 6
From: Houston, TX USA
Status: offline

 
Finding Text In A File - 4/2/2001 23:59:00   
Here is my situation. I am linking to an external text file over which I have no control. I would like to have the file open in the browser and then automatically scroll down to a location in the file based on a word or string in the file. Sort of like an automated edit/search. Is this possible?

Thanks in advance.
Scott

Thomas Brunt

 

Posts: 6118
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Finding Text In A File - 4/2/2001 16:54:00   
It has to be a html file to do that. It's easy then.

You just create a bookmark on the html page and then link to file.htm#bookmarkname.


(in reply to salacy)
salacy

 

Posts: 6
From: Houston, TX USA
Status: offline

 
RE: Finding Text In A File - 4/2/2001 17:39:00   
quote:
Originally posted by Thomas Brunt:
It has to be a html file to do that. It's easy then.

You just create a bookmark on the html page and then link to file.htm#bookmarkname.


Yes, I know about bookmarks. This text file I am linking to is external to my web. I cannot edit the text. I am looking for some code that will search the text file once someone opens it from my hyperlink.


(in reply to salacy)
Spooky

 

Posts: 26617
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Finding Text In A File - 4/2/2001 20:34:00   
I dont think there is a reasonable way to do it with external files?

Suggest the user presses CTRL "f" ?


(in reply to salacy)
salacy

 

Posts: 6
From: Houston, TX USA
Status: offline

 
RE: Finding Text In A File - 4/5/2001 20:38:00   
quote:
Originally posted by Spooky:
I dont think there is a reasonable way to do it with external files?

Suggest the user presses CTRL "f" ?


The way I am currently handling is by instructing the user to "scroll down to article #....". Not an elegant solution. Surely there must be a programmatic way to search or extract text from an external source by keyword.


(in reply to salacy)
Spooky

 

Posts: 26617
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Finding Text In A File - 4/5/2001 20:56:00   
Not that Im aware of. (being external)

Possibly some server based components can rip off and parse the text from a web page and reformat the results, but I havent used any myself....


(in reply to salacy)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> Finding Text In A File
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts