1.

Solve : Please look at this once.?

Answer»

Hello,

I need some help. I am a transcriber and I have a page called History in website, when I click that History, I see all  people name in history who works on website.

so I have to search manually going to each page and look how many I have done daily.

So my question is can someone provide me the batch SCRIPT, which will go through the 1 to 10 pages on execution and count how many I had done till 10 pages.

my ID in that history is 246

I would have shown you the PICTURE for better understanding but when I insert image link in here it shows

so I don't no how to insert picture.
C:\>wc -l history.txt
     320   history.txt

C:\>Maybe you should explain WHERE to get this WC command, before confusing the OP. Quote from: Helpmeh on March 21, 2010, 12:33:34 PM

Maybe you should explain WHERE to get this WC command, before confusing the OP.

Do not make off topic comments.

Provide your own solution for the OP or say nothing.

You may contact me by email. Quote from: greg on March 21, 2010, 01:52:52 PM
Provide your own solution for the OP or say nothing.

Heed your own advice.

your solution works for a text file. not a website. Quote from: akki15623 on March 21, 2010, 08:43:32 AM

So my question is can someone provide me the batch script, which will go through the 1 to 10 pages on execution and count how many I had done till 10 pages.


Several off topic posts but no further suggestions for a solution.

p.s. The skill level here CH is determined by the number of posts.
Expertise is not factored in to DETERMINE skill level.
14,000 posts and not a line of code. Quote from: greg on March 21, 2010, 02:20:25 PM
14,000 posts

... and "greg" shows that he cannot read a simple number. We already know his reading and comprehension skills are howlingly poor. Greg, why don't you just plain *censored* out? Please.

Quote from: Salmon Trout on March 21, 2010, 04:38:33 PM
... and "greg" shows that he cannot read a simple number. We already know his reading and comprehension skills are howlingly poor. Greg, why don't you just plain *censored* out? Please.


The closest person to a post count of 14000 is Carbon Dudeoxide, and he is off by about 1500 posts. Quote from: akki15623 on March 21, 2010, 08:43:32 AM
I need some help. I am a transcriber and I have a page called History in website, when I click that History, I see all  people name in history who works on website.

Eight posts and all except one is off topic nonsense.   No suggestions for a solution.

Good Luck Quote from: akki15623 on March 21, 2010, 08:43:32 AM
Hello,

I need some help. I am a transcriber and I have a page called History in website, when I click that History, I see all  people name in history who works on website.

so I have to search manually going to each page and look how many I have done daily.

So my question is can someone provide me the batch script, which will go through the 1 to 10 pages on execution and count how many I had done till 10 pages.

my ID in that history is 246

I would have shown you the picture for better understanding but when I insert image link in here it shows

so I don't no how to insert picture.

here's how you can do it. get wget for windows here.
then in your batch script, USE a for loop to loop your 10 pages.

from for /?
Code: [Select]FOR /L %variable IN (start,step,end) DO command [command-parameters]

    The set is a sequence of numbers from start to end, by step amount.
    So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would
    generate the sequence (5 4 3 2 1)

you may use set /A to count your id or something (since you didn't provide more info)

pseudocode
Code: [Select]for (  1 to 10 ) do (
  wget  -O- -q <url> | ...<some other command to count your people>
)

and because its a web page, you will have to get your hands dirty to parse and count those people you WANT because there are html tags around which you don't want. In this case, you might want to switch to a language that does these things easily for you eg Python/Perl.... they support HTML libraries that can parse HTML for you with ease.


Discussion

No Comment Found