Em Andamento

Web Log Yahoo Cleanup

There are lines in a web file with the last field as shown below. These all start with [url removed, login to view] Buried in the following string is the phrase people have searched on. This is, in this case, ‘?p=industrial+computer+monitor+and+keyboard+workstation&’ where ‘?p=’ starts the search string’ and ‘&’ ends the string. An example of the entire line is at the end of the email. I bolded the search phrase.

What I want to do is modify the string to put the search phrase after the initial ‘[url removed, login to view]’

[url removed, login to view];_ylt=A0oG7he4B1dSMxEABaVXNyoA;_ylc=X1MDMjc2NjY3OQRfcgMyBGJjawNhbjJpZWV0OTVlMW5yJTI2YiUzRDMlMjZzJTNEZm4EY3NyY3B2aWQDcmRLb0YwZ2V1ckNyaWs1M1VsY0cud09EUUI0MnExSlhCN2dBRFMuUARmcgN5ZnAtdC05MDAEZnIyA3NiLXRvcARncHJpZAMuUWxvV1pBZ1NYLnlOOW9RdVRtOWhBBG5fcnNsdAMxMARuX3N1Z2cDMARvcmlnaW4Dc2VhcmNoLnlhaG9vLmNvbQRwb3MDMARwcXN0cgMEcHFzdHJsAwRxc3RybAM1MgRxdWVyeQNpbmR1c3RyaWFsIGNvbXB1dGVyIG1vbml0b3IgYW5kIGtleWJvYXJkIHdvcmtzdGF0aW9uBHRfc3RtcAMxMzgxNDM1NTE2MTA0BHZ0ZXN0aWQDVklQMzE1?p=industrial+computer+monitor+and+keyboard+workstation&fr2=sb-top&fr=yfp-t-900&vm=r

becomes

[url removed, login to view]+computer+monitor+and+keyboard+workstation&;_ylt=A0oG7he4B1dSMxEABaVXNyo

So the program fines the search phrase and puts it at the front between ‘?q=’ and ‘&’.

There is also a few lines like the following for mobile devices.

[url removed, login to view]+computer+for+military&pintl=en&fr=onesearch

These would be written as

[url removed, login to view]+bedt+computer+for+military&pintl=en&fr=onesearch

So the program would replace the word “mobile” with “search” and put “mobile” in front of the search phrase, which you’ve moved to the front between ‘?q=’ and ‘&’.

An example line from the log file is:

[url removed, login to view] - BING [10/Oct/2013:20:06:11 +0000] "GET /MSN/[url removed, login to view]+computer+monitor-broad HTTP/1.1" 200 56516 "[url removed, login to view];_ylt=A0oG7he4B1dSMxEABaVXNyoA;_ylc=X1MDMjc2NjY3OQRfcgMyBGJjawNhbjJpZWV0OTVlMW5yJTI2YiUzRDMlMjZzJTNEZm4EY3NyY3B2aWQDcmRLb0YwZ2V1ckNyaWs1M1VsY0cud09EUUI0MnExSlhCN2dBRFMuUARmcgN5ZnAtdC05MDAEZnIyA3NiLXRvcARncHJpZAMuUWxvV1pBZ1NYLnlOOW9RdVRtOWhBBG5fcnNsdAMxMARuX3N1Z2cDMARvcmlnaW4Dc2VhcmNoLnlhaG9vLmNvbQRwb3MDMARwcXN0cgMEcHFzdHJsAwRxc3RybAM1MgRxdWVyeQNpbmR1c3RyaWFsIGNvbXB1dGVyIG1vbml0b3IgYW5kIGtleWJvYXJkIHdvcmtzdGF0aW9uBHRfc3RtcAMxMzgxNDM1NTE2MTA0BHZ0ZXN0aWQDVklQMzE1?p=industrial+computer+monitor+and+keyboard+workstation&fr2=sb-top&fr=yfp-t-900&vm=r" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR [url removed, login to view]; .NET CLR [url removed, login to view]; .NET CLR [url removed, login to view]; Media Center PC 6.0; InfoPath.3; .NET CLR [url removed, login to view]; .[url removed, login to view]; .[url removed, login to view])"

Habilidades: Programação C

Ver mais: vm where, vm email, programming mobile web, programming keyboards, programming center, mobile web programming, html computer programming, first computer programming, computer programming html, yahoo web search, search yahoo, web q, media center, infopath, clr, infopath html, log bing, google log, mobile log, yahoo bing google, programming web, windows log monitor, computer monitor, yahoo log, net infopath

Acerca do Empregador:
( 24 comentários ) San Diego, United States

ID do Projeto: #5133181

Premiar a:

RuslanKovtun

Is it enhancement or another program? As I saw in last email it have few additional fields at the beginning, perhaps is it original info from .xlsx.

$30 USD em 4 dias
(2 Avaliações)
2.0

3 freelancers estão ofertando em média $30 para este trabalho

hy1cho

It can be done in an hour. The program will take a log file (of web server) as input and print urls as adjusted as you described.

$25 USD in 10 dias
(2 Comentários)
1.9
FlorinSelles

Hi friend, I can do what you want in 2 days. But tell me, it has to be made forced in C, can't I use other lenguage like C#, but if not, I can do it without problems in C, so tell me when do I start.

$35 USD in 2 dias
(0 Comentários)
0.0