Hi Guys, One item could have been written in only one language, as below:
Or, it could have been written in 2, 3, 4 or whatever. The example show a two example.
How can I take care of this pattern?
Thanks a lot, Carlos.
Here is the script: import com.screenscraper.common.*; DataSet allAdmins = scrapeableFile.extractData( dataRecord.get("ADMINS"), "EXTRACT" );
// Open up the file to be appended to. out = new FileWriter( "teste.txt", true );
//write them down out.write( session.getVariable("allAdmins") + "\t" ); out.write( "\n" ); out.write( "\n" );
out.close();
Here is the extractor pattern for admins:
"EXTRACT" Extractor Pattern: ~@LANG@~
Now, some questions:
*Anything wrong in the way I coded? *What should I expect to find in allAdmins? A matrix? *Does this work only in the professional edition?
Thanks again, Carlos.
Does it work only in the professional edition?
Thanks for your help!
I think I understand the logic. However, I'm still not confident of what would be in the second_extractor_patttern. Can you do it in the above html code? That's the real one.
I really appreciate it!
Carlos.
I couldn't make it work. I think I need a subpattern of a subpattern. Does it exist?
Thanks, Carlos.
1 or many sub-items of an item
Here is the script:
import com.screenscraper.common.*;
DataSet allAdmins = scrapeableFile.extractData( dataRecord.get("ADMINS"), "EXTRACT" );
// Open up the file to be appended to.
out = new FileWriter( "teste.txt", true );
//write them down
out.write( session.getVariable("allAdmins") + "\t" );
out.write( "\n" );
out.write( "\n" );
out.close();
Here is the extractor pattern for admins:
"EXTRACT" Extractor Pattern:
~@LANG@~
Now, some questions:
*Anything wrong in the way I coded?
*What should I expect to find in allAdmins? A matrix?
*Does this work only in the professional edition?
Thanks again,
Carlos.
1 or many sub-items of an item
Does it work only in the professional edition?
1 or many sub-items of an item
Thanks for your help!
I think I understand the logic. However, I'm still not confident of what would be in the second_extractor_patttern. Can you do it in the above html code? That's the real one.
I really appreciate it!
Carlos.
1 or many sub-items of an item
I couldn't make it work.
I think I need a subpattern of a subpattern. Does it exist?
Thanks,
Carlos.