PDA

View Full Version : Searching for text...


Mhtml
11-19-2002, 02:06 AM
Ok, now Whammy don't get angry coz I know I posted something like this before....I can't find it.

I have looked at the search engine posts that have been made, if I actually found a way to do this before then I have forgotten it and possibly deleted the product of my work.

So what I'm trying to do is not quite get the <meta> tag data like I think I was trying before but to get values written like this.


<!---

[title = This is the title /]
[db = 0 /]
[txt = 1 /]
[fso = 1 /]
[oth = 0 /]
[diff = 0 /]

--->



Ok so that is the example code, so I'd like to be able to set my variables:
Title
db
txt
fso
other
difficulty

By getting the values from the code placed at the top of the pages which are to be indexed.

What will happen once I get the values is that the title is written to a page and a dot is placed if the tutorial is db txt fso or other related as well as the difficulty.

It is just so that I don't have to update the tutorials index.asp page every time I add a new tutorial.

I already have it dynamically counting the tutorials by using the instr to detect the [tutorial] remark but I can only get that I don't know how to get only the values of the other codes.

whammy
11-19-2002, 03:34 AM
Hmm... that might get kind of involved, I have to think about this tomorrow, I updated 300+ webpages today with credit card processing, lol

Mhtml
11-19-2002, 04:38 AM
Geez, have a rest. That's a lot of pages...:)