keep/ignore tags

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

keep/ignore tags

Post by mark »

Perhaps you can use "exclude by field" to recognize those index pages and Pages only but not Links.
josh104
Posts: 24
Joined: Mon Oct 09, 2006 5:39 pm

keep/ignore tags

Post by josh104 »

I hadn't realized that exclude by field allowed links to be followed - thanks for bringing that to my attention.

The only remaining problem I can see with using exclude by field is that it widens the possibility of false positives/negatives as the site being indexed scales.

But still - it's a far improvement from the situation I thought I was facing. Thanks!!
KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

keep/ignore tags

Post by KMandalia »

I think I have asked this before and it was working for me before as well.

I have multiple keep tags on some web pages. I was told that the webinator will keep contents between each keep tags. I don't have any ingore tags on those pages.

It turns out that webinator is only keeping the last keep tag instead of all of them. Has something changed in recent dowalk scripts?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

keep/ignore tags

Post by mark »

No. That code hasn't been touched in quite a while. Having multiple keep pairs works for me. With content like

abc
<!-- begin index -->
def
<!-- end index -->
ghi
<!-- begin index2 -->
jkl
<!-- end index2 -->
mno

and keep tags of

<!-- begin index --> <!-- end index -->
<!-- begin index2 --> <!-- end index2 -->

The resulting text is "def jkl"
KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

keep/ignore tags

Post by KMandalia »

there goes my issue.

instead of index and index2, I use beginkeep and endkeep multiple times in a page, thinking that every time a keep tag is encountered, content is scrapped and stored in memory while appending to previous content. I was wrong then.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

keep/ignore tags

Post by mark »

No. Using the same tag multiple times also works.

abc
<!-- begin index -->
def
<!-- end index -->
ghi
<!-- begin index -->
jkl
<!-- end index -->
mno

and keep tags of

<!-- begin index --> <!-- end index -->
<!-- begin index2 --> <!-- end index2 -->

The resulting text is "def jkl"
Post Reply