metaparse - understanding timport expressions

alistvideos
Posts: 26
Joined: Tue May 01, 2001 8:58 pm

metaparse - understanding timport expressions

Post by alistvideos »

Hello, I'm using the metaparser in webinator to create a timport expression. I'm using "recexpr" in my search script.
My problem is I can't figure out how to pick which numbers(under "tag") for what I need.

# Name Type Tag
field Link varchar(40) 5
field Title varchar(80) 8
field Abstract varchar(180) 12


I read up on timport expressions and also on recexpr & rex subexpressions - but still I don't understand?? Can you explain how I can determine what numbers mean in the timport expression.

(This is the timport expression for excite.com above and it works. I'm trying to add more search engines to my results page.)

Thanks, Paul
alistvideos
Posts: 26
Joined: Tue May 01, 2001 8:58 pm

metaparse - understanding timport expressions

Post by alistvideos »

Hello, I'm using the metaparser in webinator to create a timport expression. I'm using "recexpr" in my search script.
My problem is I can't figure out how to pick which numbers(under "tag") for what I need.

# Name Type Tag
field Link varchar(40) 5
field Title varchar(80) 8
field Abstract varchar(180) 12


I read up on timport expressions and also on recexpr & rex subexpressions - but still I don't understand?? Can you explain how I can determine what numbers mean in the timport expression.

(This is the timport expression for excite.com above and it works. I'm trying to add more search engines to my results page.)

Thanks, Paul
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

metaparse - understanding timport expressions

Post by mark »

You'll notice that the numbers under the rexecpr are in a comment. They are just there to help you find the subexpression number you need to use for the field definitions. The number appears under the repetition operator. It applies to everything between it and the previous number.

If you play around with the numbers you'll see how they work.