Welcome to openkapow Sign in | Join
.

How to compare a tag to an attribute?

  •  02-23-2007, 12:46 AM

    How to compare a tag to an attribute?

    I hope someone can help me, because I am stuck.

    I am looping through some tags which I can find easily. At each step, I want to compare the text delimited by this tag to another text I stored in the RSSItem.rights attribute.

    If the first string (the tag text) is contained in the second one (the RSSItem.rights), then do action_X and continue looping, else just continue looping.

    I cannot get to do this, so 2 questions about how to do this:

    - How can I compare the tag text to the value stored in an RSSItem ? I tried Test tag, but I can only specify a pattern, and RSSItem.rights does not seem to be recognized when I use it in the pattern. What am I doing wrong? I cannot see any menu relating to attributes in the pattern window!

    - Action says: "Stop if Pattern matches found tag" or "Continue if Pattern matches found tag". I do not want to do either, I just want to do "Do next action only if pattern matches last input". In other words, is there something like the classical "if ... then ... else ... endif" in RoboMaker?

     Any help appreciated, thanks.

View Complete Thread
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy