Home | Community | Message Board


This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Kraken Kratom Shop: Red Vein Kratom

Jump to first unread post Pages: 1
Offlinedoses
Obsessive Purist
Male


Registered: 11/21/10
Posts: 1,049
Last seen: 9 years, 5 months
Searching Saved HTMLs
    #13996866 - 02/20/11 05:42 PM (12 years, 11 months ago)

If I have a massive amount of saved HTMLs in a few different folders, is there any way to search the text they contain? It would be okay if I had to search each folder individually. I just have no way of finding what they contain now because the file names are just randomized numbers and there are far too many to retitle manually. Thatnk.


--------------------
:atom: :tripmolecule: :lsdabc: :tripmolecule: :atom:


Extras: Filter Print Post Top
Invisibledaytripper05
Psychonaut
Male User Gallery


Folding@home Statistics
Registered: 10/30/06
Posts: 6,962
Loc: In my garden
Re: Searching Saved HTMLs [Re: doses]
    #14000729 - 02/21/11 11:25 AM (12 years, 11 months ago)

If your OS doesn't handle the level of searching you desire or can't find a program to do it, you will likely to need to write a script to parse the contents by looping through all the files in a directory, performing a regular expression leaving you with only the content you desire, and handling the result with various conditional statements. Any real programming language should do the trick. The hardest part with be up to on what you are doing with the HTML within the files. Are you stripping it to reveal only the contents, or are you some how using the HTML be apart of the content?

HTML merely gives context to content inside the tags so a machine can better understand the humans intent. So to search the content, you should be able to remove the HTML, only to be left with the stuff that matter. You could parse out heads, footer and particular tags you don't need. Once the markup is stripped, you could save it to a database record and do real queries within it. There are a lot of ways to do what you are after, none of which I know how to do without writing a script. I am sure there is some program, but I don't know about it.


Extras: Filter Print Post Top
Offlinedoses
Obsessive Purist
Male


Registered: 11/21/10
Posts: 1,049
Last seen: 9 years, 5 months
Re: Searching Saved HTMLs [Re: daytripper05]
    #14000939 - 02/21/11 12:07 PM (12 years, 11 months ago)

:niggawhat:


--------------------
:atom: :tripmolecule: :lsdabc: :tripmolecule: :atom:


Extras: Filter Print Post Top
Invisiblefrith
God

Registered: 10/27/09
Posts: 7,512
Loc: Philadelphia, PA Flag
Re: Searching Saved HTMLs [Re: doses]
    #14001385 - 02/21/11 01:21 PM (12 years, 11 months ago)

what OS do you use?


--------------------


Extras: Filter Print Post Top
Offlinedoses
Obsessive Purist
Male


Registered: 11/21/10
Posts: 1,049
Last seen: 9 years, 5 months
Re: Searching Saved HTMLs [Re: frith]
    #14001481 - 02/21/11 01:33 PM (12 years, 11 months ago)

Windows 7


--------------------
:atom: :tripmolecule: :lsdabc: :tripmolecule: :atom:


Extras: Filter Print Post Top
Invisibledaytripper05
Psychonaut
Male User Gallery


Folding@home Statistics
Registered: 10/30/06
Posts: 6,962
Loc: In my garden
Re: Searching Saved HTMLs [Re: doses]
    #14001684 - 02/21/11 02:03 PM (12 years, 11 months ago)

Grep is an extremely powerful tool and could likely do what you are looking for, but I am not too familiar with advanced grep syntax. Grep is on Linux and like systems.


Extras: Filter Print Post Top
Invisiblefrith
God

Registered: 10/27/09
Posts: 7,512
Loc: Philadelphia, PA Flag
Re: Searching Saved HTMLs [Re: daytripper05]
    #14002043 - 02/21/11 02:56 PM (12 years, 11 months ago)

doesnt Win7 have an indexing type search like OSX or Linux? i find that odd that it wouldnt be in there. its pretty much a standard feature nowadays.


--------------------


Extras: Filter Print Post Top
Invisibledaytripper05
Psychonaut
Male User Gallery


Folding@home Statistics
Registered: 10/30/06
Posts: 6,962
Loc: In my garden
Re: Searching Saved HTMLs [Re: frith]
    #14002097 - 02/21/11 03:08 PM (12 years, 11 months ago)

I thought they did because like you said, it's standard these days.

I figured he would be able to search the contents just fine with Windows search.


Extras: Filter Print Post Top
InvisibleCosmicJokeM
happy mutant
 User Gallery


Registered: 04/05/00
Posts: 10,848
Loc: Portland, OR
Re: Searching Saved HTMLs [Re: daytripper05]
    #14004017 - 02/21/11 09:18 PM (12 years, 11 months ago)

depending on where the folders are stored, may have to add them to be indexed (somewhere in control panel, poke around for it)


--------------------
Everything is better than it was the last time.  I'm good.

If we could look into each others hearts, and understand the unique challenges each of us faces, I think we would treat each other much more gently, with more love, patience, tolerance, and care.

It takes a lot of courage to go out there and radiate your essence.

I know you scared, you should ask us if we scared too.  If you was there, and we just knew you cared too.


Extras: Filter Print Post Top
Jump to top Pages: 1

Kraken Kratom Shop: Red Vein Kratom


Similar ThreadsPosterViewsRepliesLast post
* cool web search NewfoundFreedom 1,547 18 09/20/04 11:14 PM
by ChingChong
* hemp could save the world mabus 776 3 02/29/04 03:18 AM
by llamaboy
* Searching for archived sites? forevadazin 687 6 12/02/04 10:29 PM
by MarioNett
* Installing XP and want to save emails Mojo_Risin 792 5 04/22/04 01:20 PM
by Seuss
* Annoying Search-Aid.com Joshua 665 2 04/19/04 09:34 PM
by Joshua
* Argh! Help me save my music! deafpanda 596 2 09/07/04 07:34 AM
by debianlinux
* Need HTML Help Redstorm 913 4 10/29/03 02:51 PM
by MetaShroom
* cant right click and save anything , please help,its very annoying. DistortedEyes 1,101 10 01/11/05 07:54 PM
by DistortedEyes

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
515 topic views. 0 members, 0 guests and 2 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.026 seconds spending 0.007 seconds on 14 queries.